aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_keyboard_state.cpp
AgeCommit message (Collapse)Author
2019-12-19WINTERMUTE: Handle isCurrentPrintable property for WME 1.x and WME Litelolbot-iichan
1. Moved KEYCODE_SPACE to "alphanumeric or punctuation" group. 2. Splited "else" into before and after WME_LITE.
2019-06-25WINTERMUTE: Add comments + warning() for IsKeyDown() methodlolbot-iichan
2019-06-25WINTERMUTE: Support even more keycodes at IsKeyDown()lolbot-iichan
2019-06-25WINTERMUTE: Fix IsKeyDown to work with ASCIIlolbot-iichan
Tanya Grotter series has a cheat, that is triggered with (Keyboard.IsKeyDown("A") && Keyboard.IsControl && Keyboard.IsAlt && Game.DebugMode) condition. vKeyToKeyCode(97) would produce a warning message, fixed this.
2018-08-23WINTERMUTE: Check keyboard state array indexlolbot-iichan
vKeyToKeyCode() method was unsafe if vkey >= KEYSTATES_ARRAY_SIZE was provided, fixed
2018-08-23WINTERMUTE: Support more key codes for mappinglolbot-iichan
some keypresses were producing warnings because key codes were not listed in mappings, added more key codes
2018-08-23WINTERMUTE: Fix printable flag for keyboard statelolbot-iichan
_currentPrintable was set depending on _currentCharCode, which is 112 for both F1 and 'p' keys, fixed after detailed research on which keys should be considered printable
2015-12-21WINTERMUTE: Add more keyboard mappings, fix console warnings.jammm
Add mappings for numpad keys, tab, pause and backspace. Suppressed unnecessary warnings for keys that are text-input.
2015-02-24WINTERMUTE: Add mappings for VKeyCodes->ScummVM KeyCodesjammm
Fix bug #6654 (white chamber - some keys don't work) Wintermute games on ScummVM used ScummVM keycodes for keyboard mapping, whereas the game scripts only accepted Windows VKeyCodes. Therefore an initial set of mappings are added and the debug room is now loading properly, when HOME is pressed (Rest of the keys need to be tested in-game)
2014-11-04WINTERMUTE: Add VK-translations for F1-F12 and HOMEEinar Johan Trøan Sømåen
2014-02-18WINTERMUTE: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-07WINTERMUTE: Add the keycode for the ESC keyFilippos Karapetis
This is used by Looky
2013-11-05WINTERMUTE: Transfer Uint32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-28WINTERMUTE: Transfer booleans explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2012-12-13WINTERMUTE: Correct the char-code check in BaseKeyboardStateEinar Johan Trøan Sømåen
2012-12-13WINTERMUTE: Use ascii for detecting printable-characters instead of Keycode.Einar Johan Trøan Sømåen
2012-12-03WINTERMUTE: Privatize members in BaseKeyboardStateEinar Johan Trøan Sømåen
2012-09-29WINTERMUTE: Make scGetProperty use Common::String& instead of const char*Einar Johan Trøan Sømåen
2012-09-04WINTERMUTE: Convert CRLF to LFWillem Jan Palenstijn
2012-09-04Revert "WINTERMUTE: Remove extra semicolon."Johannes Schickel
This reverts commit 9989a4f3daba891326810d7ae620cd75d97521f1. Note: Don't blind fix warnings of broken builds. Conflicts: engines/wintermute/base/base_keyboard_state.cpp
2012-09-04WINTERMUTE: Replace VKeyCodes constant names.Johannes Schickel
This is a purely cosmetical change, which should help compilation on systems, which use VK_* for internal constants. This should help compilation for WinCE.
2012-09-04WINTERMUTE: Remove extra semicolon.Johannes Schickel
2012-09-01WINTERMUTE: Fix various comments.Einar Johan Trøan Sømåen
2012-08-13WINTERMUTE: WinterMute -> WintermuteEinar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : ↵Einar Johan Trøan Sømåen
SuperClass(args)
2012-07-27WINTERMUTE: Support the SPACE-key as a printable character.Einar Johan Trøan Sømåen
2012-07-26WINTERMUTE: Run Astyle with add-braces to break one-line statements into ↵Einar Johan Trøan Sømåen
easier-to-read-code.
2012-07-26WINTERMUTE: AStyle-formatting.Einar Johan Trøan Sømåen
2012-07-25WINTERMUTE: "if(" -> "if ("Einar Johan Trøan Sømåen
2012-07-23WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base.Einar Johan Trøan Sømåen
2012-07-23WINTERMUTE: Remove dcgf.h from almost all includes.Einar Johan Trøan Sømåen
2012-07-21WINTERMUTE: Get rid of the C-prefix for class-definitions.Einar Johan Trøan Sømåen
2012-07-21WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenamesEinar Johan Trøan Sømåen
This is mostly a lead-up to namespacing the Ad/Base folders, and then possibly removing the prefixes from the files, it also has the added benefit of getting rid of the odd case-typos that makes for issues on platforms that don't ignore case.