From 840f9b8678f607aecc15d47bc77248c4ac8b8574 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 4 Feb 2008 00:54:30 +0000 Subject: tweaked console client status with timer and fps core connect/disconnect --- src/core/gameinterface.cc | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'src/core/gameinterface.cc') 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; -} - } -- cgit v1.2.3