diff options
-rw-r--r-- | Stars45/Game.cpp | 7 | ||||
-rw-r--r-- | Stars45/Game.h | 3 |
2 files changed, 1 insertions, 9 deletions
diff --git a/Stars45/Game.cpp b/Stars45/Game.cpp index e7fcf7f..ad364d7 100644 --- a/Stars45/Game.cpp +++ b/Stars45/Game.cpp @@ -836,7 +836,7 @@ Game::Run() DispatchMessage(&msg); } else { - if (ProfileGameLoop()) + if (GameLoop()) WaitMessage(); } } @@ -897,11 +897,6 @@ Game::Pause(bool f) // +--------------------------------------------------------------------+ -bool ProfileGameLoop(void) -{ - return game->GameLoop(); -} - bool Game::GameLoop() { diff --git a/Stars45/Game.h b/Stars45/Game.h index 557fc7c..aade28b 100644 --- a/Stars45/Game.h +++ b/Stars45/Game.h @@ -24,8 +24,6 @@ int GetKey(); int GetKeyPlus(int& key, int& shift); void ProcessKeyMessage(); -extern "C" bool ProfileGameLoop(void); - // +--------------------------------------------------------------------+ class ContentBundle; @@ -135,7 +133,6 @@ public: virtual void ShowStats(); protected: - friend bool ProfileGameLoop(void); friend LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM uParam, LPARAM lParam); ContentBundle* content; |