From bd24acb3d7e02c7d9700cf8e2a89ceeb7ea6bcca Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 14 Feb 2016 23:41:59 +0100 Subject: [PATCH] improved definition of constants for toon animations --- src/cartoons.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 { -- 2.34.1