summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Starshatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Starshatter.cpp')
-rw-r--r--StarsEx/Starshatter.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/StarsEx/Starshatter.cpp b/StarsEx/Starshatter.cpp
index 415a04b..cc36461 100644
--- a/StarsEx/Starshatter.cpp
+++ b/StarsEx/Starshatter.cpp
@@ -789,43 +789,6 @@ Starshatter::KeyDown(int action) const
// +--------------------------------------------------------------------+
-bool
-Starshatter::GameLoop()
-{
- cam_dir = CameraDirector::GetInstance();
-
- if (active && paused) {
- // Route Events to EventTargets
- EventDispatch* ed = EventDispatch::GetInstance();
- if (ed)
- ed->Dispatch();
-
- UpdateWorld();
- GameState();
- UpdateScreen();
-
- /***
- static DWORD vmf_time = 0;
-
- if (real_time() - vmf_time > 5000) {
- vmf_time = real_time();
- DWORD vmf = video->VidMemFree() / (1024 * 1024);
- ::Print("\n###### %02d:%02d - Video Memory Free: %d MB\n\n",
- vmf_time / 60000,
- vmf_time / 1000,
- vmf);
- }
- ***/
- }
-
- Game::GameLoop();
- return false; // must return false to keep processing
- // true tells the outer loop to sleep until a
- // windows event is available
-}
-
-// +--------------------------------------------------------------------+
-
void
Starshatter::UpdateWorld()
{