projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added global animation actions executed after init/anim/post delay
[rocksndiamonds.git]
/
src
/
events.h
diff --git
a/src/events.h
b/src/events.h
index 1294689fe413128d32eb20d69840261f993aaed8..823670bcc124d20c81f3136781cbad413fc0a0f4 100644
(file)
--- a/
src/events.h
+++ b/
src/events.h
@@
-14,6
+14,12
@@
#include "main.h"
#include "main.h"
+
+#define USEREVENT_NONE 0
+#define USEREVENT_ANIM_DELAY_ACTION 1
+#define USEREVENT_ANIM_EVENT_ACTION 2
+
+
boolean NextValidEvent(Event *);
void EventLoop(void);
boolean NextValidEvent(Event *);
void EventLoop(void);
@@
-32,6
+38,7
@@
void HandlePauseResumeEvent(PauseResumeEvent *);
boolean HandleKeysDebug(Key, int);
void HandleKeyEvent(KeyEvent *);
void HandleDropEvent(Event *);
boolean HandleKeysDebug(Key, int);
void HandleKeyEvent(KeyEvent *);
void HandleDropEvent(Event *);
+void HandleUserEvent(UserEvent *);
void HandleToonAnimations(void);
void HandleToonAnimations(void);