diff options
author | Benjamin Haisch | 2008-08-11 12:43:00 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:05 +0100 |
commit | dd5567613f4e733b62760c981cb547fe9656fced (patch) | |
tree | f1abfcaa051f6f837a6e5963575a146eb5a9ad44 /engines/toltecs/toltecs.cpp | |
parent | 21f6dad09a5f773fb4869f604f47e84ac266585c (diff) | |
download | scummvm-rg350-dd5567613f4e733b62760c981cb547fe9656fced.tar.gz scummvm-rg350-dd5567613f4e733b62760c981cb547fe9656fced.tar.bz2 scummvm-rg350-dd5567613f4e733b62760c981cb547fe9656fced.zip |
TOLTECS: - Renamed stuff and cleanups
- Beginnings of the saveload system (incomplete)
Diffstat (limited to 'engines/toltecs/toltecs.cpp')
-rw-r--r-- | engines/toltecs/toltecs.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp index 73de88f6f3..f1b531f878 100644 --- a/engines/toltecs/toltecs.cpp +++ b/engines/toltecs/toltecs.cpp @@ -98,7 +98,7 @@ int ToltecsEngine::go() { _cameraY = 0; _newCameraX = 0; _newCameraY = 0; - _cameraTop = 26; + _guiHeight = 26; _cameraHeight = 0; _yetAnotherX = 0; @@ -227,11 +227,11 @@ void ToltecsEngine::setCamera(int16 x, int16 y) { } -void ToltecsEngine::setCameraTop(int16 top) { - if (top != _cameraTop) { - _cameraTop = top; - _cameraHeight = 400 - _cameraTop; - debug(0, "ToltecsEngine::setCameraTop() _cameraTop = %d; _cameraHeight = %d", _cameraTop, _cameraHeight); +void ToltecsEngine::setGuiHeight(int16 guiHeight) { + if (guiHeight != _guiHeight) { + _guiHeight = guiHeight; + _cameraHeight = 400 - _guiHeight; + debug(0, "ToltecsEngine::setGuiHeight() _guiHeight = %d; _cameraHeight = %d", _guiHeight, _cameraHeight); // TODO: clearScreen(); } } |