Commit graph

3762 commits

Author SHA1 Message Date
Leon Styhre 2ebfb45bdf Some minor code cleanup. 2022-01-17 20:47:30 +01:00
Leon Styhre a6be6225d8 Renamed SystemScreensaver to Screensaver. 2022-01-17 18:43:29 +01:00
Leon Styhre acd18bd1f8 Very minor change to the command line --help output. 2022-01-17 18:35:03 +01:00
Leon Styhre 99c7a252ed Documentation update. 2022-01-16 18:36:59 +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 d343e785af Fixed an issue with scraping fan art images using ScreenScraper. 2022-01-15 18:14:11 +01:00
Leon Styhre 5df9e722a5 Documentation update. 2022-01-15 16:24:20 +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 3fd060dc4f Fixed an issue where some media files were sometimes not removed when clearing games. 2022-01-14 21:17:00 +01:00
Leon Styhre dde456cbc8 Removed the unnecessary Renderer::getWindowFlags() function. 2022-01-14 18:23:51 +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 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 c38b5bd2d3 Added some Emscripten build files to .gitignore 2022-01-13 21:34:26 +01:00
Leon Styhre 4745a8edf3 Added a missing Emscripten compiler flag to CMakeLists.txt 2022-01-13 21:27:33 +01:00
Leon Styhre 69d218e58a Added CMake configuration for Emscripten WebAssembly builds. 2022-01-13 20:32:30 +01:00
Leon Styhre 73beeeaeaf Fixed two Emscripten compiler warnings. 2022-01-13 20:07:04 +01:00
Leon Styhre 8596aca68c Added an OpenGL ES 2.0 renderer. 2022-01-13 19:39:49 +01:00
Leon Styhre 90fa63f91c Removed support for supplying a separate format than internalFormat when creating OpenGL textures. 2022-01-12 22:25:41 +01:00
Leon Styhre 750ee07351 Improved the structure of main.cpp
Also partially added support for Emscripten.
2022-01-12 21:38:37 +01:00
Leon Styhre d85c966e49 Added logging of the display refresh rate on startup. 2022-01-12 21:26:43 +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 c477c12dde (Windows) Fixed some build script issues. 2022-01-11 17:33:34 +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 5a085c585e Fixed a frame caching issue in LottieComponent. 2022-01-10 17:42:01 +01:00
Leon Styhre c3dbdd431c Fixed some potential segfaults on emergency shutdown. 2022-01-10 17:41:08 +01:00
Leon Styhre f80658696c Removed some unnecessary time measurement constants. 2022-01-09 23:50:08 +01:00
Leon Styhre aeb0292a3e Changed a variable to inline static in BadgeComponent. 2022-01-09 23:41:56 +01:00
Leon Styhre 7c640c24bf Some minor CMake configuration cleanup, mostly for Windows. 2022-01-09 23:40:59 +01:00
Leon Styhre 167ee26fa1 Documentation update. 2022-01-09 20:40:36 +01:00
Leon Styhre 5c07e29101 Fixed an issue where the cached background would sometimes miss some GUI elements. 2022-01-09 19:50:11 +01:00
Leon Styhre f66bb91496 Decreased the background caching invalidation delay from 50 to 25 ms. 2022-01-09 19:48:29 +01:00
Leon Styhre 6ff91e89ca Disabled debug mode in LottieComponent and fixed a small bug. 2022-01-09 19:26:42 +01:00
Leon Styhre 93adea943b Removed two temporary Lottie animations from the resources directory. 2022-01-09 18:18:09 +01:00
Leon Styhre cd7cfe36ce Added play direction support to LottieComponent.
Also fixed some bugs and cleaned up the code a bit.
2022-01-09 18:17:23 +01:00
Leon Styhre e730d24da0 Added a small delay to the cached background invalidation to give components some time to render. 2022-01-09 17:56:17 +01:00
Leon Styhre a1abaa7112 Increased the default per-file maximum Lottie cache size from 100 to 150 MiB. 2022-01-09 13:45:44 +01:00