Commit graph

163 commits

Author SHA1 Message Date
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
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 f80658696c Removed some unnecessary time measurement constants. 2022-01-09 23:50:08 +01:00
Leon Styhre c62a069448 Fixed an issue where the audio device was accessed after it had been closed. 2022-01-05 00:08:50 +01:00
Leon Styhre f8e201d347 Moved the CollectionSystemsManager cleanup from the destructor to a deinit function. 2022-01-04 23:14:12 +01:00
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 9e86908a47 (Windows) Fixed a window focusing issue when hiding the taskbar. 2021-12-09 20:23:09 +01:00
Leon Styhre 515577c8f9 (Unix) Changed the fullscreen mode to SDL_WINDOW_FULLSCREEN_DESKTOP.
Also removed the --windowed, --fullscreen-normal and --fullscreen-borderless command line options and menu entry.
2021-12-05 13:51:39 +01:00
Leon Styhre 445b914379 Completely refactored MameNames. 2021-11-17 21:32:40 +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 0fecb43066 Increased the maximum supported display height to 7680 pixels. 2021-10-18 18:14:49 +02:00
Leon Styhre a2e12ace6a Lowered the minimal supported resolution from 640x480 to 224x224. 2021-09-30 19:51:04 +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 970b7dd63d (Windows) Fixed some MinGW compiler warnings. 2021-09-19 15:27:32 +02:00
Leon Styhre 42458a7d76 Very minor code cleanup. 2021-09-17 21:10:16 +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 5381f38231 Added support for defining and choosing between alternative emulators. 2021-08-22 15:26:38 +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 d3be0b73d3 Changed the word 'front-end' to 'frontend'. 2021-08-12 12:03:11 +02:00
Leon Styhre e4ee4855df Changed the header text in main.cpp 2021-07-08 18:47:29 +02:00
Leon Styhre af5e32e121 Formatted the es-app source tree using clang-format. 2021-07-07 20:03:42 +02:00
Leon Styhre 11ae6ba6f5 Improved the support for portable installations. 2021-06-30 17:27:20 +02:00
Leon Styhre f6122ed94a Changed the descriptive name of ~/.emulationstation to the ES-DE home directory. 2021-06-25 00:00:49 +02:00
Leon Styhre 55a0cef4d1 The scripts and themes directories are now created during startup.
Also cleaned up some startup messages which now also refer to ~/.emulationstation as the base directory.
2021-06-24 23:29:03 +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 dc29b97e91 Changed es_settings.cfg to es_settings.xml 2021-06-16 19:05:24 +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 83b764cf1f Small cosmetic changes to the input device configuration screen. 2021-05-23 10:16:47 +02:00
Leon Styhre 0bde8dc79d Migrated to the SDL2 GameController API. 2021-05-22 22:18:00 +02:00
Leon Styhre 3ed17fbea2 Added a fullscreen game media viewer. 2021-05-16 13:12:31 +02:00
Leon Styhre 8bf304b867 Added check for non-numeric characters in the arguments for the --resolution flag. 2021-03-21 21:54:30 +01:00
Leon Styhre 924b3ac033 Fixed a memory leak in Settings. 2021-03-19 18:40:37 +01:00
Leon Styhre b90ab39cb7 Fixed a memory leak related to the navigation sounds. 2021-03-19 18:37:56 +01:00
Leon Styhre 84ecb7489e Moved the AudioManager initialization a bit forward during startup. 2021-03-17 20:08:33 +01:00
Leon Styhre 9779ca8bd5 The MAME names file processing is now done after displaying the splash screen. 2021-03-15 21:03:44 +01:00
Leon Styhre b115a94668 Added a sanity check to the --resolution flag to keep the values within reason. 2021-03-12 21:12:54 +01:00
Leon Styhre 90bd12ef1c (macOS) Disabled the save state functionality which removed the splash screen on startup. 2021-03-11 17:42:08 +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 9c957ee93c Fixed an issue where the --vsync command line option could crash the application. 2021-02-28 15:20:34 +01:00
Leon Styhre 97575fa7a4 (macOS) Fixed an issue where the mouse cursor would jump to the Dock on startup. 2021-01-28 21:32:25 +01:00
Leon Styhre 777480aa6e Small cosmetic change to the --display command line option. 2021-01-26 17:33:20 +01:00
Leon Styhre 7bb89693f3 Settings are now saved immediately when using some command line options. 2021-01-25 18:10:11 +01:00