Commit Graph

7082 Commits

Author SHA1 Message Date
Bastien Bouclet
3b5016a62d KEYMAPPER: Change the remap dialog to use a scrollable container 2020-01-26 19:07:53 +01:00
Bastien Bouclet
9c0bc2b633 KEYMAPPER: Simplify the way keymaps are enabled and disabled 2020-01-26 19:07:53 +01:00
Bastien Bouclet
ac44469558 KEYMAPPER: Remove the domain class 2020-01-26 19:07:53 +01:00
Bastien Bouclet
930ff55421 KEYMAPPER: Simplify the event mapping logic 2020-01-26 19:07:53 +01:00
Bastien Bouclet
7edff01e69 KEYMAPPER: Move the remap event capture logic out of the keymapper 2020-01-26 19:07:53 +01:00
Bastien Bouclet
28e3f2aed7 KEYMAPPER: Remove dead code 2020-01-26 19:07:53 +01:00
Bastien Bouclet
e197a75829 KEYMAPPER: Action can generate only a single event 2020-01-26 19:07:53 +01:00
Bastien Bouclet
a449b87c5d KEYMAPPER: Remove action id length restriction 2020-01-26 19:07:53 +01:00
Bastien Bouclet
b7a816f1eb KEYMAPPER: Clean up the classes dependencies 2020-01-26 19:07:53 +01:00
rsn8887
1489f2ed0f OPENGL: Fix GUI centering when using Fit to window (4:3) mode 2020-01-23 15:06:08 -06:00
Thierry Crozat
ea53202de9 IPHONE: Disable idle timer while an engine is running 2020-01-23 20:33:37 +00:00
Bastien Bouclet
0339b9a6bf SDL: Use the name of the running target as a base for screenshot files 2020-01-22 21:27:38 +02:00
rsn8887
b8cf747ad5 OPENGL: Implement stretch mode Fit to window (4:3) 2020-01-22 04:24:42 -06:00
Cameron Cawley
9fc24522d7 BACKENDS: Add more keycodes 2020-01-21 03:28:22 +02:00
rsn8887
12977d07d6 SWITCH: Update platform readme and include it in zip 2020-01-20 18:37:06 -06:00
Cameron Cawley
c9824ad206 ANDROID: Improve handling of system keys
- Unrecognised system keys are treated as regular keys.
- Key down events are always sent when pressing the Menu or Back buttons.
2020-01-20 21:36:05 +00:00
Cameron Cawley
5950644054 ANDROID: Check the KeyEvent source instead of using getRmbGuard() 2020-01-20 16:19:49 +00:00
Cameron Cawley
24b9e9f390 ANDROID: Remove old and broken keymapper code
This isn't needed after commit 665e472.
2020-01-20 13:54:41 +00:00
Thanasis Antoniou
9753816315 ANDROID: Update starting version code for next release apks to 45 2020-01-19 01:51:12 +02:00
Tarek Soliman
d31b4e4f37 MAEMO: Update debian/changelog 2020-01-17 15:55:22 -06:00
Cameron Cawley
97c3ac5c2c ANDROID: Hide the system mouse cursor on Android N 2020-01-11 18:03:02 +02:00
athrxx
2f919d39e4 GRAPHICS: (really) fix screen shake x/y offsets
I confused window w/h with actual drawing w/h. And obviously forgot to test stretch modes like "Center". Now these modes also seem to work pixel exact...
2020-01-08 20:27:53 +01:00
athrxx
c4780d2bef GRAPHICS: Fix screen shake x/y offsets scaling
The x and y offsets need to be scaled the same way as the rest of the screen output.
2020-01-07 22:47:32 +01:00
Bastien Bouclet
f17a7a96da BASE: Fix being unable to run games when using dynamic plugins
When the plugin-engine mapping is not cached in the configuration file,
we were not scanning all the plugins to establish the mapping.

This is a regression from commit: e2d91258b7

This commit reverts the offending commit and implements a proper fix for
the case where there are no dynamic plugins.

Fixes #11300.
2020-01-04 17:49:32 +01:00
Bastien Bouclet
0634762ed6 BACKENDS: Fix the DS, GameCube and Wii builds 2020-01-04 11:26:31 +01:00
Bastien Bouclet
c0d8b6d9fc GUI: Introduce dynamic layouts
Prior to this change, a GUI layout was only affected by the screen size.
Now, a layout can additionally be influenced by the GUI dialog and widgets
that uses it. This capability is leveraged to implement the following
features:

* Layout elements that are not bound to a GUI widget do not take space.
   This means that dialogs where the widgets shown depend on for example
   a feature being enabled at configure time no longer have blank spaces.
* Widgets can define a minimal required size for their contents not to be
   cut. For now this is only used for buttons so their width is always
   sufficient for their caption not to be cut. This mechanism could be
   applied to other widget types in the future.
2020-01-04 10:56:25 +01:00
Cameron Cawley
d289fa5f98 OPENGL: Ensure surfaces created by saveScreenshot are the right way up 2020-01-02 20:53:29 +02:00
Eugene Sandulenko
c05b911563 ALL: Bump copyright year to 2020 2020-01-01 00:01:00 +01:00
Bastien Bouclet
b0d0dd1bbe 3DS: Enable GDB host IO 2019-12-31 05:29:37 +01:00
Bastien Bouclet
2c6dedaec8 3DS: Add missing makefile dependency
Make cannot automatically deduce that the shader assembler generates the
.h file that is required to build osystem-graphics.cpp.
2019-12-25 08:59:17 +01:00
Cameron Cawley
e2e72af31d SDL: Remove duplicated cursorStretch200To240() function 2019-12-25 08:52:19 +02:00
Thanasis Antoniou
0357293897 ANDROID: Fix crash due to adding '.' folder in SearchManager 2019-12-16 22:59:10 +02:00
Cameron Cawley
e92ac655be BACKENDS: Add default implementation for GraphicsMode functions 2019-12-15 16:06:56 +02:00
Cameron Cawley
0edf2da7ba
3DS: Fix compilation 2019-12-14 18:42:37 +00:00
Cameron Cawley
c3c3137ab3 BACKENDS: Move nextHigher2() into common/algorithm.h 2019-12-14 17:09:18 +02:00
Thanasis Antoniou
97b4ee93f1 ANDROID: Fix bad message id for long press back btn 2019-12-14 15:46:23 +02:00
Thanasis Antoniou
d105041d80 ANDROID: Long press for back button has an alternate (menu button) function 2019-12-14 15:04:43 +02:00
Cameron Cawley
d584df6a0e ANDROID: Improve keyboard support (#1857) 2019-12-14 14:48:47 +02:00
sluicebox
baea8d5c9c COMMON: Make save compression optional when copying
Allows for copying or renaming uncompressed save files, such as
in Phantasmagoria 1, without compressing them in the process.
2019-12-09 22:57:46 -08:00
Cameron Cawley
099ef8db30 PSP: Make the PspTimer class a subclass of DefaultTimerManager 2019-12-10 08:35:13 +02:00
Cameron Cawley
aa083256ec SDL: Simplify implementations of getDefaultConfigFileName() 2019-12-07 21:15:41 +02:00
Paweł Kołodziejski
053ecc39f7 SAMSUNGTV: Fixed compilation 2019-12-04 01:22:00 +01:00
Cameron Cawley
e2d91258b7 PLUGINS: Fix crash when no plugins are available 2019-12-02 11:04:57 +02:00
Bastien Bouclet
34e835a20c 3DS: Implement dynamic plugins
Allows a full build to run on old generation devices
2019-12-01 17:19:50 +01:00
Cameron Cawley
d84ce7e4d5 OPENPANDORA: Fix compilation failures 2019-11-30 23:04:35 +00:00
Cameron Cawley
48615cb83e BACKENDS: Move implementation of OSystem::quit() out of ModularBackend 2019-12-01 01:04:06 +02:00
Cameron Cawley
88761ea49c GPH/OPENPANDORA: Replace use of strcat()/strcpy() with Common::String() 2019-11-30 20:50:27 +00:00
Cameron Cawley
1af8584666 GPH/OPENPANDORA: Remove unnecessary stat() calls
Since commit 04c57ba, this should no longer be necessary.
2019-11-30 20:50:27 +00:00
Cameron Cawley
00fecbb6e6 GPH/OPENPANDORA: Move ToggleTapMode() into the event manager 2019-11-30 20:50:27 +00:00
Cameron Cawley
54e6cf4cda GPH/OPENPANDORA: Remove global variable BUTTON_STATE_L 2019-11-30 20:50:27 +00:00