diff options
Diffstat (limited to 'engines/wintermute/base/base_engine.h')
-rw-r--r-- | engines/wintermute/base/base_engine.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/wintermute/base/base_engine.h b/engines/wintermute/base/base_engine.h index 1ed0e3ab01..d972e6ebbc 100644 --- a/engines/wintermute/base/base_engine.h +++ b/engines/wintermute/base/base_engine.h @@ -39,7 +39,10 @@ namespace Wintermute { class BaseFileManager; class BaseRegistry; class BaseGame; +class BaseSoundMgr; +class BaseRenderer; class SystemClassRegistry; +class Timer; class BaseEngine : public Common::Singleton<Wintermute::BaseEngine> { void init(Common::Language lang); BaseFileManager *_fileManager; @@ -57,9 +60,13 @@ public: Common::RandomSource *getRandomSource() { return _rnd; } uint32 randInt(int from, int to); - SystemClassRegistry *getClassRegistry(){ return _classReg; } + SystemClassRegistry *getClassRegistry() { return _classReg; } BaseGame *getGameRef() { return _gameRef; } BaseFileManager *getFileManager() { return _fileManager; } + BaseSoundMgr *getSoundMgr(); + static 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(); } }; |