Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-11 | WINTERMUTE: Key code mapping refactoring | lolbot-iichan | |
I discovered, that difference in key mappings between FoxTail and usual games is not due to FoxTail's engine differences from WME Lite, but were made in WME Lite itself! WME 1.x is using "Virtual-Key Codes" mapping and WME Lite and FoxTail are using "SDL_Keycode" mapping. So, here is total refactoring of keycode handling. Why nobody noticed this earlier? Because there are only 4 currently known series that are based on WME Lite (J.U.L.I.A. series, Reversion series, FoxTail and Securanote) and because most WME games, both 1.x-based and Lite-based are using Keyboard class only for handling Enter and Escape keys, which are the same in both mappings (Backspace, Space and Tab are also the same). | |||
2020-01-11 | WINTERMUTE: Add FoxTail key codes mapping | lolbot-iichan | |
FoxTail code is hacked to use key codes from different from usual WME. Got correct mapping using script decompiling, verified with sample game. | |||
2019-12-19 | WINTERMUTE: Handle isCurrentPrintable property for WME 1.x and WME Lite | lolbot-iichan | |
1. Moved KEYCODE_SPACE to "alphanumeric or punctuation" group. 2. Splited "else" into before and after WME_LITE. | |||
2019-06-25 | WINTERMUTE: Add comments + warning() for IsKeyDown() method | lolbot-iichan | |
2019-06-25 | WINTERMUTE: Support even more keycodes at IsKeyDown() | lolbot-iichan | |
2019-06-25 | WINTERMUTE: Fix IsKeyDown to work with ASCII | lolbot-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-23 | WINTERMUTE: Check keyboard state array index | lolbot-iichan | |
vKeyToKeyCode() method was unsafe if vkey >= KEYSTATES_ARRAY_SIZE was provided, fixed | |||
2018-08-23 | WINTERMUTE: Support more key codes for mapping | lolbot-iichan | |
some keypresses were producing warnings because key codes were not listed in mappings, added more key codes | |||
2018-08-23 | WINTERMUTE: Fix printable flag for keyboard state | lolbot-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-21 | WINTERMUTE: 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-24 | WINTERMUTE: Add mappings for VKeyCodes->ScummVM KeyCodes | jammm | |
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-04 | WINTERMUTE: Add VK-translations for F1-F12 and HOME | Einar Johan Trøan Sømåen | |
2014-02-18 | WINTERMUTE: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-11-07 | WINTERMUTE: Add the keycode for the ESC key | Filippos Karapetis | |
This is used by Looky | |||
2013-11-05 | WINTERMUTE: Transfer Uint32s explicitly when saving/loading. | Einar Johan Trøan Sømåen | |
2013-10-28 | WINTERMUTE: Transfer booleans explicitly when saving/loading. | Einar Johan Trøan Sømåen | |
2013-08-04 | WINTERMUTE: Fix end of namespace comments. | Johannes Schickel | |
2012-12-13 | WINTERMUTE: Correct the char-code check in BaseKeyboardState | Einar Johan Trøan Sømåen | |
2012-12-13 | WINTERMUTE: Use ascii for detecting printable-characters instead of Keycode. | Einar Johan Trøan Sømåen | |
2012-12-03 | WINTERMUTE: Privatize members in BaseKeyboardState | Einar Johan Trøan Sømåen | |
2012-09-29 | WINTERMUTE: Make scGetProperty use Common::String& instead of const char* | Einar Johan Trøan Sømåen | |
2012-09-04 | WINTERMUTE: Convert CRLF to LF | Willem Jan Palenstijn | |
2012-09-04 | Revert "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-04 | WINTERMUTE: 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-04 | WINTERMUTE: Remove extra semicolon. | Johannes Schickel | |
2012-09-01 | WINTERMUTE: Fix various comments. | Einar Johan Trøan Sømåen | |
2012-08-13 | WINTERMUTE: WinterMute -> Wintermute | Einar Johan Trøan Sømåen | |
2012-07-27 | WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : ↵ | Einar Johan Trøan Sømåen | |
SuperClass(args) | |||
2012-07-27 | WINTERMUTE: Support the SPACE-key as a printable character. | Einar Johan Trøan Sømåen | |
2012-07-26 | WINTERMUTE: Run Astyle with add-braces to break one-line statements into ↵ | Einar Johan Trøan Sømåen | |
easier-to-read-code. | |||
2012-07-26 | WINTERMUTE: AStyle-formatting. | Einar Johan Trøan Sømåen | |
2012-07-25 | WINTERMUTE: "if(" -> "if (" | Einar Johan Trøan Sømåen | |
2012-07-23 | WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base. | Einar Johan Trøan Sømåen | |
2012-07-23 | WINTERMUTE: Remove dcgf.h from almost all includes. | Einar Johan Trøan Sømåen | |
2012-07-21 | WINTERMUTE: Get rid of the C-prefix for class-definitions. | Einar Johan Trøan Sømåen | |
2012-07-21 | WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames | Einar 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. |