Commit Graph
137148 Commits
Author SHA1 Message Date
Eugene Sandulenko cdd2d9336b GRAPHICS: MACGUI: Simplified color matching 2020-01-31 00:10:18 +01:00
Eugene Sandulenko a1cce6dfee PINK: Fix warning 2020-01-31 00:10:18 +01:00
Eugene Sandulenko 2ec72ea3dd GRAPHICS: MACGUI: Add helper method for color searching 2020-01-31 00:10:18 +01:00
Lothar Serra Mari 58895c37de NEWS: Add 2.1.1 release codename to German NEWS file 2020-01-30 21:22:51 +01:00
Bastien Bouclet a56383e699 TESTBED: Use a dedicated dialog layout for the configuration dialog
The testbed configuration dialog was previously re-using the browser
dialog. That dialog is defined to overlay the game list from the launcher
screen. However, while in the testbed engine the dimensions of
the layout of the launcher dialog may have been lost, causing the
configuration dialog to fail to layout.
2020-01-30 07:34:27 +01:00
Bastien Bouclet f7a934b687 GUI: Use a default size for dialogs when the overlayed dialog has not been sized
Some dialogs overlay the launcher's game list. However, the launcher is
not always shown and as such is not always layed out. Laying out the
dependent dialogs would fail. This problem was indroduced with the
dynamic layout system. Previously the dialogs were layed out eagerly on
theme initialization. Which is no longer possible as dialogs now need to
be initialized to be layed out.
2020-01-30 07:34:27 +01:00
Eugene Sandulenko 9107f5cec2 BUILD: Fix publish-appcast target since we now keep the cast in web git too. 2020-01-30 00:36:31 +01:00
Eugene Sandulenko 2d3c98faef DISTS: Updated Sparkle cast for 2.1.1 2020-01-30 00:21:22 +01:00
Eugene Sandulenko 040d6514eb JANITORIAL: Whitepsace fixes 2020-01-30 00:14:41 +01:00
Eugene Sandulenko 1df7abfe95 NEWS: Add 2.1.1 release codename 2020-01-30 00:14:41 +01:00
jepael 82e0a09610 DIRECTOR: Fix compiler warning 2020-01-29 22:57:32 +01:00
Lothar Serra Mari 09681b01eb NEWS: Update German NEWS file 2020-01-29 18:26:33 +01:00
Eugene Sandulenko a37d933bea DIRECTOR: LINGO: Fix regression in THEENTITYWITHID parsing 2020-01-29 16:58:15 +01:00
Eugene Sandulenko 8f5ada351d DIRECTOR: LINGO: Added more test to 'the sprite <n>' keyword 2020-01-29 16:55:19 +01:00
Eugene Sandulenko 9f168ae447 KEYMAPPER: Fix class/struct declaration mess. 2020-01-29 16:48:46 +01:00
Eugene Sandulenko d1805a582e BACKENDS: KEYMAPPER: Hid noisy warning 2020-01-29 16:48:46 +01:00
Bastien Bouclet 161ca5285d PS3: Fix controller button name
Geometrically accurate is not good enough.
2020-01-29 16:28:36 +01:00
Eugene Sandulenko 57b284737b PRINCE: I18N: Update translation (English)
Currently translated at 79.5% (2160 of 2717 strings)
2020-01-29 15:07:08 +00:00
Eugene Sandulenko f6304709cc I18N: PRINCE: Mark all previously translated strings for check 2020-01-29 15:22:55 +01:00
Eugene Sandulenko e0f28967ba PRINCE: I18N: Update translation (English)
Currently translated at 100.0% (2757 of 2757 strings)
2020-01-29 13:18:54 +00:00
Eugene Sandulenko c376745974 I18N: PRINCE: Check for marking strings for edit. 2020-01-29 14:06:13 +01:00
Eugene Sandulenko 16238b33a0 PRINCE: I18N: Update translation (English)
Currently translated at 100.0% (2757 of 2757 strings)
2020-01-29 13:05:04 +00:00
Bastien Bouclet 8a8336328e SDL: Fix build with SDL1 2020-01-29 09:11:37 +01:00
Bastien Bouclet b3345e79a9 I18N: Update POTFILES for the keymapper changes 2020-01-29 08:51:30 +01:00
Bastien Bouclet 05a7ca7b76 PS3: Use the appropriate gamepad button names for the keymapper 2020-01-29 08:51:30 +01:00
Bastien Bouclet 78ab571519 3DS: Update the port to take advantage of the new keymapper 2020-01-29 08:51:30 +01:00
Bastien Bouclet 2ef7365401 KEYMAPPER: Change backend default bindings to replace keymap defaults
Previously backend defaults where added to the keymap defaults.
However, it became apparent backends need to change the default bindings
to resolve conflicts.
2020-01-29 08:51:30 +01:00
Bastien Bouclet 43184657e9 EVENTS: Disable ScummVM's source of keyboard repeat events by default
Backends can still (and do) generate such events. This works around an
issue with the keymapper where the "DOWN" event would be mapped to a
key, but the corresponding "UP" event would be mapped to another one due
to a keymap change. The keyboard repeat generation system would believe
the key to be still pressed and send a continuous stream of repeat
events.
Ideally the keymapper should be fixed to always generate matching event
pairs. However this source of an infinite stream of events still looks
like trouble waiting to happen to me. Hence disabling it by default.
2020-01-29 08:51:30 +01:00
Bastien Bouclet 5106563c65 MOHAWK: MYST: Add a keymap 2020-01-29 08:51:30 +01:00
Bastien Bouclet cc15496e9e KEYMAPPER: Use a dropdown button to save horizontal space 2020-01-29 08:51:30 +01:00
Bastien Bouclet 5079fa9dd4 KEYMAPPER: Sort the mappings by type and id in the remap dialog 2020-01-29 08:51:29 +01:00
Bastien Bouclet 17a13c9294 KEYMAPPER: Shorten the name of some joystick inputs
So they fit more easily in the remap dialog
2020-01-29 08:51:29 +01:00
Bastien Bouclet c001094bce KEYMAPPER: Add a button in the remap dialog to reset an entire keymap 2020-01-29 08:51:29 +01:00
Bastien Bouclet 7ecccd3b30 MOHAWK: RIVEN: Add default joystick action mappings 2020-01-29 08:51:29 +01:00
Bastien Bouclet e973092aef KEYMAPPER: Enable remapping of the mouse buttons 2020-01-29 08:51:29 +01:00
Bastien Bouclet 519b4a57e2 KEYMAPPER: Allow engines to return multiple keymaps
The idea is that keymaps may be situational. A keymap may be always
enabled, while another one may be enabled only during combat..
2020-01-29 08:51:29 +01:00
Bastien Bouclet 426867f4bc KEYMAPPER: Give human readable descriptions to the keymaps 2020-01-29 08:51:29 +01:00
Bastien Bouclet 376a77e735 PEGASUS: Add default joystick action bindings 2020-01-29 08:51:29 +01:00
Bastien Bouclet 32174c9067 KEYMAPPER: Actions can now be bound to joystick buttons 2020-01-29 08:51:29 +01:00
Bastien Bouclet 85f476070b PEGASUS: Use custom engine actions for key input 2020-01-29 08:51:29 +01:00
Bastien Bouclet df7ce0c55f KEYMAPPER: Rework HardwareInputSet not to allocate all possible inputs 2020-01-29 08:51:29 +01:00
Bastien Bouclet 0995f40677 MOHAWK: RIVEN: Use custom engine actions for event handing 2020-01-29 08:51:29 +01:00
Bastien Bouclet df4bf6556c KEYMAPPER: Introduce custom engine actions
Custom engine actions are a new type of event the Keymapper can produce.
When an engine declares its keymap, it can declare it wants to receive
custom action events when the corresponding key is pressed, instead of
the originating hardware input events.

This system allows:
* Key bindings to be specified only once when declaring the keymap,
  instead of twice (when handling the events).
* To truly rebind keys in the keymaps dialog. When using traditional
  event mapping, the keymapper remaps the user keypress to the keypress
  expected by the game engine to perform the action. However, the engine
  still accepts the original keys.

The new concept of 'standard actions' defines a set of engine actions
that are commonly available in the games supported by ScummVM. Backends
can define default bindings for the standard actions to hardware
specific input devices.
2020-01-29 08:51:29 +01:00
Bastien Bouclet 13fbdb935a KEYMAPPER: Use custom backend actions for the SDL graphics keymap 2020-01-29 08:51:29 +01:00
Bastien Bouclet be49fc4b9a SDL: Add a keymap for the graphics manager 2020-01-29 08:51:29 +01:00
Bastien Bouclet c131e8f5b9 EVENTS: Use the keymapper for some previously hard-coded key bindings 2020-01-29 08:51:29 +01:00
Bastien Bouclet 7617723ab5 KEYMAPPER: Allow backends to register multiple keymaps 2020-01-29 08:51:29 +01:00
Bastien Bouclet ec9c394787 KEYMAPPER: Remove DefaultEventMapper
Now the keymapper is enabled by default, it does not make sense to have
a separate class anymore.
2020-01-29 08:51:29 +01:00
Bastien Bouclet d2f09a4bfc BUILD: Don't build the event recorder by default
It's been broken for a few years, see bug #10045. It's said not to work
with the keymapper which is now always enabled.
2020-01-29 08:51:29 +01:00
Bastien Bouclet 14663c4790 KEYMAPPER: Make the keymapper mandatory 2020-01-29 08:51:29 +01:00