diff options
author | athrxx | 2011-06-17 19:11:32 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-12-26 16:18:11 +0100 |
commit | 894df5a4ac97bc67cfe7fd9a7df17e541c505365 (patch) | |
tree | d0e1a42b82d84a0c6b39db0741c316f44eda790d /engines/kyra/eobcommon.cpp | |
parent | 6853452bcbed083aa84638f11e4ce04ca189f0a1 (diff) | |
download | scummvm-rg350-894df5a4ac97bc67cfe7fd9a7df17e541c505365.tar.gz scummvm-rg350-894df5a4ac97bc67cfe7fd9a7df17e541c505365.tar.bz2 scummvm-rg350-894df5a4ac97bc67cfe7fd9a7df17e541c505365.zip |
KYRA: (EOB) - extended saveload caps
(also save/load inventory and spellbook display state)
Diffstat (limited to 'engines/kyra/eobcommon.cpp')
-rw-r--r-- | engines/kyra/eobcommon.cpp | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/engines/kyra/eobcommon.cpp b/engines/kyra/eobcommon.cpp index 89a20a0ea3..e0fb584e16 100644 --- a/engines/kyra/eobcommon.cpp +++ b/engines/kyra/eobcommon.cpp @@ -383,26 +383,23 @@ Common::Error EobCoreEngine::go() { return Common::kNoError; } -void EobCoreEngine::runLoop() { - _envAudioTimer = _system->getMillis() + (rollDice(1, 10, 3) * 18 * _tickLength); - - _updateFlags = 0; - _updateCharNum = 0; - _flashShapeTimer = 0; - _drawSceneTimer = _system->getMillis(); - //__unkB__ = 1; +void EobCoreEngine::startupNew() { gui_setPlayFieldButtons(); - _screen->_curPage = 0; gui_drawPlayField(0); - - _screen->setFont(Screen::FID_6_FNT); - _screen->_curPage = 0; gui_drawAllCharPortraitsWithStats(); - drawScene(1); + _updateFlags = 0; + _updateCharNum = 0; +} +void EobCoreEngine::runLoop() { + _envAudioTimer = _system->getMillis() + (rollDice(1, 10, 3) * 18 * _tickLength); + _flashShapeTimer = 0; + _drawSceneTimer = _system->getMillis(); + //__unkB__ = 1; + _screen->setFont(Screen::FID_6_FNT); _screen->setScreenDim(7); //_runLoopUnk2 = _currentBlock; |