aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2012-11-11 21:49:35 +0100
committerStrangerke2012-11-11 21:49:35 +0100
commita1d0d2f7db6c67e4c1dd72200d81b79aa4735f96 (patch)
tree93de65690fa9a2073ef0801e70abd5df4f0c09d7
parent338294852da94dd240e1b3df64e1bd02ff483159 (diff)
downloadscummvm-rg350-a1d0d2f7db6c67e4c1dd72200d81b79aa4735f96.tar.gz
scummvm-rg350-a1d0d2f7db6c67e4c1dd72200d81b79aa4735f96.tar.bz2
scummvm-rg350-a1d0d2f7db6c67e4c1dd72200d81b79aa4735f96.zip
HOPKINS: Implement OCEAN_HOME()
-rw-r--r--engines/hopkins/hopkins.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index b89b239cdf..ddad2d5bd3 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -2442,7 +2442,16 @@ void HopkinsEngine::BTOCEAN() {
}
void HopkinsEngine::OCEAN_HOME() {
- warning("STUB - OCEAN_HOME()");
+ warning("OCEAN_HOME()");
+
+ if (_globals.OCEAN_SENS == 3)
+ _objectsManager.SETANISPR(0, 0);
+ if (_globals.OCEAN_SENS == 7)
+ _objectsManager.SETANISPR(0, 18);
+ if (_globals.OCEAN_SENS == 1)
+ _objectsManager.SETANISPR(0, 27);
+ if (_globals.OCEAN_SENS == 5)
+ _objectsManager.SETANISPR(0, 9);
}
void HopkinsEngine::OCEAN(int16 a1, Common::String a2, Common::String a3, int16 a4, int16 a5, int16 a6, int16 a7, int16 a8, int16 a9) {