Commit graph

182 commits

Author SHA1 Message Date
Leon Styhre 2501a0aa26 Fixed two incorrect code comments. 2023-01-29 22:42:15 +01:00
Leon Styhre 5125f81c78 SDL events are now parsed on startup before the main application loop.
Also removed the mouse pointer removal hack.
2023-01-29 22:38:16 +01:00
Leon Styhre e9b1718fca Multiple improvements to the progress bar to reduce startup times and increase consistency.
Also changed from SDL_GetTicks64() to SDL_GetTicks() in SystemData as the 64-bit function doesn't work with older SDL releases.
2023-01-27 17:34:38 +01:00
Leon Styhre bddaf5f7e9 Added a startup log message about the number of parsed and loaded systems. 2023-01-25 21:55:14 +01:00
Leon Styhre fc282f559c The systems are now counted upfront for accurate progress bar positioning if there's a custom es_systems.xml file in use. 2023-01-23 23:38:25 +01:00
Leon Styhre 1e52884abe Changed a data type. 2023-01-23 18:05:54 +01:00
Leon Styhre 0bfda9955c Made the splash screen progress bar animation slightly smoother. 2023-01-23 00:09:31 +01:00
Leon Styhre 24e40ea348 One more try to limit buffer swaps during splash screen rendering. 2023-01-23 00:01:36 +01:00
Leon Styhre 022446bce7 Found a better method to limit buffer swaps during splash screen rendering. 2023-01-22 23:24:08 +01:00
Leon Styhre e44c18bc1b Added a startup progress bar to the splash screen. 2023-01-22 21:03:08 +01:00
Leon Styhre 7e30f3f3cf Improved the symlink loop detection on application startup. 2023-01-16 17:43:02 +01:00
Leon Styhre f2fd8cf6a8 Modified and added some variables and properties to support better letter case controls for collection names. 2023-01-13 11:03:23 +01:00
Leon Styhre 9a9ac17aa3 Clarified the use of SystemData::setIsGameSystemStatus() 2023-01-09 20:29:50 +01:00
Leon Styhre fa67018b72 Added variant trigger support. 2023-01-04 19:01:41 +01:00
Leon Styhre 7500f81f82 Improved the log output on theme loading errors. 2022-12-22 17:16:16 +01:00
Leon Styhre 1bbed6cc04 gamelist.xml files are no longer loaded from the ROMs/system directories. 2022-12-20 20:20:02 +01:00
Leon Styhre e56eaeb2bd Fixed an issue where a reference to a deleted object could hang or crash the application. 2022-12-20 18:43:59 +01:00
Leon Styhre d692e8f9cd Fixed a crash when attempting to use extension-less files in gamelists containing folders. 2022-12-14 17:56:50 +01:00
Leon Styhre ab31eafaca Some code cleanup. 2022-12-14 17:30:34 +01:00
Leon Styhre c870664615 Missing theme files defined using variables now only trigger debug messages instead of errors or warnings.
Also added two DebugSkipMissingThemeFiles and DebugSkipMissingThemeFilesCustomCollections settings.
2022-10-29 13:04:00 +02:00
Leon Styhre 103e59b54d Fixed an issue where mutually exclusive system variables could lead to theme loading errors. 2022-10-17 22:21:52 +02:00
Leon Styhre a142da3d34 Line breaks are now filtered out from systems names and system full names if specified as such in the es_systems.xml file. 2022-10-08 10:02:12 +02:00
Leon Styhre b055493894 Fixed an issue where multiple levels of symlinking in the ROMs directory tree could crash the application on startup. 2022-09-10 11:12:48 +02:00
Leon Styhre 81268fb11c (Windows) Changed many logging entries to use backslashes instead of forward slashes as directory separators. 2022-07-01 16:39:18 +02:00
Leon Styhre 3aadc42c28 Added an es_log.txt entry when the 'Only show ROMs from gamelist.xml files' setting is enabled. 2022-06-29 17:19:28 +02:00
Leon Styhre 40bf018aaa Changed theme loading into a populateThemeSets function and created a separate getter function.
Also removed a deprecated theme check in the game directory.
2022-06-11 18:34:53 +02:00
Leon Styhre eb3fb3d953 Added support for placing a noload.txt file in the root of a system/ROM directory to keep it from getting loaded. 2022-06-05 11:52:33 +02:00
Leon Styhre 09992b5bee Clarified a code comment about directories interpreted as files. 2022-05-18 23:02:53 +02:00
Leon Styhre 9ee56da021 Added experimental support for folder flattening. 2022-05-18 19:47:51 +02:00
Leon Styhre 490868088d (Windows) Fixed an issue where ROM directories could not be created in the root of a device. 2022-05-07 14:11:16 +02:00
Leon Styhre 9802538464 Changed a system loading log entry from warning to debug level. 2022-04-05 17:50:47 +02:00
Leon Styhre f8bd60ceec Fixed an issue where the game systems were not sorted correctly. 2022-04-04 23:18:10 +02:00
Leon Styhre ee1a0f7cd3 Added support for using the tilde symbol for ROM path tags in es_systems.xml 2022-02-16 19:32:02 +01:00
Leon Styhre eb3729a5fb Fixed a few crashes related to GameSelectorComponent. 2022-02-13 23:15:43 +01:00
Leon Styhre bdbc0580d2 Added two more theme system variables. 2022-02-09 23:10:45 +01:00
Leon Styhre 59f9791efe Added new theme system variables for differentiating between collections and non-collection systems. 2022-02-09 23:00:15 +01:00
Leon Styhre d414c3b845 Removed some unnecessary functions in SystemData. 2022-01-30 21:53:22 +01:00
Leon Styhre dc20a9e21b Cleaned up ThemeData a bit. 2022-01-23 20:03:50 +01:00
Leon Styhre 644f79ebec Improved the theme loading error logging.
Also cleaned up the code a bit.
2022-01-23 17:50:51 +01:00
Leon Styhre 51578903ff Replaced the legacy gamelist code with rudimentary support for GamelistBase and GamelistView. 2022-01-18 20:42:50 +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 97e08922a0 Renamed GamelistFileParse to GamelistFileParser and moved it to its own namespace. 2022-01-15 14:12:56 +01:00
Leon Styhre b43c991a9d Renamed Gamelist.cpp/Gamelist.h to GamelistFileParse. 2022-01-15 13:57:08 +01:00
Leon Styhre c7964b7ebc Renamed GameList to Gamelist throughout the codebase. 2022-01-15 13:38:09 +01:00
Leon Styhre a233b96c2a Removed some unnecessary typedefs and replaced the remaining ones with the more modern 'using' keyword.
Also harmonized the names of some user defined types and made some other minor cleanup.
2022-01-11 21:57:00 +01:00
Leon Styhre b4e08ba92b Renamed Platform to utils/PlatformUtil 2022-01-10 18:56:04 +01:00
Leon Styhre 119dfc90f8 Changed ViewController::get() to ViewController::getInstance() 2022-01-04 21:49:22 +01:00
Leon Styhre 254b00a3d8 Large refactoring to improve thread safety and improve singleton pattern usage. 2022-01-04 21:21:26 +01:00