From 778c1ddb69bb45b6992fdc9b8fff6b2c8d3e22ac Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 3 Feb 2016 02:21:07 +0100 Subject: AGI: Cycle event processing changed processEvents() renamed to processScummVMEvents() mainCycle() renamed to processAGIEvents() have.key now sets up an inner loop and calls processAGIEvents() to avoid any further cycle work processing --- engines/agi/keyboard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/agi/keyboard.cpp') diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index dd850d92f8..1809d579e7 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -62,7 +62,7 @@ const uint8 scancodeTable[26] = { 44 // Z }; -void AgiEngine::processEvents() { +void AgiEngine::processScummVMEvents() { Common::Event event; int key = 0; @@ -569,7 +569,7 @@ int AgiEngine::waitAnyKey() { } bool AgiEngine::isKeypress() { - processEvents(); + processScummVMEvents(); return _keyQueueStart != _keyQueueEnd; } -- cgit v1.2.3