diff options
author | Einar Johan Trøan Sømåen | 2012-06-25 15:13:34 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-25 15:13:34 +0200 |
commit | e68ab9b5721caaafd99d9936dd372fa266069957 (patch) | |
tree | 9f38572f20c4397d4870a44d429b6b231b1f5e64 /engines/wintermute/wintermute.h | |
parent | d495c588977fc63e42c986e8404ac23ba40a4923 (diff) | |
download | scummvm-rg350-e68ab9b5721caaafd99d9936dd372fa266069957.tar.gz scummvm-rg350-e68ab9b5721caaafd99d9936dd372fa266069957.tar.bz2 scummvm-rg350-e68ab9b5721caaafd99d9936dd372fa266069957.zip |
WINTERMUTE: Make the ClassRegistry clean up after itself when returning to launcher
Diffstat (limited to 'engines/wintermute/wintermute.h')
-rw-r--r-- | engines/wintermute/wintermute.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/wintermute/wintermute.h b/engines/wintermute/wintermute.h index 92dbedc6b5..c3ade92fe4 100644 --- a/engines/wintermute/wintermute.h +++ b/engines/wintermute/wintermute.h @@ -31,6 +31,7 @@ namespace WinterMute { class Console; class CBGame; +class CSysClassRegistry; // our engine debug channels enum { kWinterMuteDebugExample = 1 << 0, @@ -47,12 +48,15 @@ public: virtual Common::Error run(); virtual bool hasFeature(EngineFeature f) const; Common::SaveFileManager *getSaveFileMan() { return _saveFileMan; } + CSysClassRegistry *getClassRegistry(){ return _classReg; } uint32 randInt(int from, int to); private: int init(); + void deinit(); int messageLoop(); Console *_console; CBGame *_game; + CSysClassRegistry *_classReg; // We need random numbers Common::RandomSource *_rnd; }; |