Commit graph

167 commits

Author SHA1 Message Date
Leon Styhre 4f019c3775 Added support for defining multiple imageType entries.
Also made some improvements to GameSelectorComponent and related logic.
2022-02-14 19:32:07 +01:00
Leon Styhre cc8123f5a6 Added a GameSelectorComponent for displaying game media in SystemView. 2022-02-13 20:03:34 +01:00
Leon Styhre a443f86235 Removed a huge amount of unnecessary Window* function arguments. 2022-01-19 18:01:54 +01:00
Leon Styhre e6c36e88c5 Moved UIModeController.cpp from the es-app/views directory to es-app 2022-01-17 21:53:23 +01:00
Leon Styhre 0c8efee8ad General refactoring and code cleanup. 2022-01-16 18:18:28 +01:00
Leon Styhre 8a6652552f Set the clang-format option SpaceBeforeCpp11BracedList to true. 2022-01-16 12:09:55 +01:00
Leon Styhre 92f5284bf3 Added support for scraping fan art images.
Also added scraping of box back covers when using TheGamesDB.
2022-01-15 13:16:23 +01:00
Leon Styhre 65702b6689 Added the ability to set a sortname specifically for custom collections. 2022-01-15 11:50:51 +01:00
Leon Styhre b4e08ba92b Renamed Platform to utils/PlatformUtil 2022-01-10 18:56:04 +01:00
Leon Styhre 2d149c5161 Moved all Platform functions to the utility namespace. 2022-01-10 18:43:17 +01:00
Leon Styhre b16ea29088 Added theme support and proper application integration for LottieComponent. 2022-01-09 13:43:42 +01:00
Leon Styhre 254b00a3d8 Large refactoring to improve thread safety and improve singleton pattern usage. 2022-01-04 21:21:26 +01:00
Leon Styhre 0a72780b59 Fixed two small typos. 2022-01-02 21:02:43 +01:00
Leon Styhre 361a93fd37 (Windows) Added support for appending strings to the winregistryvalue find rule. 2021-12-24 12:26:34 +01:00
Leon Styhre 96bbd25e79 Added support for prefixing the es_systems.xml %EMULATOR_% variable with a command.
Also added trimming of leading and trailing whitespace characters from the launch command.
2021-12-16 18:05:36 +01:00
Leon Styhre 045e56ae3f (Windows) Changed the fullscreen mode to SDL_WINDOW_BORDERLESS.
Also removed the 'AMD and Intel GPU game launch workaround' menu option.
2021-12-09 18:53:22 +01:00
Leon Styhre 50a8edecf3 Added the system name and full system name as arguments to the game-start and game-end custom events. 2021-12-05 11:28:09 +01:00
Leon Styhre 36dd70b476 Fixed an issue where text scrolling would get disabled upon failed game launches. 2021-12-02 20:42:49 +01:00
Leon Styhre 7c07c0d5cf Added a 'winregistryvalue' find rule and a %RUNINBACKGROUND% variable. 2021-11-22 20:03:05 +01:00
Leon Styhre 445b914379 Completely refactored MameNames. 2021-11-17 21:32:40 +01:00
Leon Styhre dd0f36f82b Changed most increment and decrement operators from postfix to prefix for es-app. 2021-11-17 17:35:34 +01:00
Leon Styhre b742951dc0 Removed some unnecessary includes of AudioManager.h 2021-11-15 20:52:36 +01:00
Leon Styhre 3e12fcb420 General refactoring and minor optimizations throughout the codebase. 2021-11-09 22:40:08 +01:00
Leon Styhre d5fa6bc82c Added support for scraping title screens, box back covers and physical media images. 2021-10-28 21:00:23 +02:00
Leon Styhre 93950cf4de Simplified the code for info popups. 2021-10-07 18:31:40 +02:00
Leon Styhre 42cd0c1ad7 Disabled text scrolling when running media player or screensaver or when running in the background. 2021-10-06 17:24:25 +02:00
Leon Styhre ed7843e898 Fixed an issue where brackets were removed from game names in collection system views. 2021-09-23 17:11:49 +02:00
Leon Styhre 0c3a7d7d94 Alternative emulators now work correctly when games are launched from collection systems. 2021-09-23 17:07:27 +02:00
Leon Styhre fad326c3bd Miscellaneous code cleanup. 2021-09-19 19:46:59 +02:00
Leon Styhre 63767347f2 Fixed numerous compiler warnings reported by the -Wall and -Wpedantic flags. 2021-09-19 14:37:10 +02:00
Leon Styhre 0b6d987263 Fixed lots of compiler warnings reported by the -Wall and -Wpedantic flags. 2021-09-18 09:53:26 +02:00
Leon Styhre 1ad55cdcec Two small cosmetic changes related to the alternative emulators logic. 2021-09-05 17:29:51 +02:00
Leon Styhre 5942b2815e Added support for selecting alternative emulators per game.
Also made some changes to the system-wide alternative emulators logic.
2021-09-04 11:21:55 +02:00
Leon Styhre ed9d978bbf Added additional debug logging when launching games using alternative emulators. 2021-08-24 20:45:24 +02:00
Leon Styhre e47958b3fd Minimal code formatting change. 2021-08-24 18:29:46 +02:00
Leon Styhre 5381f38231 Added support for defining and choosing between alternative emulators. 2021-08-22 15:26:38 +02:00
Leon Styhre 7b5d673050 Replaced the internal Vector2i data type and functions with the GLM library equivalent.
Also applied some code formatting changes for braced lists using clang-format.
2021-08-17 18:41:45 +02:00
Leon Styhre c958a94ca6 (Windows) Hiding of console windows during game launches can now be configured via the %HIDEWINDOW% variable. 2021-07-16 17:56:16 +02:00
Leon Styhre 4197ad7f6a (Windows) Fixed a game launching issue when passing parameters using a forward slash. 2021-07-16 17:14:16 +02:00
Leon Styhre af5e32e121 Formatted the es-app source tree using clang-format. 2021-07-07 20:03:42 +02:00
Leon Styhre 369c9cdd0f Added support for using the ROMPATH variable in the staticpath find rule. 2021-07-01 17:55:00 +02:00
Leon Styhre 4dc6355a34 (Windows) Fixed a game launching issue. 2021-06-30 20:04:20 +02:00
Leon Styhre 0b47a90b3e (Windows) Added game launch workaround for an AMD and Intel GPU issue. 2021-06-30 18:08:13 +02:00
Leon Styhre bad7aaf4be Fixed multiple issues with the find rules logic and with launching games.
Also added some more debug logging when launching games.
2021-06-30 17:37:17 +02:00
Leon Styhre c2f1ba0585 Cosmetic fix for a notification when the emulator core is missing. 2021-06-29 22:08:04 +02:00
Leon Styhre 4ba2e67e9f Added support for using the %ESPATH% variable in the media directory setting. 2021-06-29 17:19:47 +02:00
Leon Styhre 4160732ab0 (Windows) Added a find rule to search the Windows Registry for the emulator. 2021-06-26 12:00:09 +02:00
Leon Styhre 36be8019a9 Removed the legacy support for placing game media in the ROM directory. 2021-06-24 21:11:24 +02:00
Leon Styhre 22cbc71ef8 Changed a variable name in FileData that was too similarly named to another variable. 2021-06-23 20:37:18 +02:00
Leon Styhre f25980f43b Fixed an issue where the home directory was not expanded for the staticpath find rule. 2021-06-23 17:49:47 +02:00