Commit graph

455 commits

Author SHA1 Message Date
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 6431804ee7 Removed the deprecated VideoVlcComponent. 2022-01-02 13:13:01 +01:00
Leon Styhre 44cf76095f Fixed an issue where leading and trailing spaces were not trimmed when defining the ROM directory. 2021-12-26 17:10:30 +01:00
Leon Styhre d199554d86 (macOS) Disabled the startup animations also when starting with a gamelist view. 2021-12-23 12:31:04 +01:00
Leon Styhre 4bbd0bc1af (macOS) Disabled the startup animations as they are not working correctly as of SDL 2.0.18 2021-12-23 11:45:21 +01:00
Leon Styhre 171679efa9 Filter the first 'a' button press after returning from a game when running in background. 2021-12-09 18:56:25 +01:00
Leon Styhre 80555eb7a3 Moved the System view preloading to the correct location. 2021-12-08 19:57:31 +01:00
Leon Styhre fc540f3e1f Removed the hardcoded 'run in background' setting for Steam games. 2021-11-22 20:19:10 +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 b742951dc0 Removed some unnecessary includes of AudioManager.h 2021-11-15 20:52:36 +01:00
Leon Styhre c4b574f571 Implemented a proper solution for the carousel logo alignment issue. 2021-11-09 22:13:58 +01:00
Leon Styhre 46228c6a9d Fixed an issue where an invalid UIMode entry in es_settings.xml could lead to a crash. 2021-11-06 20:47:30 +01:00
Leon Styhre ee60dcb88c Fixed a small code formatting issue. 2021-11-05 12:03:16 +01:00
shadash 761b086331 652: cleanup code, theme tags 2021-11-05 10:26:14 +01:00
Sophia Hadash b822aea514 Merge branch 'master' into 652-allow-system-placeholders-to-be-a-combination-of-text-and-image-make-text-and-image-customizable 2021-11-05 09:22:46 +01:00
Leon Styhre 51ade956ed Fixed an issue where reloading the System view could lead to an invalid camera position. 2021-11-04 23:21:12 +01:00
Leon Styhre 99604d3a34 Added the System view loading to the ViewController preload to avoid texture pop-ins. 2021-11-04 21:59:24 +01:00
Leon Styhre b957cfcea6 Improvements to some logo alignment issues in the System view carousel. 2021-11-04 21:33:28 +01:00
Leon Styhre 063ffd7195 Fixed an issue where the system carousel and info bar would glitch during slide transitions. 2021-10-29 19:48:07 +02:00
Leon Styhre ee0fe9a8d1 Fixed an issue where the system carousel would get the wrong zIndex value. 2021-10-28 22:58:04 +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
Sophia Hadash ac84716273 Merge branch 'master' into 653-properly-apply-z-index-in-the-system-view 2021-10-26 21:56:45 +02:00
Sophia Hadash 6dbcb62011 Merge branch 'master' into 652-allow-system-placeholders-to-be-a-combination-of-text-and-image-make-text-and-image-customizable 2021-10-26 21:56:08 +02:00
Leon Styhre 270a2e3857 Added an option to preload gamelists on startup. 2021-10-25 17:56:17 +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
shadash 3070a66e2c introduce 'legacyZIndexMode' tag in carousel
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-23 17:34:20 +02:00
Leon Styhre 1650b33b9a Changed a few code comments. 2021-10-18 18:12:19 +02:00
shadash 957c1fa7fc render extras with z-index higher than the carousel above the carousel
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-15 22:54:04 +02:00
Leon Styhre c2d059f92e (Windows) Fixed two MSVC compiler warnings. 2021-10-13 17:23:29 +02:00
Leon Styhre 48db23691d Merged BadgeComponent code into master branch. 2021-10-12 23:13:38 +02:00
Leon Styhre ae96cb4c54 Further improvements to the badges code. 2021-10-12 22:53:02 +02:00
Sophia Hadash 716aa3df4a cleanup 2021-10-12 10:48:32 +02:00
Sophia Hadash c388c7fd12 support old placeholder format as a fallback
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-11 23:27:11 +02:00
shadash f74b2761bf extend placeholder definition to customizable image + text
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-11 23:12:21 +02:00
Leon Styhre 848277141a Optimized the badges code.
Also made a small adjustment to the alternative emulator badge.
2021-10-11 21:28:37 +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 49347baffe Multiple smaller optimizations. 2021-09-28 21:49:46 +02:00
Leon Styhre 91f1a0a47d Improved the speed of the badges code.
Also made some other adjustments to the badges and flexbox logic.
2021-09-27 22:18:19 +02:00
Leon Styhre 7321bf8f36 Reverted the SVG caching logic. 2021-09-27 21:41:22 +02:00
Leon Styhre c51ad4a432 Removed some noexcept operators. 2021-09-27 21:16:05 +02:00
Leon Styhre f6dd49071e Fixed lots of code formatting issues. 2021-09-27 21:06:07 +02:00
Sophia Hadash 39f67cfcdf finally properly implemented destructor 2021-09-26 23:58:23 +02:00
Sophia Hadash 0587b220cc add alternative emulator badge 2021-09-26 22:26:47 +02:00
Sophia Hadash 1d5137d557 fix compiler warning. Remove unnecessary code. 2021-09-26 02:33:49 +02:00
Sophia Hadash c08bdda008 fix badges in detailed view. 2021-09-24 00:40:55 +02:00
Sophia Hadash af50921d4b merge master 2021-09-24 00:05:32 +02:00
Sophia Hadash dbf76f92e6 merge master 2021-09-23 23:28:19 +02:00
Leon Styhre 8f02bdf74f Added a keyboard symbol/character. 2021-09-23 17:14:43 +02:00
Leon Styhre 5199f0cc02 Invalid entry values are now displayed for the alternative emulators field in the metadata editor.
Also made the 'clear entry' fields look nicer in the metadata editor and the alternative emulators GUI.
2021-09-21 19:59:09 +02:00
Sophia Hadash 4959e72b35 fix when badges are shown (reverse) 2021-09-19 23:21:38 +02:00
Leon Styhre 79849188d1 Fixed an issue where animations would play incorrectly when disabling a collection. 2021-09-19 20:43:36 +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 c4e6d3cac1 Added a virtual keyboard. 2021-09-17 22:23:41 +02:00
Sophia Hadash fe413bb68f Initial implementation, including flexbox layout for badges. 2021-09-05 03:40:23 +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 69ad5cc56f Added an exclamation mark symbol.
Also sorted all symbol constants.
2021-09-04 10:46:06 +02:00
Leon Styhre 5381f38231 Added support for defining and choosing between alternative emulators. 2021-08-22 15:26:38 +02:00
Leon Styhre 9546eb00ba Changed the gamelist views marquee image filtering from nearest neighbor to linear. 2021-08-19 20:31:44 +02:00
Leon Styhre 9e629e033b Removed the 'Choose' entry from the help prompts in the gamelist view. 2021-08-19 19:47:16 +02:00
Leon Styhre 292f089f76 Changed the 'Toggle screensaver' help entry in the system view to simply 'Screensaver'. 2021-08-19 19:45:54 +02:00
Leon Styhre 74e21e8c03 Replaced some internal math functions with equivalents from the GLM library. 2021-08-17 20:55:29 +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 1fb0ccef0d Replaced the internal Vector2f data type and functions with the GLM library equivalent. 2021-08-16 18:25:01 +02:00
Leon Styhre 722468129e Replaced all internal matrix data types and functions with the GLM library equivalents.
Also changed some vectors.
2021-08-15 19:30:31 +02:00
Leon Styhre 7ea91f08af Removed the deprecated VideoOmxComponent. 2021-07-08 18:26:01 +02:00
Leon Styhre af5e32e121 Formatted the es-app source tree using clang-format. 2021-07-07 20:03:42 +02:00
Leon Styhre a0e587c19b Fixed an issue where the static image would not always get rendered during Slide transitions. 2021-07-03 13:52:47 +02:00
Leon Styhre 506a452d1b (Windows) Fixed an MSVC Unicode issue. 2021-07-02 18:56:52 +02:00
Leon Styhre 2eb8240211 Made the UI mode unlock symbols reflect the selected controller type. 2021-07-01 17:48:14 +02:00
Leon Styhre 1478bbf550 Enabled the option on all operating systems to run ES-DE in the background while a game is launched. 2021-06-30 17:19:57 +02:00
Leon Styhre c30fab0919 Added an option to use plain ASCII for some special gamelist characters. 2021-06-28 22:05:24 +02:00
Leon Styhre d12f43b3bc The A button help prompt now shows Enter instead of Launch in the grouped custom collections view. 2021-06-27 12:47:32 +02:00
Leon Styhre 6715014de9 Small cosmetic changes to the no games dialog. 2021-06-27 12:05:38 +02:00
Leon Styhre 337f06b428 Added a CMake option to build with or without the VLC video player. 2021-06-23 00:24:15 +02:00
Leon Styhre 534a564237 Fixed an issue where slide transitions would continue to run after switching theme sets. 2021-06-22 18:08:20 +02:00
Leon Styhre 4481f7e329 Fixed an issue where slide transitions would sometimes be animated diagonally. 2021-06-22 18:06:20 +02:00
Leon Styhre 64e14be4ee A navigation sound is now played when attempting to add a placeholder as favorite. 2021-06-21 22:16:43 +02:00
Leon Styhre 5efe3be338 Game media can now be displayed from the grouped custom collections view. 2021-06-21 17:10:31 +02:00
Leon Styhre 0581475666 Fixed a random crash when marking all or none of the games as favorites for a system or folder. 2021-06-21 17:02:26 +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 dde840c5f8 Added a game launch screen. 2021-06-14 19:15:22 +02:00
Leon Styhre ccb4c19d78 Changed input type 'select' to 'back' to align with the SDL naming conventions. 2021-05-23 20:31:15 +02:00
Leon Styhre 0bde8dc79d Migrated to the SDL2 GameController API. 2021-05-22 22:18:00 +02:00
Leon Styhre 65e119cff9 The audio stream is now only cleared from a single location in VideoFFmpegComponent.
Also made the video player finish processing if the video is paused.
2021-05-19 19:52:58 +02:00
Leon Styhre 6f2a26fc85 Fixed an issue with slide transitions when starting the media viewer. 2021-05-17 22:10:50 +02:00
Leon Styhre 78e6e1a870 Added navigation sounds for some missing actions.
Also changed the navigation sound for the custom collection 'Jump to' action.
2021-05-16 23:24:43 +02:00
Leon Styhre 66275798a5 Fixed an issue where the quick system select help prompt was shown when there was only a single system. 2021-05-16 22:09:37 +02:00
Leon Styhre e07b9a7229 Added button mapping and help prompt for the media viewer. 2021-05-16 14:43:02 +02:00
Leon Styhre 7851317621 Fixed an issue introduced by the last commit. 2021-05-16 14:21:15 +02:00
Leon Styhre 9b361c6aaa Fixed an issue with the 'y' button help text in GridGameListView. 2021-05-16 14:07:56 +02:00
Leon Styhre 564fa67684 Changed the random system or game button and made it possible to disable it altogether. 2021-05-16 14:03:13 +02:00
Leon Styhre c108387257 Added clearing of the audio stream at some appropriate places.
Also made a constant explicitly floating point.
2021-05-12 23:03:29 +02:00
Leon Styhre b87d7238fc Added menu option and integrations for VideoFFmpegComponent 2021-05-09 22:56:41 +02:00
Leon Styhre fbbb6aece1 Improved the audio streaming in AudioManager. 2021-05-09 22:47:46 +02:00