Commit graph

793 commits

Author SHA1 Message Date
Leon Styhre 23fdc00044 Formatted the es-core source tree using clang-format. 2021-07-07 20:31:46 +02:00
Leon Styhre aa67020326 (Windows) Fixed an MSVC compiler warning. 2021-07-04 21:34:21 +02:00
Leon Styhre 483311f7f2 Switched the order of the Back and Start buttons in the input configurator.
Also removed some legacy code.
2021-07-04 15:03:22 +02:00
Leon Styhre 45d3bb9bad Small refactoring of VideoFFmpegComponent. 2021-07-04 11:36:16 +02:00
Leon Styhre f59223927e Added a message to GuiDetectDevice if only accepting input from the first controller. 2021-07-03 12:25:36 +02:00
Leon Styhre 52e12da55a Fixed an issue where the joystick counter would not decrease when removing a controller. 2021-07-03 12:24:23 +02:00
Leon Styhre 651b7a4d02 Fixed an issue with an endless loop when attempting to load a corrupt image file. 2021-07-02 20:33:50 +02:00
Leon Styhre b59f2da3e3 Now skipping missing font file checks for bundled fonts. 2021-07-02 18:51:01 +02:00
Leon Styhre a277b9693b Fixed an issue where missing theme font files would crash the application. 2021-07-02 18:34:04 +02:00
Leon Styhre 6178830504 Improved scaling relative to the screen aspect ratio for various GUI components. 2021-07-02 17:57:52 +02:00
Leon Styhre 6e28300a5a The ComponentList padding is now scaled properly to the screen aspect ratio and resolution. 2021-07-02 17:44:27 +02:00
Leon Styhre e957e96e20 Window corner sizes are now calculated based on the screen height instead of the screen width. 2021-07-02 17:36:05 +02:00
Leon Styhre 3dea4bc8ec Minimal code cleanup of HelpComponent. 2021-07-02 17:32:55 +02:00
Leon Styhre 4a3b24e770 Removed a ComponentGrid assert that prevented portrait orientation to work at all. 2021-07-02 17:31:35 +02:00
Leon Styhre 3185083ca5 Added separate controller deadzone values for the triggers and thumbsticks. 2021-07-01 17:39:08 +02:00
Leon Styhre 0b47a90b3e (Windows) Added game launch workaround for an AMD and Intel GPU issue. 2021-06-30 18:08:13 +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 e19f0beace (Windows) Removed a log output hack that was a genuinely bad idea. 2021-06-29 18:20:55 +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 817ee4122a Fixed an issue where horizontally scrolling game names would sometimes flicker.
Also cleaned up some code.
2021-06-28 20:45:58 +02:00
Leon Styhre 0eba1795a4 Set the random game or system button to disabled by default. 2021-06-27 12:21:18 +02:00
Leon Styhre e0e1cff787 Removed controllers are now logged to es_log.txt in the same manner as added controllers.
Also renamed two functions and changed a variable that had an incorrect and confusing name.
2021-06-26 22:54:30 +02:00
Leon Styhre 73ea38008f The audio stream is no longer freed on shutdown which avoids a random SDL crash bug. 2021-06-26 22:47:21 +02:00
Leon Styhre 36be8019a9 Removed the legacy support for placing game media in the ROM directory. 2021-06-24 21:11:24 +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 badcfb0fe9 Fixed a glitch in VideoFFmpegComponent as the video texture was not properly reset. 2021-06-22 18:17:06 +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 a9617686b6 Removed the fade-in menu opening effect and enabled the scale-up effect when using OpenGL ES. 2021-06-22 17:52:57 +02:00
Leon Styhre c8af5816a3 Added a version setting which can be used to detect upgrades of the application. 2021-06-22 17:47:01 +02:00
Leon Styhre 942e3ca5bf The input logging can now be excluded from the debug output using an option in es_settings.xml 2021-06-22 17:42:35 +02:00
Leon Styhre 4ad5cd3856 Removed the deprecated %COREPATH% variable logic. 2021-06-20 13:05:28 +02:00
Leon Styhre e27ff24cfe The legacy es_settings.cfg file is now copied to es_settings.xml instead of being renamed 2021-06-20 12:51:32 +02:00
Leon Styhre b5eb945f40 Changed a log output line in InputManager. 2021-06-16 20:20:21 +02:00
Leon Styhre 57280c5da9 Changed es_input.cfg to es_input.xml 2021-06-16 19:20:53 +02:00
Leon Styhre dc29b97e91 Changed es_settings.cfg to es_settings.xml 2021-06-16 19:05:24 +02:00
Leon Styhre d1a30133d1 Fixed an issue where images were only scaled down but never up during cropping. 2021-06-14 19:56:21 +02:00
Leon Styhre dde840c5f8 Added a game launch screen. 2021-06-14 19:15:22 +02:00
Leon Styhre aeb74055d0 Added a function to ImageComponent to crop fully transparent areas around an image. 2021-06-12 21:08:35 +02:00
Leon Styhre 05990d0457 Moved most CImg functions from MiximageGenerator to a new utility module. 2021-06-12 20:05:28 +02:00
Leon Styhre 75430f210a Some cosmetic code cleanup. 2021-06-11 17:02:06 +02:00
Leon Styhre e50b024b42 Set the gamelist video scanline option as disabled by default. 2021-06-10 22:47:22 +02:00
Leon Styhre 819d03776d Added a miximage generator. 2021-06-07 23:02:42 +02:00
Leon Styhre 4b1c7c7f0a Update to make compilation work with NanoSVG as a Git subtree. 2021-06-07 21:56:13 +02:00
Leon Styhre 89c845b4d5 (Windows) Fixed a compiler error and two warnings. 2021-05-30 20:52:19 +02:00
Leon Styhre 4533409c65 Substantial code cleanup of various utility functions. 2021-05-30 20:46:17 +02:00
Leon Styhre 653cf4c46f (Windows) Fixed an MSVC compiler warning. 2021-05-29 11:48:33 +02:00
Leon Styhre 5ee28ed8ec Fixed some compiler errors on Windows caused by an FFmpeg C macro. 2021-05-29 11:27:04 +02:00
Leon Styhre 77bbe0592c Updated VideoFFmpegComponent to use libavfilter for frame processing and conversion. 2021-05-29 10:58:51 +02:00
Leon Styhre 425d4b0937 Added an option to upscale the video frame rate to 60 FPS. 2021-05-29 10:55:40 +02:00
Leon Styhre c91662befa Implemented a stable solution to video stream muting and clearing. 2021-05-29 10:52:40 +02:00