Commit graph

623 commits

Author SHA1 Message Date
Leon Styhre c530373ddc Improved the integration of the variant and aspect ratio options in the UI Settings menu.
Also reorganized the order of some settings.
2022-02-01 18:06:32 +01:00
Leon Styhre 17d8f8eb5b Fixed a camera animation issue when changing theme variant or aspect ratio. 2022-02-01 00:06:40 +01:00
Leon Styhre d4f572d78d Added preliminary menu options for changing theme variants and aspect ratios. 2022-01-31 23:53:32 +01:00
Leon Styhre dc20a9e21b Cleaned up ThemeData a bit. 2022-01-23 20:03:50 +01:00
Leon Styhre a443f86235 Removed a huge amount of unnecessary Window* function arguments. 2022-01-19 18:01:54 +01:00
Leon Styhre 21b167ed9b Added support to the new gamelist classes for changing view styles.
Also removed the deprecated 'grid' view style and corresponding menu option.
2022-01-18 22:04:05 +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 dfeddebc66 Removed a lot of unnecessary combinations of the virtual and override keywords. 2022-01-18 17:40:47 +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 e64976d4bc Renamed GuiGameScraper to GuiScraperSingle. 2022-01-16 11:10:32 +01:00
Leon Styhre 5f2f439fc3 Moved the fan art scrape menu option to the bottom and set it as disabled by default. 2022-01-16 10:43:12 +01:00
Leon Styhre 89cf82b88e When multi-scraping and scrolling a long name, the start position would sometimes not reset correctly. 2022-01-15 19:28:41 +01:00
Leon Styhre c2619fd520 Added media type checks for fan art and TheGamesDB box back covers to the multi-scraper. 2022-01-15 18:29:38 +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 7323dd5dfd Renamed some GAME_LIST constants to GAMELIST. 2022-01-15 13:49:14 +01:00
Leon Styhre c7964b7ebc Renamed GameList to Gamelist throughout the codebase. 2022-01-15 13:38:09 +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 a135edb02e Fixed multiple issues with scraping and saving metadata in GuiMetaDataEd. 2022-01-15 13:02:45 +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 6ca4d6b96e Removed an unused constructor parameter for GuiMetaDataEd. 2022-01-14 23:42:52 +01:00
Leon Styhre 1fc3dfda8c Fixed an issue when changing the grouping setting for custom collections. 2022-01-14 17:29:20 +01:00
Leon Styhre 73beeeaeaf Fixed two Emscripten compiler warnings. 2022-01-13 20:07:04 +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 d45a67eeab (Windows) Fixed a few compiler errors and warnings. 2022-01-10 19:53:23 +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 87ace0b8cb Changed some shared_ptr return values to use values instead of references. 2022-01-04 22:36:15 +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 2a4e7d22b8 Fixed an issue where the busy indicator would not get displayed during multi-scraping. 2022-01-03 18:44:19 +01:00
Leon Styhre 5bb009e604 Added scraper support for displaying the returned platform if it does not match the game platform. 2022-01-03 18:37:43 +01:00
Leon Styhre f36245886f Set the 'Scrape actual folders' option as enabled by default.
Also moved it higher up in the scraper options menu.
2022-01-03 18:20:49 +01:00
Leon Styhre 6431804ee7 Removed the deprecated VideoVlcComponent. 2022-01-02 13:13:01 +01:00
Leon Styhre daf66c4b60 Added proper support for interpreting directories as files. 2021-12-17 20:18:47 +01:00
Leon Styhre 08bba3cbaf (macOS) Removed the Monterey VSync workaround as Apple has patched its OS. 2021-12-14 17:15:04 +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 de45f3d298 Fixed an issue where the launch screen would contain text rendering artifacts. 2021-12-08 19:58:50 +01:00
Leon Styhre 5019d8c065 Moved the ScreenScraper account toggle to the bottom of the scraper account screen. 2021-12-06 20:21:32 +01:00
Leon Styhre 515577c8f9 (Unix) Changed the fullscreen mode to SDL_WINDOW_FULLSCREEN_DESKTOP.
Also removed the --windowed, --fullscreen-normal and --fullscreen-borderless command line options and menu entry.
2021-12-05 13:51:39 +01:00
Leon Styhre 42c07ee4c5 Another go at fixing a crash after scraping. 2021-12-02 19:28:10 +01:00
Leon Styhre c75ce3c8b0 Fixed a missed code path for a previous crash fix. 2021-12-02 18:35:02 +01:00
Leon Styhre a794c717b6 Fixed an issue where the multi-scraper would sometimes not reload the gamelists. 2021-12-02 17:36:00 +01:00
Leon Styhre 654dc2a546 Fixed a crash that could occur when aborting the single-scraper followed by a re-scrape. 2021-12-02 17:34:30 +01:00
Leon Styhre 6e479dac74 Fixed an issue where the first scraper result row was focused when it shouldn't. 2021-11-27 11:49:56 +01:00
Leon Styhre 775674a77f The 'Custom game collections' menu entry is now grayed out if there are no custom collections. 2021-11-27 00:26:01 +01:00
Leon Styhre 05bcb9b011 Fixed a potential crash when deleting the last custom collection. 2021-11-27 00:08:16 +01:00
Leon Styhre 04453c42ff Removed a blank line that was accidentally added via the last commit. 2021-11-26 23:25:58 +01:00
Leon Styhre 909f96622d Clearing an arcade game name in the metadata editor now sets it to the expanded MAME name. 2021-11-26 23:24:43 +01:00
Leon Styhre 2db8724f4a Fixed a view style change issue that could occur after scraping. 2021-11-26 23:01:10 +01:00
Leon Styhre a4f8fe78e1 Fixed a time zone issue related to the Unix epoch. 2021-11-26 20:55:54 +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 6bc4a09c9b Multiple thread safety improvements to AudioManager and VideoFFmpegComponent.
Also some general refactoring and re-enabling of some SDL_AudioStream functions.
2021-11-15 22:43:06 +01:00
Leon Styhre 1005dfcdb7 (macOS) Added a Monterey VSync bug workaround. 2021-11-12 19:49:24 +01:00
Leon Styhre fd980d7e4a The alternative emulator badges and filters are now disabled if the per-game setting has been disabled. 2021-11-10 22:38:25 +01:00
Leon Styhre b89df021b1 Fixed multiple single-pixel menu alignment issues at lower resolutions. 2021-11-08 19:02:46 +01:00
Leon Styhre ac4710a18e Added proper support for the Raspberry Pi 4. 2021-11-07 23:54:52 +01:00
Leon Styhre af337124d6 Fixed an issue where an invalid scraper entry in es_settings.xml could lead to a crash. 2021-11-06 21:12:13 +01:00
Leon Styhre cdf0227ad4 Fixed a small alignment issue in the scraper GUI and removed an ugly hack. 2021-11-05 20:31:24 +01:00
Leon Styhre 14c2c68683 Game name filter input is not converted to uppercase any longer.
Also added trimming of leading and ending whitespace characters.
2021-11-05 10:32:24 +01:00
Leon Styhre 4970fce113 Changed the description for the Grid view style from 'experimental' to 'deprecated'. 2021-11-04 16:59:14 +01:00
Leon Styhre 99c9a1fa28 Minor change to a notification window regarding the miximage offline generator. 2021-11-04 10:07:08 +01:00
Leon Styhre 7606e9cad6 Added the physical media images to the miximages.
Also added an option to rotate horizontally oriented game boxes and size options for the box and physical media files.
2021-10-30 19:01:58 +02: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 5ca4b85549 Added scraping of controller metadata (arcade systems only). 2021-10-27 19:23:57 +02:00
Leon Styhre facc1d4c0a Fixed an issue where the multi-scraper would not update the filter index. 2021-10-27 19:06:37 +02:00
Leon Styhre 270a2e3857 Added an option to preload gamelists on startup. 2021-10-25 17:56:17 +02:00
Leon Styhre 593cfdbdd7 Fixed multiple issues where menu sizes were not properly initialized. 2021-10-24 14:11:19 +02:00
Leon Styhre 0cf52c2d71 Made it possible to filter the 'Controller badge' metadata field. 2021-10-24 13:05:44 +02:00
Leon Styhre 5c4d0821e2 Renamed 'Controller' to 'Controller badge' in the metadata editor. 2021-10-23 22:49:34 +02:00
Leon Styhre 1aa360598d Renamed BadgesComponent to BadgeComponent. 2021-10-23 20:28:07 +02:00
Leon Styhre b5a61a0617 Renamed 'controller types' to 'game controllers' (code) and simply 'controllers' (metadata editor). 2021-10-23 20:14:17 +02:00
Leon Styhre 84514f67d0 Added support for controller types. 2021-10-23 19:08:32 +02:00
Leon Styhre 484606fb6f Added horizontal scrolling of long game names to the scraper GUI. 2021-10-18 19:24:47 +02:00
Leon Styhre 1650b33b9a Changed a few code comments. 2021-10-18 18:12:19 +02:00
Leon Styhre 4c556fc820 Changed the position of the per-game alternative emulator selector window. 2021-10-16 12:23:32 +02:00
Leon Styhre 97af891b66 Increased the game description row count for the automatic multi-scraper. 2021-10-15 21:21:49 +02:00
Leon Styhre 3683866062 Improved the layout of the scraper GUIs.
Also added the scroll indicators and replaced a text margin hack with a proper solution.
2021-10-15 20:58:40 +02:00
Leon Styhre 6ccee6e4c4 Removed an unnecessary column from GuiMetaDataEd.
Also moved the scroll indicators slightly and removed a help prompt hack.
2021-10-14 22:31:50 +02:00
Leon Styhre b4045f05ae Removed some help prompt hacks in GuiMenu. 2021-10-14 22:21:21 +02:00
Leon Styhre eed27d1ee3 Changed the font size for the custom collection deletion screen.
Also fixed an issue with incorrect row heights at lower resolutions and removed a help prompt hack.
2021-10-14 22:13:13 +02:00
Leon Styhre fe5e3ad5d4 The alternative emulators GUI now looks good at all resolutions. 2021-10-14 21:47:32 +02:00
Leon Styhre 07425d41fa Fixed an issue with removing invalid alternative emulator entries using the metadata editor. 2021-10-13 17:22:29 +02:00
Leon Styhre 8ec17dbaee Fixed a very minor line break issue. 2021-10-12 23:27:48 +02:00
Leon Styhre 76ef1629c0 Added a simple static scroll indicator and set this as the default.
Also made some minor adjustments to the scroll indicator placement.
2021-10-10 20:07:44 +02:00
Leon Styhre ca64fc8308 Left aligned the per-game alternative emulator selector screen.
Also made some small adjustments to the select screen width.
2021-10-10 19:02:18 +02:00
Leon Styhre bef997420d Added menu scroll indicators. 2021-10-10 18:15:37 +02:00
Leon Styhre b3220158cb Small size adjustment to the 'Gamelist on startup' option. 2021-10-10 17:29:05 +02:00
Leon Styhre c458ca991c Replaced an ugly sizing hack in GuiMetaDataEd with a proper solution. 2021-10-10 17:07:38 +02:00
Leon Styhre f2e033c383 Fixed an issue where abbreviated system names would get displayed in the UI settings selector window. 2021-10-09 13:09:14 +02:00
Leon Styhre 9c20498339 The OptionListComponent key repeat parameters are now configurable. 2021-10-08 21:11:38 +02:00
Leon Styhre 72cf219b05 Added key repeat for the 'Jump to' and 'Sort games by' selectors on the game options menu. 2021-10-08 19:16:23 +02:00
Leon Styhre e12eb5a908 Fixed an issue where some help prompts were missing in the metadata editor. 2021-10-08 19:02:30 +02:00
Leon Styhre 93950cf4de Simplified the code for info popups. 2021-10-07 18:31:40 +02:00
Leon Styhre 6ee33634fb Improved the scrolling consistency in ScrollableContainer.
Also fixed an issue where a fractional last text line would sometimes get rendered.
2021-09-30 20:11:56 +02:00
Leon Styhre 49347baffe Multiple smaller optimizations. 2021-09-28 21:49:46 +02:00
Leon Styhre 1917bfba74 Some cosmetic changes to the alternative emulators GUI. 2021-09-26 16:06:08 +02:00