Commit graph

442 commits

Author SHA1 Message Date
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
Leon Styhre 9738957253 Fixed a potential problem with an uninitialized variable. 2021-04-05 14:33:36 +02:00
Leon Styhre f3321009fe Added a notification if attempting to add a placeholder to a custom collection. 2021-04-05 12:44:58 +02:00
Leon Styhre a84e7c9414 Added a notification if attempting to add a custom collection to a custom collection. 2021-04-05 12:42:36 +02:00
Leon Styhre b51f99ab77 Fixed an issue where the system view style would not always get properly set. 2021-04-05 12:37:52 +02:00
Leon Styhre ec33d8a612 Added a proper function to check whether to keep running in the background while a game is launched. 2021-03-27 13:49:09 +01:00
Leon Styhre ad04963431 Fixed an issue where custom collections 'Jump to game' caused multiple mCursorStackHistory entries. 2021-03-27 12:06:37 +01:00
Leon Styhre 083e0a12e9 Improved launching of Steam games by keeping ES-DE running in the background. 2021-03-24 20:13:33 +01:00
Leon Styhre 1ae88c93d7 Made the navigation sounds loading more robust to handle incomplete theme sets.
Also improved some log messages related to the navigation sounds.
2021-03-21 15:42:13 +01:00
Leon Styhre 26b593455e The folder icon for the gamelistInfo field is now placed according to the selected alignment. 2021-03-21 11:59:53 +01:00
Leon Styhre d9c7932f0d Minor changes to the log output when reloading views manually in debug mode. 2021-03-21 11:26:28 +01:00
Leon Styhre 3355d6f208 Added support for more imageSource types to the Grid view style. 2021-03-21 11:24:34 +01:00
Leon Styhre b87a1c5784 Fixed a ViewController issue where the camera was reported as moving when it wasn't. 2021-03-20 13:18:47 +01:00
Leon Styhre d65ecd6a50 Minor change to a text dialog when creating the ROMs directory structure. 2021-03-20 09:01:34 +01:00
Leon Styhre 90e3fe0fac Fixed a memory leak related to the gamelist placeholders. 2021-03-19 18:47:49 +01:00
Leon Styhre 08e6f1b0dd Fixed some minor memory leaks in UIModeController, InputManager and Font. 2021-03-19 18:34:10 +01:00
Leon Styhre 546a30d3ea Added some missing fade animation code to GridGameListView. 2021-03-16 20:50:27 +01:00
Leon Styhre 4d9ea680b0 Removed the remaining video player code from GridGameListView. 2021-03-16 20:48:50 +01:00
Leon Styhre c3d5614cfc Clarified the message in a ROM directory structure creation dialog. 2021-03-15 19:51:54 +01:00
Leon Styhre 9a14bf3057 Fixed an issue with quick system select if there was only a single system present. 2021-03-14 09:39:47 +01:00
Leon Styhre 7043da4737 Partly reverted the last commit as it caused unforeseen problems. 2021-03-14 09:35:20 +01:00
Leon Styhre 5099593d73 The gamelist description text no longer scrolls above the starting position. 2021-03-13 16:52:15 +01:00
Leon Styhre a7f431ae9f Fixed an issue where the cursor stack would not work correctly with the Grid view style. 2021-03-13 12:19:56 +01:00
Leon Styhre 5ad03f3043 Added the missing onFileChanged function to GridGameListView. 2021-03-13 11:57:40 +01:00
Leon Styhre b6e36c0dfd Some small text changes in the no games dialogs. 2021-03-11 17:33:25 +01:00
Leon Styhre 2432e118a7 Added the ability to automatically generate the game systems directory structure. 2021-03-10 18:21:49 +01:00
Leon Styhre 9ca7e58250 Fixed some minor warnings reported by the Clang static analyzer. 2021-03-01 19:40:23 +01:00
Leon Styhre 2d5662780f Fixed a small issue with video initializations during gamelist reloads. 2021-03-01 18:50:12 +01:00
Leon Styhre f84570705e Fixed an issue where enabling an auto collection that contained a hidden game could crash the application.
Also fixed an issue where the view style would not change when adding or removing games from collections.
2021-02-04 20:14:20 +01:00
Leon Styhre 2429e1309d Fixed an issue where the gamelistInfo field was displayed on themes that didn't support it. 2021-02-01 22:30:30 +01:00
Leon Styhre 3b6ace73ae Minimal cosmetic log output change. 2021-02-01 18:51:00 +01:00
Leon Styhre 4556a0c71a The video player is now stopped before attempting to remove media files. 2021-01-31 20:51:24 +01:00
Leon Styhre 392627f1fe Empty media directories are now removed when clearing or deleting games. 2021-01-31 19:56:55 +01:00
Leon Styhre 8173ccda80 Moved the first character extraction function to StringUtil. 2021-01-23 16:25:53 +01:00
Leon Styhre 735ce39812 Some cosmetic code cleanup. 2021-01-19 22:29:13 +01:00
Leon Styhre 96c742dee4 Properly fixed a cosmetic glitch in the System view. 2021-01-19 20:17:54 +01:00
Leon Styhre 66e1c4e897 Improved the speed consistency for ScrollableContainer. 2021-01-19 00:11:02 +01:00
Leon Styhre e68c8f1db3 ScrollableContainer now takes the font size into consideration for adjusting the scrolling speed. 2021-01-17 22:02:22 +01:00
Leon Styhre b95a04311b Fixed a minor cosmetic issue in SystemView when using high resolution displays. 2021-01-16 18:38:37 +01:00
Leon Styhre 09e5095a08 Fixed an issue where large text sizes at high resolutions would crash the application. 2021-01-16 18:05:48 +01:00
Leon Styhre 43da188b3b Fixed an issue where a leading Unicode character in the game name could crash the application. 2021-01-16 17:22:12 +01:00
Leon Styhre b987abed8b Fixed some issues with the 'Jump to Game' help prompts. 2021-01-12 18:40:25 +01:00
Leon Styhre 559cabbc6b Added a navigation sound when jumping to a custom collection game. 2021-01-12 18:35:07 +01:00
Leon Styhre e2b3ca55be Two small changes to the application startup logging. 2021-01-07 00:14:45 +01:00
Leon Styhre 42c95019be Fixed an issue where the Grid view style would continue to scroll indefinitely. 2021-01-05 15:09:41 +01:00
Leon Styhre d2d6813a54 Fixed multiple issues with the UI modes. 2021-01-05 10:45:32 +01:00
Leon Styhre 7bea146745 Added shortcut to start the multi-scraper from the scraper menu. 2021-01-02 16:28:47 +01:00
Leon Styhre 5a85da140a Fixed a cosmetic issue with the slide transition style. 2021-01-02 15:53:52 +01:00
Leon Styhre d34558525d Added the ability to jump to the randomly selected game in the grouped custom collection system. 2021-01-02 15:21:48 +01:00
Leon Styhre c431e5a233 Fixed an issue where the screen would go partly black during slide transitions. 2021-01-01 22:37:21 +01:00
Leon Styhre 287c6ea36e Fixed an issue with the slide transitions if there were only two game systems. 2021-01-01 21:45:51 +01:00
Leon Styhre d13b249570 Fixed a small issue when selecting games as favorites using the shortcut button. 2021-01-01 21:04:13 +01:00
Leon Styhre 56cc17d7a1 Made some special Unicode characters work correctly with the MSVC compiler. 2020-12-29 14:51:29 +01:00
Leon Styhre c95334756d Fixed a lot of MSVC compiler warnings. 2020-12-29 12:54:24 +01:00
Leon Styhre 963f93e0f8 Replaced the custom math functions with standard C++ functions. 2020-12-28 11:29:32 +01:00
Leon Styhre 045e66103a Made it possible to use the controller hat when entering the UI mode passkey. 2020-12-23 22:30:53 +01:00
Leon Styhre 327676d7d7 Renamed CollectionSystemManager to CollectionSystemsManager. 2020-12-23 18:06:30 +01:00
Leon Styhre a27c961987 Some changes to the startup logging.
Also removed some unnecessary audio code.
2020-12-23 17:56:21 +01:00
Leon Styhre 03609b2f08 Removed some unnecessary processing when leaving folders. 2020-12-20 12:20:29 +01:00
Leon Styhre 7fb06a5702 Cursor positions inside folders and grouped collections are now remembered. 2020-12-20 12:07:02 +01:00
Leon Styhre defb16b6da Fixed multiple issues with the UI modes (full/kiosk/kid).
Also improved the quit menu.
2020-12-17 23:45:29 +01:00
Leon Styhre debf072a0e Rewrote some code from C to C++ 2020-12-16 23:59:00 +01:00
Leon Styhre 605aa4ba8e Moved the favorite and folder character constants to a more logical location. 2020-12-16 21:19:48 +01:00
Leon Styhre 29abe2dc8c Removed the deprecated PowerSaver. 2020-12-16 17:57:10 +01:00
Leon Styhre ed77c7a9aa Fixed a crash when jumping directly to a specific game system on startup. 2020-12-15 18:44:56 +01:00
Leon Styhre 5b4528cfbb Tiny cosmetic change. 2020-11-28 22:18:10 +01:00
Leon Styhre 08c0bc1a43 Made the navigation feel more responsive when using the video view style. 2020-11-19 17:12:31 +01:00
Leon Styhre 50e74595e4 Eliminated unnecessary rendering during view transitions. 2020-11-18 23:47:32 +01:00
Leon Styhre e30e636780 Fixed an issue where game media would not get rendered during gamelist transitions. 2020-11-18 22:26:58 +01:00
Leon Styhre 0b6dce687e Changed to C++ casts throughout the application. 2020-11-17 23:06:54 +01:00
Leon Styhre df18a822b7 Fixed an issue where videos would keep playing when switching gamelists. 2020-11-17 22:09:22 +01:00
Leon Styhre 1a35d29f19 Improvements to the startup animations and game launching logic. 2020-11-17 17:30:23 +01:00
Leon Styhre 2220787c3b Fixed multiple issues with view transitions. 2020-11-16 17:44:33 +01:00
Leon Styhre 858b20bcc1 Fixed some weird camera movements when using the slide transition style. 2020-11-15 22:54:39 +01:00
Leon Styhre 0a6e1f280f Improved transitions for SystemView. 2020-11-15 20:06:33 +01:00
Leon Styhre a67ee27815 Fixed a cosmetic navigation issue in SystemView. 2020-11-15 11:30:43 +01:00
Leon Styhre e5fcb51f57 Added support for multiple search results for ScreenScraper.
Also fixed some other scraping issues and added some additional scraper logging.
2020-11-14 15:30:49 +01:00
Leon Styhre 53cacd5eac Renamed VideoPlayerComponent to VideoOmxComponent. 2020-11-12 17:40:06 +01:00
Leon Styhre bbb2aa5217 Overhaul of the screensaver. 2020-11-10 22:18:20 +01:00
Leon Styhre 0bb8737211 Made the game counter more logical. 2020-11-10 18:48:16 +01:00
Leon Styhre db94f5daee Fixed multiple issues with filters and the gamelistInfo field. 2020-11-09 23:41:27 +01:00
Leon Styhre 162d893ea0 Filtered non-games are now included in the GamelistInfo field. 2020-11-08 19:04:43 +01:00
Leon Styhre 9f747e161d Rewrote collection settings to the new settings logic. 2020-11-06 20:27:41 +01:00
Leon Styhre d7ef06546c Fixed an issue with the quick selector for custom collections. 2020-11-05 23:11:51 +01:00
Leon Styhre 1a6bec2e3b Overhaul of settings code. 2020-11-05 18:18:11 +01:00
Leon Styhre a2d05d0bd1 Simplified the detection of folders in gamelists. 2020-10-31 11:32:18 +01:00
Leon Styhre 893dee2bab Added option to disable the favorite game toggling shortcut.
Also modified some setting descriptions and updated the corresponding documentation.
2020-10-31 10:01:19 +01:00
Leon Styhre 774d0b04aa Disabled the favorite game button shortcut for Kiosk mode. 2020-10-31 09:46:42 +01:00
Leon Styhre 005952addf Rewrote and moved the quick selector letter index generation. 2020-10-30 18:34:05 +01:00
Leon Styhre 7f0aede274 Added gamelist info field which displays some useful information. 2020-10-30 14:19:21 +01:00
Leon Styhre d9c885baf3 Fixed a compile error caused by a call to a deleted function. 2020-10-30 13:08:08 +01:00
Leon Styhre b9301f08da Added indication icons when editing custom collection to show what games are already part of the collection. 2020-10-28 17:49:50 +01:00
Leon Styhre 0e59654399 Metadata fields are now hidden for placeholders. 2020-10-28 17:38:54 +01:00
Leon Styhre df0c88d1b1 Simplified the onFileChanged() function and made some related optimizations. 2020-10-27 19:07:35 +01:00
Leon Styhre 9ad230bc3f Fixed an issue where gamelist filters were not applied correctly. 2020-10-27 18:55:27 +01:00
Leon Styhre a0fc4fbe39 Multiple optimizations to make gamelist interactions feel more responsive.
Also removed a jump to the first line when editing the recently played gamelist.
2020-10-26 21:53:11 +01:00
Leon Styhre 64fc498840 Made toggling folders as favorites much faster. 2020-10-26 21:38:15 +01:00
Leon Styhre 01cf401d8f Added menu options to disable the favorite star markings. 2020-10-25 21:29:54 +01:00
Leon Styhre 546f6304ef Fixed a crash when unflagging the last file entry as favorite. 2020-10-25 19:13:19 +01:00
Leon Styhre e51c7ddf8c Made filters applicable per custom collection (if grouped). 2020-10-25 18:55:01 +01:00
Leon Styhre effc0f31dc Fixed a crash in some circumstances when unflagging the last folder as favorite. 2020-10-22 18:35:48 +02:00
Leon Styhre 1a0b2f8bb7 Multiple improvements to the handling of custom collections.
Also improved the random game and random system functions.
2020-10-21 21:56:31 +02:00
Leon Styhre 87bd205a3f Multiple improvements and bugfixes to the custom collections handling. 2020-10-20 21:01:24 +02:00
Leon Styhre 0b6d0bfcd6 Improved some logging as well as handling of a missing es_systems.cfg file. 2020-10-19 17:28:20 +02:00
Leon Styhre 35c7c7ec09 Removed deprecated code for handling video subtitles. 2020-10-17 16:06:48 +02:00
Leon Styhre 5cd83899f0 Fixed a regression where the video would not pause when launching a game. 2020-10-10 15:46:01 +02:00
Leon Styhre 109a8a0b14 Fixed an issue where the gamelist view was not updated properly. 2020-10-10 15:26:17 +02:00
Leon Styhre 7832c4fbe0 Fixed an issue where hidden metadata fields would sometimes be shown. 2020-10-10 15:13:47 +02:00
Leon Styhre 2258825a73 Fixed an issue where videos would play during gamelist scrolling. 2020-10-10 14:17:05 +02:00
Leon Styhre 54ea153d93 Game systems are now sorted by their full names. 2020-09-27 12:49:14 +02:00
Leon Styhre 8db04c5fcb Added SPDX license identifiers to all source files. 2020-09-21 19:17:34 +02:00
Leon Styhre 1c831249da Moved game counting to the sort function and improved the custom collection handling. 2020-09-21 18:13:27 +02:00
Leon Styhre c5ecfb4e36 Fixed an issue where deleting a game would not refresh the gamelist. 2020-09-20 20:26:02 +02:00
Leon Styhre e56fdf3df6 Improved handling and sorting of folders. 2020-09-20 20:25:32 +02:00