diff options
| author | Strangerke | 2012-05-01 12:18:52 +0200 |
|---|---|---|
| committer | Eugene Sandulenko | 2018-03-28 17:36:57 +0200 |
| commit | 19f8bd899a23bad9d53bef7c5bc73fc3a5b05050 (patch) | |
| tree | 27af4d8ad1b2a351fd6b25eb1aec094e773be492 /engines | |
| parent | d7d3b50d404a3f5be679f7e2a9b38bd4ea9d8f8c (diff) | |
| download | scummvm-rg350-19f8bd899a23bad9d53bef7c5bc73fc3a5b05050.tar.gz scummvm-rg350-19f8bd899a23bad9d53bef7c5bc73fc3a5b05050.tar.bz2 scummvm-rg350-19f8bd899a23bad9d53bef7c5bc73fc3a5b05050.zip | |
LILLIPUT: Some renaming
Diffstat (limited to 'engines')
| -rw-r--r-- | engines/lilliput/lilliput.cpp | 8 | ||||
| -rw-r--r-- | engines/lilliput/script.cpp | 8 | ||||
| -rw-r--r-- | engines/lilliput/script.h | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp index ae70b9e1a1..7add061be8 100644 --- a/engines/lilliput/lilliput.cpp +++ b/engines/lilliput/lilliput.cpp @@ -1749,15 +1749,15 @@ int LilliputEngine::sub16675(int idx, int var1) { void LilliputEngine::sub16B63(int index) { debugC(2, kDebugEngine, "sub16B63(%d)", index); - static const byte nextFrame[4] = {1, 3, 0, 2}; - _characterDirectionArray[index] = nextFrame[_characterDirectionArray[index]]; + static const byte nextDirection[4] = {1, 3, 0, 2}; + _characterDirectionArray[index] = nextDirection[_characterDirectionArray[index]]; } void LilliputEngine::sub16B76(int index) { debugC(2, kDebugEngine, "sub16B76(%d)", index); - static const byte nextFrame[4] = {2, 0, 3, 1}; - _characterDirectionArray[index] = nextFrame[_characterDirectionArray[index]]; + static const byte nextDirection[4] = {2, 0, 3, 1}; + _characterDirectionArray[index] = nextDirection[_characterDirectionArray[index]]; } void LilliputEngine::sub166C0(int index) { diff --git a/engines/lilliput/script.cpp b/engines/lilliput/script.cpp index abfa2ed8c0..3a3ea6d2a7 100644 --- a/engines/lilliput/script.cpp +++ b/engines/lilliput/script.cpp @@ -455,7 +455,7 @@ void LilliputScript::handleOpcodeType2(int curWord) { OC_sub1834C(); break; case 0x47: - OC_sub18359(); + OC_setArray122C1(); break; case 0x48: OC_sub18367(); @@ -699,7 +699,7 @@ static const OpCode opCodes2[] = { /* 0x44 */ { "OC_PaletteFadeIn", 0, kNone, kNone, kNone, kNone, kNone }, /* 0x45 */ { "OC_loadAndDisplayCUBESx_GFX", 1, kImmediateValue, kNone, kNone, kNone, kNone }, /* 0x46 */ { "OC_sub1834C", 1, kImmediateValue, kNone, kNone, kNone, kNone }, -/* 0x47 */ { "OC_sub18359", 1, kImmediateValue, kNone, kNone, kNone, kNone }, +/* 0x47 */ { "OC_setArray122C1", 1, kImmediateValue, kNone, kNone, kNone, kNone }, /* 0x48 */ { "OC_sub18367", 0, kNone, kNone, kNone, kNone, kNone }, /* 0x49 */ { "OC_sub17D04", 2, kGetValue1, kImmediateValue, kNone, kNone, kNone }, /* 0x4a */ { "OC_sub18387", 2, kGetValue1, kImmediateValue, kNone, kNone, kNone }, @@ -2910,8 +2910,8 @@ void LilliputScript::OC_sub1834C() { _vm->_ptr_rulesBuffer2_15[3] = curWord; } -void LilliputScript::OC_sub18359() { - debugC(1, kDebugScript, "OC_sub18359()"); +void LilliputScript::OC_setArray122C1() { + debugC(1, kDebugScript, "OC_setArray122C1()"); int var1 = _currScript->readUint16LE(); _array122C1[_vm->_rulesBuffer2PrevIndx] = var1; diff --git a/engines/lilliput/script.h b/engines/lilliput/script.h index e7f0d9fc3a..e964c3c602 100644 --- a/engines/lilliput/script.h +++ b/engines/lilliput/script.h @@ -250,7 +250,7 @@ private: void OC_PaletteFadeIn(); void OC_loadAndDisplayCUBESx_GFX(); void OC_sub1834C(); - void OC_sub18359(); + void OC_setArray122C1(); void OC_sub18367(); void OC_sub17D04(); void OC_sub18387(); |
