Leon Styhre
0c8efee8ad
General refactoring and code cleanup.
2022-01-16 18:18:28 +01:00
Leon Styhre
8a6652552f
Set the clang-format option SpaceBeforeCpp11BracedList to true.
2022-01-16 12:09:55 +01:00
Leon Styhre
97e08922a0
Renamed GamelistFileParse to GamelistFileParser and moved it to its own namespace.
2022-01-15 14:12:56 +01:00
Leon Styhre
b43c991a9d
Renamed Gamelist.cpp/Gamelist.h to GamelistFileParse.
2022-01-15 13:57:08 +01:00
Leon Styhre
c7964b7ebc
Renamed GameList to Gamelist throughout the codebase.
2022-01-15 13:38:09 +01:00
Leon Styhre
a233b96c2a
Removed some unnecessary typedefs and replaced the remaining ones with the more modern 'using' keyword.
...
Also harmonized the names of some user defined types and made some other minor cleanup.
2022-01-11 21:57:00 +01:00
Leon Styhre
b4e08ba92b
Renamed Platform to utils/PlatformUtil
2022-01-10 18:56:04 +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
daf66c4b60
Added proper support for interpreting directories as files.
2021-12-17 20:18:47 +01:00
Leon Styhre
a0743e6871
(Windows) Fixed an issue with the winregistryvalue find rule.
2021-12-16 17:36:09 +01:00
Leon Styhre
7c07c0d5cf
Added a 'winregistryvalue' find rule and a %RUNINBACKGROUND% variable.
2021-11-22 20:03:05 +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
3e12fcb420
General refactoring and minor optimizations throughout the codebase.
2021-11-09 22:40:08 +01:00
Leon Styhre
966d2616be
Added support for defining custom system sorting using the <systemsortname> tag.
2021-09-25 11:02:27 +02:00
Leon Styhre
0c3a7d7d94
Alternative emulators now work correctly when games are launched from collection systems.
2021-09-23 17:07:27 +02:00
Leon Styhre
fad326c3bd
Miscellaneous code cleanup.
2021-09-19 19:46:59 +02:00
Leon Styhre
260ad2d8f0
(Windows) Fixed a compile error.
2021-09-05 18:39:53 +02:00
Leon Styhre
8a51919f31
Added the ability to make complementary game systems customizations.
2021-09-05 17:39:11 +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
1461b2b0a7
Changed two error log messages related to alternative emulators.
2021-08-24 20:44:34 +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
e000e23f64
Added and clarified startup log warnings for missing or invalid es_systems.xml platform tags.
2021-07-10 13:07:44 +02:00
Leon Styhre
af5e32e121
Formatted the es-app source tree using clang-format.
2021-07-07 20:03:42 +02:00
Leon Styhre
3a986b447d
Game files that are actually recursive symlinks are now skipped during startup.
2021-07-01 17:58:09 +02:00
Leon Styhre
4160732ab0
(Windows) Added a find rule to search the Windows Registry for the emulator.
2021-06-26 12:00:09 +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
183cdddfa0
Implemented a new mechanism for finding emulators and cores.
2021-06-19 14:09:14 +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
824179e9a2
Added a 'directory to system name' mapping file to the ROM directory creation function.
2021-04-01 12:53:00 +02:00
Leon Styhre
90e3fe0fac
Fixed a memory leak related to the gamelist placeholders.
2021-03-19 18:47:49 +01:00
Leon Styhre
0cf6914e16
(Windows) Fixed a MinGW compile error.
2021-03-14 10:48:43 +01:00
Leon Styhre
380881f69f
(Windows) Fixed a compile error.
2021-03-10 18:52:39 +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
5bcb9446f4
Fixed a small memory leak in SystemData.
2021-02-28 16:56:50 +01:00
Leon Styhre
e0e358e5f4
Fixed a memory leak when filtering MAME BIOSes and devices.
2021-02-28 16:37:22 +01:00
Leon Styhre
7da2f6b039
Fixed an issue where recursive symlinks in the ROM directory could cause endless loops.
2021-02-07 18:09:32 +01:00
Leon Styhre
7a079acb17
Minor cosmetic log output change for SystemData.
2021-02-07 12:36:33 +01:00
Leon Styhre
6713d0f7a5
Small cosmetic log output change when an unsupported platform has been entered into es_systems.cfg.
2021-02-07 12:24:22 +01:00
Leon Styhre
9c2d582f7d
(Windows) Properly fixed a cosmetic log output issue when loading the game systems.
2021-02-07 11:49:50 +01:00
Leon Styhre
9be90fa39a
(Windows) Fixed a cosmetic log output issue when loading the game systems.
2021-02-07 11:46:02 +01:00
Leon Styhre
a7ed75b18c
Removed some unnecessary processing for empty game systems.
...
Also made some minor cosmetic log output changes related to the loading of game systems and fixed an issue where infinitely recursive symlinks would not get caught.
2021-02-07 11:30:54 +01:00
Leon Styhre
735ce39812
Some cosmetic code cleanup.
2021-01-19 22:29:13 +01:00
Leon Styhre
9f04f1419c
Changed logging from Warning to Info when missing the es_systems.cfg file.
2021-01-10 21:55:33 +01:00
Leon Styhre
5565170d93
Fixed an issue where randomly selecting an empty custom collection could crash the application.
2021-01-02 15:11:56 +01:00
Leon Styhre
b1bb9743f2
Made the 'fullname' tag in es_systems.cfg mandatory.
2020-12-26 20:20:45 +01:00
Leon Styhre
327676d7d7
Renamed CollectionSystemManager to CollectionSystemsManager.
2020-12-23 18:06:30 +01:00
Leon Styhre
bddc87bbcc
Changed some more code from C to C++
2020-12-17 20:43:52 +01:00