From: Holger Schemel Date: Sun, 14 Feb 2016 22:41:59 +0000 (+0100) Subject: improved definition of constants for toon animations X-Git-Tag: 4.0.0.0-rc1~67 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=bd24acb3d7e02c7d9700cf8e2a89ceeb7ea6bcca improved definition of constants for toon animations --- 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 {