forked from Mirrors/openclonk
C4Application: Remove unused flag IsInGameTick
parent
56fa6ca157
commit
71f8cb0699
|
@ -53,7 +53,6 @@ C4Application::C4Application():
|
|||
QuitAfterGame(false),
|
||||
CheckForUpdates(false),
|
||||
restartAtEnd(false),
|
||||
is_in_game_tick(false),
|
||||
pGamePadControl(nullptr),
|
||||
AppState(C4AS_None),
|
||||
pGameTimer(nullptr)
|
||||
|
@ -669,7 +668,6 @@ void C4Application::QuitGame()
|
|||
|
||||
void C4Application::GameTick()
|
||||
{
|
||||
is_in_game_tick = true;
|
||||
// Exec depending on game state
|
||||
switch (AppState)
|
||||
{
|
||||
|
@ -743,7 +741,6 @@ void C4Application::GameTick()
|
|||
if (pGamePadControl) pGamePadControl->Execute();
|
||||
break;
|
||||
}
|
||||
is_in_game_tick = false;
|
||||
}
|
||||
|
||||
void C4Application::Draw()
|
||||
|
|
|
@ -36,8 +36,6 @@ public:
|
|||
~C4Application();
|
||||
// Flag for restarting the engine at the end
|
||||
bool restartAtEnd;
|
||||
// Flag set during game tick
|
||||
bool is_in_game_tick;
|
||||
// main System.ocg in working folder
|
||||
C4Group SystemGroup;
|
||||
C4MusicSystem MusicSystem;
|
||||
|
@ -52,7 +50,6 @@ public:
|
|||
void ClearCommandLine();
|
||||
// Tick timing
|
||||
void GameTick();
|
||||
bool IsInGameTick() const { return is_in_game_tick; }
|
||||
void Draw();
|
||||
// System.ocg helper funcs
|
||||
bool OpenSystemGroup() { return SystemGroup.IsOpen() || SystemGroup.Open(C4CFN_System); }
|
||||
|
|
Loading…
Reference in New Issue