diff options
author | Johannes Schickel | 2008-05-05 16:05:56 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-05 16:05:56 +0000 |
commit | 2afff044689a9d25c11d46b56a42d5948b95da1a (patch) | |
tree | 5fbebdea8b2c52858d4542a61e1b79d2ca55270e /engines/kyra/kyra_hof.cpp | |
parent | 4eb9abe99f27d867f3d549bb15c8a4d71af7df3c (diff) | |
download | scummvm-rg350-2afff044689a9d25c11d46b56a42d5948b95da1a.tar.gz scummvm-rg350-2afff044689a9d25c11d46b56a42d5948b95da1a.tar.bz2 scummvm-rg350-2afff044689a9d25c11d46b56a42d5948b95da1a.zip |
- Added support for Kyra3 GUI (audio and game options not working yet)
- Added support for loading directly from command line for Kyra3
svn-id: r31876
Diffstat (limited to 'engines/kyra/kyra_hof.cpp')
-rw-r--r-- | engines/kyra/kyra_hof.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index 64ec7e2905..fff96f456c 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -105,7 +105,6 @@ KyraEngine_HoF::KyraEngine_HoF(OSystem *system, const GameFlags &flags) : KyraEn _gamePlayBuffer = 0; _unkBuf500Bytes = 0; - _screenBuffer = 0; _inventorySaved = false; _unkBuf200kByte = 0; memset(&_sceneShapeTable, 0, sizeof(_sceneShapeTable)); @@ -189,6 +188,7 @@ int KyraEngine_HoF::init() { assert(_text); _gui = new GUI_HoF(this); assert(_gui); + _gui->initStaticData(); _tim = new TIMInterpreter(this, _system); assert(_tim); @@ -255,6 +255,7 @@ int KyraEngine_HoF::go() { } _menuDirectlyToLoad = (_menuChoice == 3) ? true : false; + _menuDirectlyToLoad &= saveFileLoadable(0); if (_menuChoice & 1) { startup(); @@ -764,7 +765,6 @@ void KyraEngine_HoF::cleanup() { delete [] _gamePlayBuffer; _gamePlayBuffer = 0; delete [] _unkBuf500Bytes; _unkBuf500Bytes = 0; - delete [] _screenBuffer; _screenBuffer = 0; delete [] _unkBuf200kByte; _unkBuf200kByte = 0; freeSceneShapePtrs(); |