mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
o See: builddefines.h: #define USE_HIGHSPEED_GAMELOOP_TIMER o Gamers reported on the Bears Pit, that an executable compiled WITH the highspeed timer enabled makes the game unplayable slow in mapscreen mode when doing certain actions (repair, ...). That is the reason, why I made the compilation of the highspeed timer optional. Currently it is disabled. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5355 3b4a5df2-a311-0410-b5c6-a8a6f20db521
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
|