diff options
author | Strangerke | 2012-06-03 13:25:40 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-28 17:36:57 +0200 |
commit | 4dda4abbea3c0bf2236625bbfeff7bb62f202ede (patch) | |
tree | c4bcc410e1d46aec991bc80746f380c7bd69916a /engines/lilliput | |
parent | de94c907208c61ea33495ad56f9760425af742bf (diff) | |
download | scummvm-rg350-4dda4abbea3c0bf2236625bbfeff7bb62f202ede.tar.gz scummvm-rg350-4dda4abbea3c0bf2236625bbfeff7bb62f202ede.tar.bz2 scummvm-rg350-4dda4abbea3c0bf2236625bbfeff7bb62f202ede.zip |
LILLIPUT: rename OC_checkFunctionKeyPressed
Diffstat (limited to 'engines/lilliput')
-rw-r--r-- | engines/lilliput/script.cpp | 8 | ||||
-rw-r--r-- | engines/lilliput/script.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/lilliput/script.cpp b/engines/lilliput/script.cpp index aff323bfb4..5020f3cc82 100644 --- a/engines/lilliput/script.cpp +++ b/engines/lilliput/script.cpp @@ -225,7 +225,7 @@ byte LilliputScript::handleOpcodeType1(int curWord) { return OC_sub179C2(); break; case 0x2F: - return OC_checkKeyPressed(); + return OC_checkFunctionKeyPressed(); break; case 0x30: return OC_sub17A07(); @@ -602,7 +602,7 @@ static const OpCode opCodes1[] = { { "OC_checkSavedMousePos", 0, kNone, kNone, kNone, kNone, kNone }, { "OC_sub179AE", 0, kNone, kNone, kNone, kNone, kNone }, { "OC_sub179C2", 1, kgetPosFromScript, kNone, kNone, kNone, kNone }, - { "OC_checkKeyPressed", 1, kImmediateValue, kNone, kNone, kNone, kNone }, + { "OC_checkFunctionKeyPressed", 1, kImmediateValue, kNone, kNone, kNone, kNone }, { "OC_sub17A07", 3, kImmediateValue, kImmediateValue, kImmediateValue, kNone, kNone }, { "OC_checkViewPortCharacterTarget", 1, kGetValue1, kNone, kNone, kNone, kNone }, }; @@ -2052,8 +2052,8 @@ byte LilliputScript::OC_sub179C2() { return 0; } -byte LilliputScript::OC_checkKeyPressed() { - debugC(1, kDebugScript, "OC_checkKeyPressed()"); +byte LilliputScript::OC_checkFunctionKeyPressed() { + debugC(1, kDebugScript, "OC_checkFunctionKeyPressed()"); static const Common::KeyCode specialKeys[10] = { Common::KEYCODE_F10, Common::KEYCODE_F1, Common::KEYCODE_F2, Common::KEYCODE_F3, Common::KEYCODE_F4, diff --git a/engines/lilliput/script.h b/engines/lilliput/script.h index bc5fc972f0..bc7fb15d70 100644 --- a/engines/lilliput/script.h +++ b/engines/lilliput/script.h @@ -188,7 +188,7 @@ private: byte OC_checkSavedMousePos(); byte OC_sub179AE(); byte OC_sub179C2(); - byte OC_checkKeyPressed(); + byte OC_checkFunctionKeyPressed(); byte OC_sub17A07(); byte OC_checkViewPortCharacterTarget(); |