Commit graph

208 commits

Author SHA1 Message Date
Leon Styhre 481e2869ec Changed the concept of 'theme set' to simply 'theme' everywhere in the code 2023-08-14 22:40:32 +02:00
Leon Styhre 461bbe0e52 Refactored command line parsing to use a container instead of C-style functions
Also simplified the Windows console stream redirection, and only redirect if started from the command line
2023-08-11 20:22:48 +02:00
Leon Styhre 35598a2c45 Changed the unsafe upgrade check to use std::filesystem::path 2023-08-02 20:36:29 +02:00
Leon Styhre 868c89cecf (Windows) Added a warning dialog on startup if an unsafe upgrade of the portable release has been made 2023-07-31 17:42:38 +02:00
Leon Styhre 1552cd11c4 Added a missing cast 2023-07-29 17:49:32 +02:00
Leon Styhre d27dd211c3 Added a utility to the menu for rescanning the ROM directory
Also added a new Utilities menu to the main menu
2023-07-20 21:59:28 +02:00
Leon Styhre f522c67a5c The automatic popup of the device virtual keyboard is now always disabled if the SDL release is 2.28.0 or higher
Also removed the custom SDL patch for the Linux AppImage builds that prevented the popup keyboard from being displayed, and also added logging of the SDL version to es_log.txt on application startup
2023-06-25 14:33:06 +02:00
Leon Styhre bd2c229476 Added a PDF viewer
Also added the PoDoFo and Poppler libraries as dependencies
2023-06-21 23:02:19 +02:00
Leon Styhre b6d17810be Added support for changing between light and dark color schemes for the menu system 2023-05-07 22:56:24 +02:00
Leon Styhre 2209c384aa Added a UserThemeDirectory setting for relocating the user theme directory 2023-04-06 11:40:32 +02:00
Leon Styhre a752761937 Moved the application updater result fetch prior to the startup time log message. 2023-02-26 12:57:16 +01:00
Leon Styhre c9a59994a6 Multiple improvements to ApplicationUpdater. 2023-02-26 12:50:30 +01:00
Leon Styhre 5b001f5608 (Windows) Converted forward slashes to backslashes for a few directory creation log messages. 2023-02-21 19:25:19 +01:00
Leon Styhre 53a29b8314 Changed the order of dialogs shown on application startup.
Also made the startup animation finish before the dialogs are displayed.
2023-02-21 18:52:48 +01:00
Leon Styhre 5d5be42918 Moved the application updater execution slightly later in the startup process. 2023-02-18 14:06:29 +01:00
Leon Styhre 270351b033 Added an application updater that checks for new releases on startup. 2023-02-18 12:42:19 +01:00
Leon Styhre daa0fe3a91 Added a program release number. 2023-02-16 22:24:42 +01:00
Leon Styhre 5be55d38ed Added support for running the application at lower resolution in fullscreen padded mode.
Also added support for offsetting the screen contents within the application window.
2023-02-12 22:14:09 +01:00
Leon Styhre f22da24486 Added a theme loading log entry about the applied aspect ratio configuration.
Also renamed some incorrectly named variables in ThemeData.
2023-02-10 00:34:24 +01:00
Leon Styhre cf8ce151dd The application startup can now be aborted via an OS signal or using the configured keyboard quit shortcut. 2023-02-07 18:14:16 +01:00
Leon Styhre b33c7603bb Added support for rotating the application screen contents 0, 90, 180 or 270 degrees.
Also improved post processing shader rendering when running in vertical orientation.
2023-02-06 23:38:35 +01:00
Leon Styhre 5125f81c78 SDL events are now parsed on startup before the main application loop.
Also removed the mouse pointer removal hack.
2023-01-29 22:38:16 +01:00
Leon Styhre e9b1718fca Multiple improvements to the progress bar to reduce startup times and increase consistency.
Also changed from SDL_GetTicks64() to SDL_GetTicks() in SystemData as the 64-bit function doesn't work with older SDL releases.
2023-01-27 17:34:38 +01:00
Leon Styhre b0d3133983 The splash screen is now rendered much earlier during the application startup. 2023-01-24 18:18:51 +01:00
Leon Styhre fd85df2716 Changed the log message on missing game files from error to info. 2023-01-23 18:06:53 +01:00
Leon Styhre 022446bce7 Found a better method to limit buffer swaps during splash screen rendering. 2023-01-22 23:24:08 +01:00
Leon Styhre e44c18bc1b Added a startup progress bar to the splash screen. 2023-01-22 21:03:08 +01:00
Leon Styhre 65f0c0e3c2 The .emulationstation/gamelists directory is now created on application startup instead of when scraping for the first time. 2023-01-09 21:16:45 +01:00
Leon Styhre 6d3d2ddb34 Added support for 2x and 4x MSAA anti-aliasing (OpenGL renderer only). 2023-01-09 17:55:54 +01:00
Leon Styhre 1f0bf21675 Some minor code cleanup. 2023-01-08 16:30:39 +01:00
Leon Styhre e553f68e90 Greatly improved application startup time by removing a lot of unnecessary splash screen re-rasterizations. 2022-08-23 22:34:56 +02:00
Leon Styhre 12f7e20c95 Fixed a crash when there are no game ROMs present. 2022-08-19 17:02:25 +02:00
Leon Styhre b69706fc35 The currently loaded theme set name is now logged to to es_log.txt on startup, reload and theme change. 2022-08-14 20:24:26 +02:00
Leon Styhre 08d893b119 Fixed an issue where the IgnoreGamelist setting was saved although it shouldn't.
Also made a change so that passing the --ignore-gamelist command line option now immediately disables the ParseGamelistOnly setting.
2022-06-29 17:17:31 +02:00
Leon Styhre f27de7f860 Added an es_log.txt entry if running in portable mode. 2022-06-12 10:34:17 +02:00
Leon Styhre 6b24533c0d (Windows) Added support for creating a portable installation in the root of a device, such as E: or F: 2022-06-11 18:59:40 +02:00
Leon Styhre 40bf018aaa Changed theme loading into a populateThemeSets function and created a separate getter function.
Also removed a deprecated theme check in the game directory.
2022-06-11 18:34:53 +02:00
Leon Styhre 0008e44294 Removed all short enums comments as they're now properly solved by AllowShortEnumsOnASingleLine. 2022-06-05 12:36:55 +02:00
Leon Styhre cc004a45f1 Renamed the --create-systemdirs command line option to --create-system-dirs 2022-05-19 17:24:12 +02:00
Leon Styhre 6a0b1bad5b Added custom event script triggers on application startup, screensaver start and screensaver end. 2022-05-18 23:56:51 +02:00
Leon Styhre 5b63ecb828 Removed the last remnants of the PowerSaver. 2022-05-18 21:08:55 +02:00
Leon Styhre 43191e4005 Added a --create-systemdirs command line option to generate the game system directories. 2022-05-18 18:32:13 +02:00
Leon Styhre f0c35d8509 Refactored the rendering code into proper classes. 2022-03-14 19:51:48 +01:00
Leon Styhre ac6cc41059 Added a command line option to rotate the application screen 180 degrees.
Also fixed a shader post-processing bug when rotating the application screen.
2022-03-12 00:40:03 +01:00
Leon Styhre c35a297d9a Large update to get the new theme engine up and running. 2022-01-29 18:41:22 +01:00
Leon Styhre a443f86235 Removed a huge amount of unnecessary Window* function arguments. 2022-01-19 18:01:54 +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 8a6652552f Set the clang-format option SpaceBeforeCpp11BracedList to true. 2022-01-16 12:09:55 +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