aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-07 08:04:10 -0500
committerPaul Gilbert2014-03-07 08:04:10 -0500
commit1874ec2111fd944d3e554acde8a0f06c651c95fb (patch)
treea6281587d278dee981ccf68da712e0d14fbb8f7a /engines/mads/nebular
parenta77ed90618664e50705b3e59dd2111faec2f5f39 (diff)
downloadscummvm-rg350-1874ec2111fd944d3e554acde8a0f06c651c95fb.tar.gz
scummvm-rg350-1874ec2111fd944d3e554acde8a0f06c651c95fb.tar.bz2
scummvm-rg350-1874ec2111fd944d3e554acde8a0f06c651c95fb.zip
MADS: More initialisation code for scene 804, and missing engine methods
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/nebular_scenes8.cpp26
1 files changed, 23 insertions, 3 deletions
diff --git a/engines/mads/nebular/nebular_scenes8.cpp b/engines/mads/nebular/nebular_scenes8.cpp
index 773b0e6d7a..b3997e110c 100644
--- a/engines/mads/nebular/nebular_scenes8.cpp
+++ b/engines/mads/nebular/nebular_scenes8.cpp
@@ -100,13 +100,33 @@ void Scene804::setup() {
if (_globals[164]) {
_globals._spriteIndexes[19] = _scene->_sequences.startCycle(
_globals._spriteIndexes[4], 0, 1);
- // TODO
+ _scene->_sequences.addTimer(60, 100);
} else {
-
+ _globals._spriteIndexes[20] = _scene->_sequences.startCycle(
+ _globals._spriteIndexes[5], false, 1);
+ _globals._spriteIndexes[21] = _scene->_sequences.startReverseCycle(
+ _globals._spriteIndexes[6], false, 4, 0, 0, 0);
+ _scene->_sequences.addTimer(160, 70);
+ _vm->_game->_player._stepEnabled = false;
}
} else {
- // TODO
+ if (_globals[167] == 0) {
+ _globals._spriteIndexes[22] = _scene->_sequences.startCycle(
+ _globals._spriteIndexes[7], false, 1);
+ }
+
+ if (_globals[164] == 0) {
+ _globals._spriteIndexes[22] = _scene->_sequences.startCycle(
+ _globals._spriteIndexes[18], false, 1);
+ }
+
+ _globals._spriteIndexes[0] = _scene->_sequences.startCycle(
+ _globals._spriteIndexes[0], false, 1);
+ _scene->_sequences.setMsgPosition(_globals._spriteIndexes[15], Common::Point(133, 139));
+ _scene->_sequences.setDepth(_globals._spriteIndexes[15], 8);
}
+
+ // TODO: More setup
}
void Scene804::enter() {