aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/toltecs.cpp
diff options
context:
space:
mode:
authorBenjamin Haisch2008-10-20 19:54:29 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:07 +0100
commit47ae9085899a41f5ed5204183b008d4bff7c4a31 (patch)
tree8a703106bf39476bd39b64a45ceac93786ca8fad /engines/toltecs/toltecs.cpp
parent4b13982116828453efd4a445328d455d9b820149 (diff)
downloadscummvm-rg350-47ae9085899a41f5ed5204183b008d4bff7c4a31.tar.gz
scummvm-rg350-47ae9085899a41f5ed5204183b008d4bff7c4a31.tar.bz2
scummvm-rg350-47ae9085899a41f5ed5204183b008d4bff7c4a31.zip
TOLTECS: - Fixed Screen::updateTalkText (text x position was read incorrectly and font color wasn't nibble-swapped)
- Hooked up the movie player; movies can be aborted with Escape (not with mouse clicks at the moment because I was too lazy to implement it; funny, writing this explanation probably took longer :))
Diffstat (limited to 'engines/toltecs/toltecs.cpp')
-rw-r--r--engines/toltecs/toltecs.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp
index 3aa160ac72..4691d23cb2 100644
--- a/engines/toltecs/toltecs.cpp
+++ b/engines/toltecs/toltecs.cpp
@@ -345,16 +345,6 @@ void ToltecsEngine::setCamera(int16 x, int16 y) {
_screen->finishTalkTextItems();
- /*
- // TODO: Fix checks; sometimes cameraY ended up being negative
-
- if (x > _sceneWidth)
- x = _sceneWidth;
-
- if (y > _sceneHeight - _cameraHeight)
- y = _sceneHeight - _cameraHeight;
- */
-
_screen->clearSprites();
_cameraX = x;