diff options
author | Filippos Karapetis | 2011-11-21 22:29:44 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-11-21 22:29:44 +0200 |
commit | 8880c7c94cb965487416a39abf11095f7cfae568 (patch) | |
tree | 1004805cdc540fd07b9421b34e24e456e617396e /engines/toltecs/toltecs.cpp | |
parent | 51c30303a894c0630e3950a7e2168316780dcc76 (diff) | |
download | scummvm-rg350-8880c7c94cb965487416a39abf11095f7cfae568.tar.gz scummvm-rg350-8880c7c94cb965487416a39abf11095f7cfae568.tar.bz2 scummvm-rg350-8880c7c94cb965487416a39abf11095f7cfae568.zip |
TOLTECS: Savegame changes
- Add support for savegame removal
- Remove kyra-specific code
- Add save play time and creation date
Diffstat (limited to 'engines/toltecs/toltecs.cpp')
-rw-r--r-- | engines/toltecs/toltecs.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp index 046578cffd..948c0c5ec3 100644 --- a/engines/toltecs/toltecs.cpp +++ b/engines/toltecs/toltecs.cpp @@ -166,6 +166,7 @@ Common::Error ToltecsEngine::run() { #endif // Start main game loop + setTotalPlayTime(0); _script->loadScript(0, 0); _script->setMainScript(0); if (ConfMan.hasKey("save_slot")) { @@ -297,7 +298,6 @@ void ToltecsEngine::updateScreen() { } void ToltecsEngine::drawScreen() { - // FIXME: Quick hack, sometimes cameraY was negative (the code in updateCamera was at fault) if (_cameraY < 0) _cameraY = 0; @@ -318,7 +318,6 @@ void ToltecsEngine::drawScreen() { _system->updateScreen(); updateCamera(); - } void ToltecsEngine::updateInput() { @@ -430,7 +429,6 @@ void ToltecsEngine::setGuiHeight(int16 guiHeight) { } void ToltecsEngine::setCamera(int16 x, int16 y) { - _screen->finishTalkTextItems(); _screen->clearSprites(); @@ -440,7 +438,6 @@ void ToltecsEngine::setCamera(int16 x, int16 y) { _cameraY = y; _newCameraY = y; - } bool ToltecsEngine::getCameraChanged() { |