X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fcartoons.h;h=2b7680d113c528660ad15dca189b35c6a5e46153;hp=0cfd8c123d3d8ce5e6683d3d74c9f4174a1caedf;hb=f78f30b84a0345ea31b30c5bd95e338c9d9ebd4b;hpb=1446af0fb66276d75bd2ce82d368292283e555aa diff --git a/src/cartoons.h b/src/cartoons.h index 0cfd8c12..2b7680d1 100644 --- a/src/cartoons.h +++ b/src/cartoons.h @@ -1,19 +1,32 @@ -/*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * -*----------------------------------------------------------* -* (c) 1995-2001 Artsoft Entertainment * -* Holger Schemel * -* Detmolder Strasse 189 * -* 33604 Bielefeld * -* Germany * -* e-mail: info@artsoft.org * -*----------------------------------------------------------* -* cartoons.h * -***********************************************************/ +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2014 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// http://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// cartoons.h +// ============================================================================ #ifndef CARTOONS_H #define CARTOONS_H + +/* values for global animations */ +#define ANIM_STATE_INACTIVE 0 +#define ANIM_STATE_RESTART (1 << 0) +#define ANIM_STATE_WAITING (1 << 1) +#define ANIM_STATE_RUNNING (1 << 2) + + void InitToons(void); +void InitGlobalAnimations(void); + +void DrawGlobalAnim(int); + +void InitAnimation(void); +void StopAnimation(void); +void DoAnimation(void); #endif