Commit Graph

9888 Commits

Author SHA1 Message Date
Le Philousophe
17a1b37dda BACKENDS: SDL: Refactor ImGui processing
This unifies the ImGui processing for both 2D and 3D engine.
This also make sure we don't destroy ImGui if init failed (like on older
OpenGL).
The destroy callback is also called whenever we destroy the context.
2024-06-30 15:57:03 +02:00
Le Philousophe
81196ec6c6 OPENGL: Don't use glBlendColor when it's not available
Bare Windows XP only has OpenGL 1.1 implementation where the function
is not here.
Fallback on no blending at all: this is like it was before.
2024-06-30 15:57:03 +02:00
Le Philousophe
3a57523490 ANDROID: Avoid use-after-free when setting up touch mode
We set up touch mode in graphics managers constructor.
At this point, the _graphicsManager variable was pointed to the freshly
deleted old manager instead of being null.
When we are in this position, assume the cursor is at top left.
2024-06-22 20:23:49 +02:00
Le Philousophe
85509bd428 ANDROID: Use float constants
This avoids promotion to double
2024-06-22 11:52:21 +02:00
Donovan Watteau
985d2526d7 GUI: KEYMAPPER: Fix small -Wpedantic warning 2024-06-22 06:01:20 +02:00
Cameron Cawley
1357bfe672 COMMON: Avoid including engine headers in common code for DebugChannelDef 2024-06-20 20:15:57 +01:00
Donovan Watteau
81c0503008 MACOSX: Fix macOS builds with plugins (as used for OSX PPC releases) 2024-06-16 09:12:16 +02:00
Cameron Cawley
a6a369cdd3 GUI: Handle padding for the backend and engine options in the theme definitions 2024-06-14 01:15:12 +02:00
Cameron Cawley
efec9b2d25 GUI: Remove built-in scroll containers from OptionsContainerWidget 2024-06-14 01:15:12 +02:00
Cameron Cawley
65e843c5da GUI: Separate the scroll container from the remap widget 2024-06-14 01:15:12 +02:00
Le Philousophe
de891e4729 DLC: Fix build following Path changes 2024-06-08 11:15:57 +02:00
Le Philousophe
7c1b35f84c DLC: Fix build following changes to networking code API 2024-06-08 11:15:57 +02:00
Le Philousophe
3db0eef3d3 DLC: Fix signedness warnings 2024-06-08 11:15:57 +02:00
Le Philousophe
63c04eb700 EVENTRECORDER: Fix build and obvious mistype error 2024-06-05 19:02:18 +02:00
Cameron Cawley
a27f322cd8 DS: Report the buffer size to the mixer 2024-06-05 12:32:25 +01:00
Le Philousophe
f0609ad962 ANDROID: Fix building from scratch 2024-06-02 10:08:12 +02:00
Le Philousophe
e0eac792df ANDROID: Fix typo in comment 2024-06-01 12:44:11 +02:00
Le Philousophe
c998525443 ANDROID: Use our own ZipFile implementation and load icons when needed 2024-06-01 12:44:11 +02:00
Le Philousophe
c966d31c21 ANDROID: Add our own ZipFile implementation
This allows us to use a FileInputStream (as given by SAF) but with
seeking support.
This avoids us to parse the whole zip files while we only need some of
the files.
2024-06-01 12:44:11 +02:00
Le Philousophe
a329f62069 ANDROID: Add a search field to games list 2024-06-01 12:44:11 +02:00
Le Philousophe
e70b758496 ANDROID: Add UI to add game shortcuts on the launcher
The UI is started using the standard "Add widget" feature from the
launcher.
Loading of game icons is quite slow and could be optimized later.
2024-06-01 12:44:11 +02:00
Le Philousophe
960c74ad6a ANDROID: Add compatibility shims to handle shortcuts and drawables 2024-06-01 12:44:11 +02:00
Le Philousophe
c1827fd420 ANDROID: Add a method to get a ParcelFileDescriptor from a SAFFSNode 2024-06-01 12:44:11 +02:00
Le Philousophe
1a76acc938 ANDROID: Allow sorting of SAFFSNode using their path component 2024-06-01 12:44:11 +02:00
Le Philousophe
81669642da ANDROID: Add getPath method to INIParser
This mimics the getPath method of ConfigManager
2024-06-01 12:44:11 +02:00
Le Philousophe
4ecf2e4ccc ANDROID: Allow to use an Intent to start a specific game
UI to create such intents will come in a later commit.
If the game is already running, it's resumed where it was left when
ScummVM was paused.
2024-06-01 12:44:11 +02:00
Le Philousophe
074344f84e ANDROID: Fix dependencies in port Makefile
Every generated file has now its rule and APKs depend on all the
generated files
2024-06-01 12:44:11 +02:00
Le Philousophe
b3e5cf8e58 ANDROID: Optimize imports 2024-06-01 12:44:11 +02:00
Le Philousophe
30c8b3eec3 ANDROID: Use a dedicated INI parser for our configuration file 2024-06-01 12:44:11 +02:00
Le Philousophe
0c748c894f ANDROID: Use a dedicated properties file for srcdir
This allows to have a real file for gradle.properties.
2024-06-01 12:44:11 +02:00
Giovanni Cascione
c6ad212419 LIBRETRO: remove unneeded translation.h include 2024-06-01 02:53:58 +02:00
Giovanni Cascione
3df20dd9c6 LIBRETRO: BUILD: add FORCE_OPENGL* 2024-05-31 18:21:58 +02:00
Giovanni Cascione
b8dac3f5b0 LIBRETRO: add common/translation.h includes 2024-05-31 18:21:42 +02:00
scemino
4a1209da9f IMGUI: Use docking branch
This is is imgui commit fee0210592b9cb5b1a778f005ffb1fe76b19ced0
2024-05-24 16:35:55 +02:00
Eugene Sandulenko
9829448a02
MACOS: Added missing License files to macOS menu 2024-05-22 21:59:00 +02:00
Eugene Sandulenko
1919a349e4
WIN32: Added missing License files 2024-05-22 21:59:00 +02:00
Eugene Sandulenko
10da6c6acb
MAEMO: Added missing License files 2024-05-22 21:59:00 +02:00
Eugene Sandulenko
472f59c610
LIBRETRO: Moved include to the relevant .cpp file 2024-05-22 21:58:59 +02:00
Eugene Sandulenko
f5fa7aeb0c
IMGUI: Switched to FreeType2 rendering 2024-05-21 21:02:48 +02:00
Eugene Sandulenko
d3cd29d0c1
DIRECTOR: DEBUGGER: Render Score window with smaller font 2024-05-21 11:06:49 +02:00
Le Philousophe
c30b68115a TESTS: Abort runner when error is called
By default null backend exits with 0 error code.
2024-05-19 21:17:31 +02:00
Hubert Maier
2d25aa42ff JANITORIAL: Move 'a' in front of 'really' in windows-text-to-speech.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
d394221d8d JANITORIAL: Revert typo recived fix in imstb_truetype.h 2024-05-18 13:52:31 +02:00
Hubert Maier
842664571c JANITORIAL: Revert typo supress fix in imstb_textedit.h 2024-05-18 13:52:31 +02:00
Hubert Maier
efc30cac11 JANITORIAL: Revert adding an apostrophe to seeked in imgui_widgets.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
db4a348146 JANITORIAL: Revert typo preceeded fix in imgui_tables.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
71fc24b2f4 JANITORIAL: Revert typo everytime fix in imgui_internal.h 2024-05-18 13:52:31 +02:00
Hubert Maier
3946bb493e JANITORIAL: Revert typo unecessary, immediatly and fullfill fixes in imgui.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
777b420dc3 JANITORIAL: Revert typo unecessary fix in imgui.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
31c40623d1 JANITORIAL: Revert typo incude fix in imgui_impl_opengl3_loader.h 2024-05-18 13:52:31 +02:00