X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fcartoons.h;h=612c6a3451e20c3f4f604c6f175e16ad29c6aaa8;hb=ae3b4e39699426588abeb16a6114819652aa2cdb;hp=4e004671ccb83e515efab2ba458db7420f16ee6f;hpb=681721dddc91bcdaef50002d1e861cc8d484e938;p=rocksndiamonds.git diff --git a/src/cartoons.h b/src/cartoons.h index 4e004671..612c6a34 100644 --- a/src/cartoons.h +++ b/src/cartoons.h @@ -1,21 +1,28 @@ -/*********************************************************** -* 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 -void InitAnimation(void); -void StopAnimation(void); -void DoAnimation(void); + +/* 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); #endif