From b4973888aeaea2dde6058bc06c3f6631349e7f3c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 3 Feb 2008 01:43:03 +0000 Subject: command buffer handling engine function parsing buffered client console --- src/core/gameinterface.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/core/gameinterface.h') diff --git a/src/core/gameinterface.h b/src/core/gameinterface.h index 3bd887c..622aaf5 100644 --- a/src/core/gameinterface.h +++ b/src/core/gameinterface.h @@ -1,5 +1,5 @@ /* - core/game.h + core/gameinterface.h This file is part of the Osirion project and is distributed under the terms of the GNU General Public License version 2 */ @@ -21,10 +21,10 @@ public: virtual ~GameInterface(); /// initialize the game - virtual void init() = 0; + virtual void init(); /// shutdown the game - virtual void shutdown() = 0; + virtual void shutdown(); /// run one frame of the game /** @param sec time since the previous frame, in seconds @@ -34,9 +34,13 @@ public: /// a pointer to the current game instance static GameInterface * instance(); + /// state of the game + bool ready(); + private: /// game singleton static GameInterface *gameinterface_instance; + bool game_ready; }; } -- cgit v1.2.3