WINTERMUTE: Split the timers from BaseGame into a separate class.

This commit is contained in:
Einar Johan Trøan Sømåen 2013-04-18 12:10:40 +02:00
parent 7ee757366b
commit 8f25b651e8
23 changed files with 196 additions and 62 deletions

View file

@ -42,6 +42,7 @@ class BaseGame;
class BaseSoundMgr;
class BaseRenderer;
class SystemClassRegistry;
class Timer;
class BaseEngine : public Common::Singleton<Wintermute::BaseEngine> {
void init(Common::Language lang);
BaseFileManager *_fileManager;
@ -64,6 +65,8 @@ public:
BaseFileManager *getFileManager() { return _fileManager; }
BaseSoundMgr *getSoundMgr();
BaseRenderer *getRenderer();
static const Timer *getTimer();
static const Timer *getLiveTimer();
static void LOG(bool res, const char *fmt, ...);
const char *getGameId() { return _gameId.c_str(); }
};