aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorFilippos Karapetis2014-05-02 04:15:28 +0300
committerFilippos Karapetis2014-05-02 04:22:22 +0300
commit92ab7e87a0e0afc9db1612b4c7d16597fe6499a0 (patch)
treecffbe6ec23b10af53ff6f4e646a3677d6bb534af /engines/mads
parentd888938d9b6d2e393eeac3a1b2551ccc8d36f49e (diff)
downloadscummvm-rg350-92ab7e87a0e0afc9db1612b4c7d16597fe6499a0.tar.gz
scummvm-rg350-92ab7e87a0e0afc9db1612b4c7d16597fe6499a0.tar.bz2
scummvm-rg350-92ab7e87a0e0afc9db1612b4c7d16597fe6499a0.zip
MADS: sub70C52 is setMotion
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp4
-rw-r--r--engines/mads/nebular/nebular_scenes2.cpp2
-rw-r--r--engines/mads/nebular/nebular_scenes3.cpp2
-rw-r--r--engines/mads/sequence.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index 54973b7de3..7d8b077fc2 100644
--- a/engines/mads/nebular/nebular_scenes1.cpp
+++ b/engines/mads/nebular/nebular_scenes1.cpp
@@ -2141,7 +2141,7 @@ void Scene107::enter() {
_globals._spriteIndexes[0] = _scene->_sprites.addSprites(Resources::formatName(105, 'R', 1, EXT_SS, ""));
_globals._sequenceIndexes[0] = _scene->_sequences.addSpriteCycle(_globals._spriteIndexes[0], true, 4, 0, 0, 0);
_scene->_sequences.setMsgPosition(_globals._sequenceIndexes[0], Common::Point(270, 150));
- _scene->_sequences.sub70C52(_globals._sequenceIndexes[0], SEQUENCE_TRIGGER_SPRITE, -200, 0);
+ _scene->_sequences.setMotion(_globals._sequenceIndexes[0], SEQUENCE_TRIGGER_SPRITE, -200, 0);
_scene->_sequences.setDepth(_globals._sequenceIndexes[0], 2);
_scene->_dynamicHotspots.add(218, 348, _globals._sequenceIndexes[0], Common::Rect(0, 0, 0, 0));
}
@@ -2386,7 +2386,7 @@ void Scene109::enter() {
_globals._sequenceIndexes[10] = _scene->_sequences.startReverseCycle(_globals._spriteIndexes[10], true, 4, 0, 0, 0);
_scene->_sequences.setDepth(_globals._sequenceIndexes[10], 5);
_scene->_sequences.setMsgPosition(_globals._sequenceIndexes[10], Common::Point(126, 39));
- _scene->_sequences.sub70C52(_globals._sequenceIndexes[10], 0, 200, 0);
+ _scene->_sequences.setMotion(_globals._sequenceIndexes[10], 0, 200, 0);
_scene->_sequences.setScale(_globals._sequenceIndexes[10], 80);
_game._player._stepEnabled = false;
}
diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp
index 88b3f941ea..a62ad6b94d 100644
--- a/engines/mads/nebular/nebular_scenes2.cpp
+++ b/engines/mads/nebular/nebular_scenes2.cpp
@@ -4285,7 +4285,7 @@ void Scene211::enter() {
_globals._sequenceIndexes[2] = _scene->_sequences.addSpriteCycle(_globals._spriteIndexes[1], false, 6, 0, 0, 0);
_scene->_sequences.setMsgPosition(_globals._sequenceIndexes[2], Common::Point(202, 126));
_scene->_sequences.setDepth(_globals._sequenceIndexes[2], 8);
- _scene->_sequences.sub70C52(_globals._sequenceIndexes[2], SEQUENCE_TRIGGER_SPRITE, -200, 0);
+ _scene->_sequences.setMotion(_globals._sequenceIndexes[2], SEQUENCE_TRIGGER_SPRITE, -200, 0);
_scene->_dynamicHotspots.add(324, 13, _globals._sequenceIndexes[2], Common::Rect(1, 1, 1 + 41, 1 + 10));
}
diff --git a/engines/mads/nebular/nebular_scenes3.cpp b/engines/mads/nebular/nebular_scenes3.cpp
index 12917d61a1..09b3152347 100644
--- a/engines/mads/nebular/nebular_scenes3.cpp
+++ b/engines/mads/nebular/nebular_scenes3.cpp
@@ -220,7 +220,7 @@ void Scene3xx::handleForceField(ForceField *force, int *sprites) {
force->_seqId[id] = _scene->_sequences.addSpriteCycle(sprites[spriteId], mirror, 2, 0, 0, 0);
_scene->_sequences.setDepth(force->_seqId[id], 8);
_scene->_sequences.setMsgPosition(force->_seqId[id], Common::Point(posX, posY));
- _scene->_sequences.sub70C52(force->_seqId[id], 2, speedX, speedY);
+ _scene->_sequences.setMotion(force->_seqId[id], 2, speedX, speedY);
_scene->_sequences.addSubEntry(force->_seqId[id], SEQUENCE_TRIGGER_EXPIRE, 0, 150 + id);
if (spriteId == 2)
force->_horizontal++;
diff --git a/engines/mads/sequence.h b/engines/mads/sequence.h
index 5f052e9d0f..19759001de 100644
--- a/engines/mads/sequence.h
+++ b/engines/mads/sequence.h
@@ -126,7 +126,7 @@ public:
void setScale(int spriteIdx, int scale);
void setMsgLayout(int seqIndex);
void setDone(int seqIndex);
- void sub70C52(int seqIndex, int flags, int deltaX, int deltaY) { warning("TODO: sub70C52()"); }
+ void setMotion(int seqIndex, int flags, int deltaX, int deltaY) { warning("TODO: setMotion()"); }
};
} // End of namespace MADS