From bd64c5078c3d07bb9cf80ef8e72f151bec8beec4 Mon Sep 17 00:00:00 2001 From: md5 Date: Tue, 15 Feb 2011 15:43:10 +0200 Subject: SCI: Cleaned up kMapKeyToDir and removed an incorrect heuristic The heuristic in question was used to detect the pseudo mouse control functionality, however the change in controls seems to have occurred with the transition to cursor views. Fixes keypad control in Conquest of the Longbow. Moreover, the code also checked for key scan code 76 when checking for the middle keypad button, which seems to be a mistake, as that case never occurred. --- engines/sci/event.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'engines/sci/event.h') diff --git a/engines/sci/event.h b/engines/sci/event.h index fade7dd337..7c83476294 100644 --- a/engines/sci/event.h +++ b/engines/sci/event.h @@ -116,7 +116,6 @@ public: void updateScreen(); SciEvent getSciEvent(unsigned int mask); - bool getUsesNewKeyboardDirectionType(); private: SciEvent getScummVMEvent(); @@ -124,8 +123,6 @@ private: const bool _fontIsExtended; int _modifierStates; Common::List _events; - - bool _usesNewKeyboardDirectionType; }; } // End of namespace Sci -- cgit v1.2.3