Commit graph

61 commits

Author SHA1 Message Date
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 3bbc761c8f Added the ability to control the system name suffix from the theme configuration.
Also removed the corresponding 'Show system names in collections' menu option.
2023-01-14 14:05:24 +01:00
Leon Styhre 0329bd77c2 Added support for mixed case custom collection names as well as the option to always group custom collections.
Also reversed an optimization in CollectionSystemsManager which caused some issues.
2023-01-12 19:45:54 +01:00
Leon Styhre d6db705b93 Eliminated some unnecessary gamelist reloads. 2023-01-01 15:31:03 +01:00
Leon Styhre 171ee4ded2 Minor change to a debug message in CollectionSystemsManager. 2022-10-29 12:56:35 +02:00
Leon Styhre ca52a1d7c5 Fixed a couple of custom collection issues when changing the game counter metadata entry.
Also made some general code cleanup.
2022-09-25 13:03:39 +02:00
Leon Styhre 72ce3d33a8 Some code cleanup. 2022-04-09 16:32:47 +02:00
Leon Styhre 16955e5318 Fixed an issue where the theme sets were not always sorted correctly. 2022-04-09 15:57:37 +02:00
Leon Styhre cc8123f5a6 Added a GameSelectorComponent for displaying game media in SystemView. 2022-02-13 20:03:34 +01:00
Leon Styhre 0ca2b62edf Some minor code cleanup. 2022-01-29 18:16:30 +01:00
Leon Styhre dc20a9e21b Cleaned up ThemeData a bit. 2022-01-23 20:03:50 +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 c7964b7ebc Renamed GameList to Gamelist throughout the codebase. 2022-01-15 13:38:09 +01:00
Leon Styhre cd2ef3d179 Fixed an issue where custom collections could get the wrong sort order after metadata changes. 2022-01-14 17:27:42 +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 f8e201d347 Moved the CollectionSystemsManager cleanup from the destructor to a deinit function. 2022-01-04 23:14:12 +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
Leon Styhre 595786601e Fixed a potential memory leak when enabling the 'All games' collection. 2021-12-27 16:05:58 +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 4c6bfb8b78 Fixed a few issues reported by UBSan. 2021-11-16 22:03:34 +01:00
Leon Styhre 3e12fcb420 General refactoring and minor optimizations throughout the codebase. 2021-11-09 22:40:08 +01:00
Leon Styhre 93950cf4de Simplified the code for info popups. 2021-10-07 18:31:40 +02:00
Leon Styhre f8b9275b4b Fixed a missing filter index update when removing games from custom collections. 2021-09-26 11:14:52 +02:00
Leon Styhre 3233288a8c Improved the string trim function and replaced some inlined occurrences. 2021-09-25 18:01:41 +02:00
Leon Styhre 966d2616be Added support for defining custom system sorting using the <systemsortname> tag. 2021-09-25 11:02:27 +02:00
Leon Styhre 527b9321b5 Leading and trailing whitespaces are now trimmed when requesting a new custom collection name. 2021-09-21 22:15:42 +02:00
Leon Styhre e08d3c6c1d Fixed an issue where a collection notification was not displayed when setting a game to not be counted. 2021-09-21 17:22:32 +02:00
Leon Styhre fad326c3bd Miscellaneous code cleanup. 2021-09-19 19:46:59 +02:00
Leon Styhre 8a51919f31 Added the ability to make complementary game systems customizations. 2021-09-05 17:39:11 +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 96503a23c6 Small code formatting change. 2021-07-07 21:13:40 +02:00
Leon Styhre af5e32e121 Formatted the es-app source tree using clang-format. 2021-07-07 20:03:42 +02:00
Leon Styhre af03efc7c6 Fixed an issue where filtered custom collection games were displayed in the grouped custom collections view. 2021-06-21 22:12:51 +02:00
Leon Styhre dc29b97e91 Changed es_settings.cfg to es_settings.xml 2021-06-16 19:05:24 +02:00
Leon Styhre fa624f9f2c Changed the logic for the systems configuration file, it now loads from the resources directory.
Also renamed the file from es_systems.cfg to es_systems.xml
2021-06-16 18:54:04 +02:00
Leon Styhre a749e2d187 Fixed an uninitialized variable reported by Valgrind. 2021-03-15 18:28:32 +01:00
Leon Styhre 1e845a189a Fixed a potential issue with view style changes for ungrouped custom collections. 2021-03-12 20:14:27 +01:00
Leon Styhre df28513bb0 Fixed multiple issues where the gamelists would not switch view styles after scraping. 2021-03-12 20:06:50 +01:00
Leon Styhre 72fcef8428 Made the delimited string functions in StringUtil more general. 2021-02-06 09:30:05 +01:00
Leon Styhre 393e6f17ce Fixed an issue where adding a game to a collection would not switch the view style. 2021-02-05 17:07:00 +01:00
Leon Styhre 8c704bb47e Fixed an issue where enabling an empty 'recent' collection could crash the application. 2021-02-05 17:03:43 +01:00
Leon Styhre a300632ab8 Fixed an issue where the gamelist filter index would be incorrectly updated. 2021-02-05 17:01:45 +01:00
Leon Styhre 2e5b1b5187 Fixed an issue where repopulating collections did not update the filter indices correctly. 2021-02-04 23:56:39 +01:00
Leon Styhre f5bc2f7c63 Fixed an issue where non-kid games would be shown as random custom collection games in Kid mode. 2021-02-04 20:47:56 +01:00