diff options
Diffstat (limited to 'src/d_event.h')
-rw-r--r-- | src/d_event.h | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/src/d_event.h b/src/d_event.h index 4578870f..da3ee926 100644 --- a/src/d_event.h +++ b/src/d_event.h @@ -55,22 +55,6 @@ typedef struct } event_t; -typedef enum -{ - ga_nothing, - ga_loadlevel, - ga_newgame, - ga_loadgame, - ga_savegame, - ga_playdemo, - ga_completed, - ga_victory, - ga_worlddone, - ga_screenshot -} gameaction_t; - - - // // Button/action code definitions. // @@ -107,11 +91,13 @@ typedef enum -// -// GLOBAL VARIABLES -// +// Called by IO functions when input is detected. +void D_PostEvent (event_t *ev); -extern gameaction_t gameaction; +// Read an event from the event queue + +event_t *D_PopEvent(void); #endif + |