diff options
author | Joost Peters | 2004-09-14 20:46:04 +0000 |
---|---|---|
committer | Joost Peters | 2004-09-14 20:46:04 +0000 |
commit | 17ea1f87df044ea9a0656726584f582b028e562c (patch) | |
tree | 21f947a1be3a892bd4c10a73ce2acfdeae5f804a /sky/sky.cpp | |
parent | 167f5d543f57e7856c003d488c7f56650c54e24e (diff) | |
download | scummvm-rg350-17ea1f87df044ea9a0656726584f582b028e562c.tar.gz scummvm-rg350-17ea1f87df044ea9a0656726584f582b028e562c.tar.bz2 scummvm-rg350-17ea1f87df044ea9a0656726584f582b028e562c.zip |
Use -more informative- constants for certain script variables
svn-id: r15119
Diffstat (limited to 'sky/sky.cpp')
-rw-r--r-- | sky/sky.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index d4f7ddfe5e..6f7e6eb914 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -154,18 +154,18 @@ void SkyEngine::doCheat(uint8 num) { switch(num) { case 1: warning("executed cheat: get jammer"); - Logic::_scriptVariables[258] = 42; // got_jammer - Logic::_scriptVariables[240] = 69; // got_sponsor + Logic::_scriptVariables[GOT_JAMMER] = 42; + Logic::_scriptVariables[GOT_SPONSOR] = 69; break; case 2: warning("executed cheat: computer room"); - Logic::_scriptVariables[479] = 2; // card_status - Logic::_scriptVariables[480] = 1; // card_fix + Logic::_scriptVariables[CARD_STATUS] = 2; + Logic::_scriptVariables[CARD_FIX] = 1; break; case 3: warning("executed cheat: get to burke"); - Logic::_scriptVariables[190] = 42; // knows_port + Logic::_scriptVariables[KNOWS_PORT] = 42; break; case 4: warning("executed cheat: get to reactor section"); - Logic::_scriptVariables[451] = 42; // foreman_friend + Logic::_scriptVariables[FOREMAN_FRIEND] = 42; _skyLogic->fnSendSync(8484, 1, 0); // send sync to RAD suit (put in locker) _skyLogic->fnKillId(ID_ANITA_SPY, 0, 0); // stop anita from getting to you break; |