Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-03 01:43:03 +0000
committerStijn Buys <ingar@osirion.org>2008-02-03 01:43:03 +0000
commitb4973888aeaea2dde6058bc06c3f6631349e7f3c (patch)
tree010de10692b330d7634ad3090fb94d14c101f484 /src/core/gameinterface.h
parent67f8a7a783e550cab8e6a77d997b31815ee8cd7e (diff)
command buffer handling
engine function parsing buffered client console
Diffstat (limited to 'src/core/gameinterface.h')
-rw-r--r--src/core/gameinterface.h10
1 files changed, 7 insertions, 3 deletions
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;
};
}