X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fcartoons.c;h=42864403a720b9c9acd0485f8f6c45d6067b51ce;hp=d77c476422197fcda110a66dd80bb9e0ef282d7c;hb=bd24acb3d7e02c7d9700cf8e2a89ceeb7ea6bcca;hpb=c85a859528058e8a3592d9da1c38164005c5aba0 diff --git a/src/cartoons.c b/src/cartoons.c index d77c4764..42864403 100644 --- a/src/cartoons.c +++ b/src/cartoons.c @@ -14,10 +14,15 @@ #include "tools.h" -/* values for global animation definition */ -#define NUM_GLOBAL_ANIMS_AND_TOONS (NUM_GLOBAL_ANIMS + 1) +/* values for global toon animation definition */ +#define NUM_GLOBAL_TOON_ANIMS 1 +#define NUM_GLOBAL_TOON_PARTS MAX_NUM_TOONS + +/* values for global animation definition (including toons) */ +#define NUM_GLOBAL_ANIMS_AND_TOONS (NUM_GLOBAL_ANIMS + \ + NUM_GLOBAL_TOON_ANIMS) #define NUM_GLOBAL_ANIM_PARTS_AND_TOONS MAX(NUM_GLOBAL_ANIM_PARTS_ALL, \ - MAX_NUM_TOONS) + NUM_GLOBAL_TOON_PARTS) struct GlobalAnimPartControlInfo {