projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added some more debug output for triggered global animations
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 7b45b057fd7e894a5629dbb7b0599a3e3b491877..8bcafb8269c1517ecaf30a8734f9db2668059351 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-357,7
+357,14
@@
#define ANIM_EVENT_NONE 0
#define ANIM_EVENT_SELF (1 << 16)
#define ANIM_EVENT_ANY (1 << 17)
#define ANIM_EVENT_NONE 0
#define ANIM_EVENT_SELF (1 << 16)
#define ANIM_EVENT_ANY (1 << 17)
-
+#define ANIM_EVENT_CLICK (1 << 18)
+#define ANIM_EVENT_INIT (1 << 19)
+#define ANIM_EVENT_START (1 << 20)
+#define ANIM_EVENT_END (1 << 21)
+#define ANIM_EVENT_POST (1 << 22)
+
+// anim number: bits 0-7
+// part number: bits 8-15
#define ANIM_EVENT_ANIM_BIT 0
#define ANIM_EVENT_PART_BIT 8
#define ANIM_EVENT_ANIM_BIT 0
#define ANIM_EVENT_PART_BIT 8