projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c85a859
)
improved definition of constants for toon animations
author
Holger Schemel
<info@artsoft.org>
Sun, 14 Feb 2016 22:41:59 +0000
(23:41 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 14 Feb 2016 22:41:59 +0000
(23:41 +0100)
src/cartoons.c
patch
|
blob
|
history
diff --git
a/src/cartoons.c
b/src/cartoons.c
index d77c476422197fcda110a66dd80bb9e0ef282d7c..42864403a720b9c9acd0485f8f6c45d6067b51ce 100644
(file)
--- a/
src/cartoons.c
+++ b/
src/cartoons.c
@@
-14,10
+14,15
@@
#include "tools.h"
#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, \
#define NUM_GLOBAL_ANIM_PARTS_AND_TOONS MAX(NUM_GLOBAL_ANIM_PARTS_ALL, \
-
MAX_NUM_TOON
S)
+
NUM_GLOBAL_TOON_PART
S)
struct GlobalAnimPartControlInfo
{
struct GlobalAnimPartControlInfo
{