diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-04 00:54:30 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-04 00:54:30 +0000 |
commit | 840f9b8678f607aecc15d47bc77248c4ac8b8574 (patch) | |
tree | f90688ca7afabb8e4123e1a811dd168a86717a3c /src/core/gameinterface.cc | |
parent | 43b994017a560a2fa97894ebfe121375d6614b6f (diff) |
tweaked console
client status with timer and fps
core connect/disconnect
Diffstat (limited to 'src/core/gameinterface.cc')
-rw-r--r-- | src/core/gameinterface.cc | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/core/gameinterface.cc b/src/core/gameinterface.cc index ac5209b..86e8556 100644 --- a/src/core/gameinterface.cc +++ b/src/core/gameinterface.cc @@ -21,7 +21,7 @@ GameInterface::GameInterface() exit(2); } gameinterface_instance = this; - game_ready = false; + connected = false; } GameInterface::~GameInterface() @@ -34,29 +34,4 @@ GameInterface *GameInterface::instance() return gameinterface_instance; } -void GameInterface::init() -{ - game_ready = true; -} - -void GameInterface::shutdown() -{ - game_ready = false; -} - -bool GameInterface::ready() const -{ - return game_ready; -} - -float GameInterface::time() const -{ - return current_time; -} - -void GameInterface::frame (float seconds) -{ - current_time += seconds; -} - } |