diff options
author | Paul Gilbert | 2017-02-27 08:55:56 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-02-27 08:55:56 -0500 |
commit | 93cd3eced23dba0099cc713a7d2323a901dbca75 (patch) | |
tree | b562ea1e5f77c169461e94e1f60dcb2ed96031f5 /engines/titanic/game | |
parent | 64b05a8693531b455389466bcaa16572f96ecc0a (diff) | |
download | scummvm-rg350-93cd3eced23dba0099cc713a7d2323a901dbca75.tar.gz scummvm-rg350-93cd3eced23dba0099cc713a7d2323a901dbca75.tar.bz2 scummvm-rg350-93cd3eced23dba0099cc713a7d2323a901dbca75.zip |
TITANIC: Implemented CStarControl doAction
Diffstat (limited to 'engines/titanic/game')
-rw-r--r-- | engines/titanic/game/nav_helmet.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/game/nav_helmet.cpp b/engines/titanic/game/nav_helmet.cpp index ab86bd7582..aaaa17defd 100644 --- a/engines/titanic/game/nav_helmet.cpp +++ b/engines/titanic/game/nav_helmet.cpp @@ -58,8 +58,8 @@ bool CNavHelmet::MovieEndMsg(CMovieEndMsg *msg) { pet->incAreaLocks(); } - starFn(0); - starFn(12); + starFn(STAR_SHOW); + starFn(STAR_12); } return true; @@ -81,7 +81,7 @@ bool CNavHelmet::PETHelmetOnOffMsg(CPETHelmetOnOffMsg *msg) { if (_flag) { _flag = false; setVisible(true); - starFn(1); + starFn(STAR_HIDE); playMovie(61, 120, MOVIE_NOTIFY_OBJECT); playSound("a#47.wav"); playSound("a#48.wav"); @@ -106,7 +106,7 @@ bool CNavHelmet::PETHelmetOnOffMsg(CPETHelmetOnOffMsg *msg) { bool CNavHelmet::PETPhotoOnOffMsg(CPETPhotoOnOffMsg *msg) { if (_flag) - starFn(9); + starFn(STAR_9); return true; } @@ -115,10 +115,10 @@ bool CNavHelmet::PETStarFieldLockMsg(CPETStarFieldLockMsg *msg) { if (_flag) { if (msg->_value) { playSound("a#6.wav"); - starFn(17); + starFn(STAR_17); } else { playSound("a#5.wav"); - starFn(18); + starFn(STAR_18); } } |