diff options
Diffstat (limited to 'src/d_main.h')
-rw-r--r-- | src/d_main.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/d_main.h b/src/d_main.h index bcc2d6ae..c227cddc 100644 --- a/src/d_main.h +++ b/src/d_main.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: d_main.h 18 2005-07-23 18:56:07Z fraggle $ +// $Id: d_main.h 241 2006-01-02 00:17:42Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,10 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2006/01/02 00:17:42 fraggle +// Encapsulate the event queue code properly. Add a D_PopEvent function +// to read a new event from the event queue. +// // Revision 1.3 2005/07/23 18:56:07 fraggle // Remove unneccessary pragmas // @@ -62,7 +66,11 @@ void D_AddFile (char *file); void D_DoomMain (void); // Called by IO functions when input is detected. -void D_PostEvent (event_t* ev); +void D_PostEvent (event_t *ev); + +// Read an event from the event queue + +event_t *D_PopEvent(void); |