X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fcartoons.h;h=a2dd0602d256459d645edaf75a0d8fd0fcdf9236;hb=8ae535c1c76e1c33572afbcd4b2d3d9c3d7ba63e;hp=b3c20192d88acb42b7b86424aa3403187619422f;hpb=abe44529b439ad39b4d8dbf19cbd67c9b9844279;p=rocksndiamonds.git diff --git a/src/cartoons.h b/src/cartoons.h index b3c20192..a2dd0602 100644 --- a/src/cartoons.h +++ b/src/cartoons.h @@ -12,6 +12,20 @@ #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 DrawGlobalAnim(int); + +void InitAnimation(void); +void StopAnimation(void); +void DoAnimation(void); + #endif