projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed getting level position after laser hits something in MM engine
[rocksndiamonds.git]
/
src
/
events.h
diff --git
a/src/events.h
b/src/events.h
index 1294689fe413128d32eb20d69840261f993aaed8..3887f3fdb5d1b4346fb13cb913d90ac325d94fc3 100644
(file)
--- a/
src/events.h
+++ b/
src/events.h
@@
-4,7
+4,7
@@
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
-// http://www.artsoft.org/
+// http
s
://www.artsoft.org/
// ----------------------------------------------------------------------------
// events.h
// ============================================================================
// ----------------------------------------------------------------------------
// events.h
// ============================================================================
@@
-14,7
+14,18
@@
#include "main.h"
#include "main.h"
+
+#define USEREVENT_NONE 0
+#define USEREVENT_ANIM_DELAY_ACTION 1
+#define USEREVENT_ANIM_EVENT_ACTION 2
+#define USEREVENT_GADGET_PRESSED 3
+
+
+void SetPlayfieldMouseCursorEnabled(boolean);
+
+int FilterMouseMotionEvents(void *, Event *);
boolean NextValidEvent(Event *);
boolean NextValidEvent(Event *);
+void StopProcessingEvents(void);
void EventLoop(void);
void HandleOtherEvents(Event *);
void EventLoop(void);
void HandleOtherEvents(Event *);
@@
-32,6
+43,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);