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
D G Turner
d0592f379f
SURFACESDL: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-30 19:53:11 +00:00
Michael Ball
6f678e6e84
3DS: Prevent magnify effect from updating while the GUI is active
2019-11-30 18:53:23 +01:00
Cameron Cawley
2048c9cc78
AUDIO: Remove unused parameter from the MixerImpl constructor
2019-11-30 17:47:34 +02:00
Thanasis Antoniou
b5f9d70c44
ANDROID: Add docs and port dist files to Assets
2019-11-25 13:53:48 +02:00
Cameron Cawley
574db58b27
ANDROIDSDL: Remove unused graphics manager
2019-11-24 22:55:34 +02:00
D G Turner
3db6aed4e4
LINUXMOTO: Fix Compilation
2019-11-24 08:57:46 +00:00
D G Turner
8014fe06fc
LINUXMOTO: Implement horizontal shake
2019-11-24 01:41:14 +00:00
Cameron Cawley
8ae0be4ae3
GPH: Remove unused variable
2019-11-23 18:42:04 +00:00
Cameron Cawley
a2110d36f9
BACKENDS: Unify formatting between the GPH, Dingux and LinuxMoto backends
2019-11-23 18:40:43 +00:00
D G Turner
e04480d700
LINUXMOTO: Hopefully Fix Compilation
2019-11-23 17:04:39 +00:00
D G Turner
97b7a38499
LINUXMOTO: Further Replacement of old SurfaceSdlGraphicsManager APIs
2019-11-23 16:56:33 +00:00
D G Turner
e515998da0
LINUXMOTO: Replace usage of old SurfaceSdlGraphicsManager APIs
2019-11-23 16:37:51 +00:00
D G Turner
77d13f7bce
LINUXMOTO: Fix Missing Declaration in Graphics Class
2019-11-23 15:36:37 +00:00
Bastien Bouclet
aff46219ef
POSIX: Fix PSP2 and PS3 build
2019-11-22 18:43:29 +01:00
D G Turner
4ce5157376
POSIX: Fix Compilation Linker Error
...
There was a duplicated object inclusion in the module makefile defines.
2019-11-21 11:30:29 +00:00
Bastien Bouclet
f8d551803c
POSIX: Use fstat instead of fseek / ftell to retrieve file stream sizes
...
fstat is generally faster as is does not cause the IO buffer to be
invalidated / refilled.
Benchmark results for the startup time of the SCI engine with Gabriel
Knight 1 CD:
- Linux, glibc, spinning HDD, fseek/ftell: 140 ms
- Linux, glibc, spinning HDD, fstat: 100 ms
- 3DS, newlib, SD card, fseek/ftell: 68 s
- 3DS, newlib, SD card, fstat: 11 s
2019-11-20 20:54:23 +01:00
sluicebox
be0304d9d6
GPH: Implement horizontal shake
2019-11-20 11:13:03 -08:00
sluicebox
0d56515a70
DINGUX: Implement horizontal shake
2019-11-20 11:13:03 -08:00
D G Turner
19e56e5e1f
LINUXMOTO: Fix Compilation Breakage from Screen Shake API Changes
...
This was broken by the recent modifications to the SurfaceSDLGraphics class
which this inherits from.
2019-11-20 13:26:17 +00:00
D G Turner
cac14ad699
GPH: Fix Compilation Breakage from Screen Shake API Changes
...
This was broken by the recent modifications to the SurfaceSDLGraphics class
which this inherits from.
2019-11-20 12:21:32 +00:00
D G Turner
f014f9a6f2
DINGUX: Fix Compilation Breakage from Screen Shake API Changes
...
This was broken by the recent modifications to the SurfaceSDLGraphics class
which this inherits from.
2019-11-20 12:14:52 +00:00
sluicebox
8057cfa38f
SDL: Implement horizontal shake
2019-11-19 00:20:40 +01:00
sluicebox
40415a5c4a
IPHONE: Implement horizontal shake
2019-11-19 00:20:40 +01:00
sluicebox
42217b5852
IOS7: Implement horizontal shake
2019-11-19 00:20:40 +01:00
sluicebox
ec840a73c7
WII: Implement horizontal shake
2019-11-19 00:20:40 +01:00