From cdbc892c80a42bf0bbd3559831eb9675b5f019f4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 2 Jan 2006 00:17:42 +0000 Subject: Encapsulate the event queue code properly. Add a D_PopEvent function to read a new event from the event queue. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 241 --- src/d_event.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/d_event.h') diff --git a/src/d_event.h b/src/d_event.h index ed02f4ab..0fba28f5 100644 --- a/src/d_event.h +++ b/src/d_event.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: d_event.h 8 2005-07-23 16:44:57Z fraggle $ +// $Id: d_event.h 241 2006-01-02 00:17:42Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -112,11 +112,6 @@ typedef enum // // GLOBAL VARIABLES // -#define MAXEVENTS 64 - -extern event_t events[MAXEVENTS]; -extern int eventhead; -extern int eventtail; extern gameaction_t gameaction; @@ -125,6 +120,10 @@ extern gameaction_t gameaction; //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.3 2006/01/02 00:17:41 fraggle +// Encapsulate the event queue code properly. Add a D_PopEvent function +// to read a new event from the event queue. +// // Revision 1.2 2005/07/23 16:44:55 fraggle // Update copyright to GNU GPL // -- cgit v1.2.3