projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added drawing global animations below and above masked screen border
[rocksndiamonds.git]
/
src
/
cartoons.h
diff --git
a/src/cartoons.h
b/src/cartoons.h
index b3c20192d88acb42b7b86424aa3403187619422f..a2dd0602d256459d645edaf75a0d8fd0fcdf9236 100644
(file)
--- a/
src/cartoons.h
+++ b/
src/cartoons.h
@@
-12,6
+12,20
@@
#ifndef CARTOONS_H
#define CARTOONS_H
#ifndef CARTOONS_H
#define CARTOONS_H
+
+/* values for global animations */
+#define ANIM_STATE_INACTIVE 0
+#define ANIM_STATE_RESTART (1 << 0)
+#define ANIM_STATE_WAITING (1 << 1)
+#define ANIM_STATE_RUNNING (1 << 2)
+
+
void InitToons(void);
void InitToons(void);
+void DrawGlobalAnim(int);
+
+void InitAnimation(void);
+void StopAnimation(void);
+void DoAnimation(void);
+
#endif
#endif