WINTERMUTE: Split the timers from BaseGame into a separate class.
This commit is contained in:
parent
7ee757366b
commit
8f25b651e8
23 changed files with 196 additions and 62 deletions
|
@ -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(); }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue