diff options
author | Martin Kiewitz | 2016-02-03 01:41:32 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-03 01:41:32 +0100 |
commit | 702b66a49d27bb683e43083e6bf5efacf7cdd996 (patch) | |
tree | 3bc2e32e6d98e04f4f9219fef92ac095c618650f /engines/agi/cycle.cpp | |
parent | 8271058a4598e25096fe305f2c0beb7d2613e178 (diff) | |
download | scummvm-rg350-702b66a49d27bb683e43083e6bf5efacf7cdd996.tar.gz scummvm-rg350-702b66a49d27bb683e43083e6bf5efacf7cdd996.tar.bz2 scummvm-rg350-702b66a49d27bb683e43083e6bf5efacf7cdd996.zip |
AGI: Make inner loop handlers consistent
Diffstat (limited to 'engines/agi/cycle.cpp')
-rw-r--r-- | engines/agi/cycle.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp index 29c97babbc..3887999580 100644 --- a/engines/agi/cycle.cpp +++ b/engines/agi/cycle.cpp @@ -228,7 +228,7 @@ int AgiEngine::mainCycle(bool onlyCheckForEvents) { if (!handleController(key)) { if (key) { if (_text->promptIsEnabled()) { - _text->promptCharPress(key); + _text->promptKeyPress(key); } } } @@ -241,19 +241,19 @@ int AgiEngine::mainCycle(bool onlyCheckForEvents) { case CYCLE_INNERLOOP_GETSTRING: // loop called from TextMgr::stringEdit() case CYCLE_INNERLOOP_GETNUMBER: if (key) { - _text->stringCharPress(key); + _text->stringKeyPress(key); } break; case CYCLE_INNERLOOP_INVENTORY: // loop called from InventoryMgr::show() if (key) { - _inventory->charPress(key); + _inventory->keyPress(key); } break; case CYCLE_INNERLOOP_MENU_VIA_KEYBOARD: if (key) { - _menu->charPress(key); + _menu->keyPress(key); } return false; @@ -263,13 +263,13 @@ int AgiEngine::mainCycle(bool onlyCheckForEvents) { case CYCLE_INNERLOOP_SYSTEMUI_SELECTSAVEDGAMESLOT: if (key) { - _systemUI->savedGameSlot_CharPress(key); + _systemUI->savedGameSlot_KeyPress(key); } break; case CYCLE_INNERLOOP_MESSAGEBOX: if (key) { - _text->messageBox_CharPress(key); + _text->messageBox_KeyPress(key); } break; |