mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
* Fixing upper/lower case for includes types.h, zconf.h and zlib.h were renamed so that global includes like Types.h are not used.
27 lines
527 B
C
27 lines
527 B
C
#ifndef __GAMELOOP_
|
|
#define __GAMELOOP_
|
|
|
|
#include "types.h"
|
|
|
|
// main game loop systems
|
|
#define INIT_SYSTEM 0
|
|
|
|
#define NO_PENDING_SCREEN 0xFFFF
|
|
|
|
|
|
extern BOOLEAN InitializeGame(void);
|
|
extern void ShutdownGame(void);
|
|
extern void GameLoop(void);
|
|
|
|
// handle exit from game due to shortcut key
|
|
void HandleShortCutExitState( void );
|
|
|
|
void SetPendingNewScreen( UINT32 uiNewScreen );
|
|
|
|
#ifdef USE_HIGHSPEED_GAMELOOP_TIMER
|
|
struct InputAtom;
|
|
void HandleDefaultEvent(InputAtom *Event);
|
|
#endif
|
|
|
|
#endif
|