Commit Graph
30 Commits
Author SHA1 Message Date
lolbot-iichan e97b1e560d WINTERMUTE: Check keyboard state array index
vKeyToKeyCode() method was unsafe if vkey >= KEYSTATES_ARRAY_SIZE was
provided, fixed
2018-08-23 11:33:13 +02:00
lolbot-iichan 52b4206771 WINTERMUTE: Support more key codes for mapping
some keypresses were producing warnings because key codes were not
listed in
mappings, added more key codes
2018-08-23 11:33:13 +02:00
lolbot-iichan 20816b9f90 WINTERMUTE: Fix printable flag for keyboard state
_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
2018-08-23 11:33:13 +02:00
jammm d090057f1f WINTERMUTE: Add more keyboard mappings, fix console warnings.
Add mappings for numpad keys, tab, pause and backspace.
Suppressed unnecessary warnings for keys that are text-input.
2015-12-21 20:20:56 +05:30
jammm 320139760c WINTERMUTE: Add mappings for VKeyCodes->ScummVM KeyCodes
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)
2015-02-24 23:04:09 +05:30
Einar Johan Trøan Sømåen ee876b56b2 WINTERMUTE: Add VK-translations for F1-F12 and HOME 2014-11-04 18:34:06 +01:00
Johannes Schickel fc5ef58fff WINTERMUTE: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Filippos Karapetis eba0c0ff62 WINTERMUTE: Add the keycode for the ESC key
This is used by Looky
2013-11-07 13:47:38 +02:00
Einar Johan Trøan Sømåen 7892188bcf WINTERMUTE: Transfer Uint32s explicitly when saving/loading. 2013-11-05 13:31:13 +01:00
Einar Johan Trøan Sømåen 6b4adab654 WINTERMUTE: Transfer booleans explicitly when saving/loading. 2013-10-28 19:19:12 +01:00
Johannes Schickel 1ce54c217a WINTERMUTE: Fix end of namespace comments. 2013-08-04 00:51:09 +02:00
Einar Johan Trøan Sømåen e30271e6f6 WINTERMUTE: Correct the char-code check in BaseKeyboardState 2012-12-13 20:40:40 +01:00
Einar Johan Trøan Sømåen aebdeb183f WINTERMUTE: Use ascii for detecting printable-characters instead of Keycode. 2012-12-13 20:12:08 +01:00
Einar Johan Trøan Sømåen 7071acfa47 WINTERMUTE: Privatize members in BaseKeyboardState 2012-12-03 10:17:39 +01:00
Einar Johan Trøan Sømåen afc21941e3 WINTERMUTE: Make scGetProperty use Common::String& instead of const char* 2012-09-29 00:47:12 +02:00
Willem Jan Palenstijn b4090ead4d WINTERMUTE: Convert CRLF to LF 2012-09-04 22:17:23 +02:00
Johannes Schickel a8518eebe6 Revert "WINTERMUTE: Remove extra semicolon."
This reverts commit 9989a4f3da.
Note: Don't blind fix warnings of broken builds.

Conflicts:
	engines/wintermute/base/base_keyboard_state.cpp
2012-09-04 19:51:33 +02:00
Johannes Schickel e8f2742cc7 WINTERMUTE: Replace VKeyCodes constant names.
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-04 19:43:15 +02:00
Johannes Schickel 9989a4f3da WINTERMUTE: Remove extra semicolon. 2012-09-04 19:41:58 +02:00
Einar Johan Trøan Sømåen 7b17d8060d WINTERMUTE: Fix various comments. 2012-09-01 14:04:23 +02:00
Einar Johan Trøan Sømåen fed19cb66a WINTERMUTE: WinterMute -> Wintermute 2012-08-13 03:42:30 +02:00
Einar Johan Trøan Sømåen 8ed71a99f6 WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : SuperClass(args) 2012-07-27 19:37:14 +02:00
Einar Johan Trøan Sømåen 3ff2e2cc93 WINTERMUTE: Support the SPACE-key as a printable character. 2012-07-27 16:01:03 +02:00
Einar Johan Trøan Sømåen ef11f9d0c5 WINTERMUTE: Run Astyle with add-braces to break one-line statements into easier-to-read-code. 2012-07-26 15:59:26 +02:00
Einar Johan Trøan Sømåen 38507fa989 WINTERMUTE: AStyle-formatting. 2012-07-26 04:12:58 +02:00
Einar Johan Trøan Sømåen 1ad859a468 WINTERMUTE: "if(" -> "if (" 2012-07-25 21:21:55 +02:00
Einar Johan Trøan Sømåen c7eda9abc8 WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base. 2012-07-23 03:42:27 +02:00
Einar Johan Trøan Sømåen aedb0aea50 WINTERMUTE: Remove dcgf.h from almost all includes. 2012-07-23 03:22:49 +02:00
Einar Johan Trøan Sømåen b5a07fef8e WINTERMUTE: Get rid of the C-prefix for class-definitions. 2012-07-21 21:01:47 +02:00
Einar Johan Trøan Sømåen 5683f07633 WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames
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.
2012-07-21 19:15:33 +02:00