diff options
author | Filippos Karapetis | 2009-07-11 23:45:54 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-07-11 23:45:54 +0000 |
commit | 31a0c8090513023596351174aa48f787ca6384b3 (patch) | |
tree | 56a0bf0b62d543f533fe86e479a7edb080ea548d /engines/sci/sci.h | |
parent | 116d2254119476f58b6b135b7a06a207f38fb5d0 (diff) | |
download | scummvm-rg350-31a0c8090513023596351174aa48f787ca6384b3.tar.gz scummvm-rg350-31a0c8090513023596351174aa48f787ca6384b3.tar.bz2 scummvm-rg350-31a0c8090513023596351174aa48f787ca6384b3.zip |
Moved the kernel and the vocabulary outside of the engine state (they're static data, which never changes during a game)
svn-id: r42398
Diffstat (limited to 'engines/sci/sci.h')
-rw-r--r-- | engines/sci/sci.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/sci/sci.h b/engines/sci/sci.h index a2de5c3136..886a579799 100644 --- a/engines/sci/sci.h +++ b/engines/sci/sci.h @@ -35,6 +35,8 @@ namespace Sci { class Console; struct EngineState; +class Kernel; +class Vocabulary; // our engine debug levels enum kDebugLevels { @@ -107,7 +109,9 @@ public: Common::Language getLanguage() const; Common::Platform getPlatform() const; uint32 getFlags() const; - ResourceManager *getResMgr() { return _resmgr; } + ResourceManager *getResMgr() const { return _resmgr; } + Kernel *getKernel() const { return _kernel; } + Vocabulary *getVocabulary() const { return _vocabulary; } Common::String getSavegameName(int nr) const; Common::String getSavegamePattern() const; @@ -122,6 +126,8 @@ private: const SciGameDescription *_gameDescription; ResourceManager *_resmgr; EngineState *_gamestate; + Kernel *_kernel; + Vocabulary *_vocabulary; Console *_console; }; |