X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fcartoons.h;h=612c6a3451e20c3f4f604c6f175e16ad29c6aaa8;hb=abf8e6bd629101604d463aa8f669b9a5c879440a;hp=a0290d1b3ca5d7324a82f8cd371c375b4364857b;hpb=29519e4b412b6fd0b2a18145f010f53ca09fa456;p=rocksndiamonds.git diff --git a/src/cartoons.h b/src/cartoons.h index a0290d1b..612c6a34 100644 --- a/src/cartoons.h +++ b/src/cartoons.h @@ -12,12 +12,17 @@ #ifndef CARTOONS_H #define CARTOONS_H -void InitToons(void); -void DrawGlobalAnim(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 InitAnimation(void); -void StopAnimation(void); -void DoAnimation(void); +void DrawGlobalAnim(int); #endif