Leon Styhre
eeae8033bd
Use SDL2 include files instead of those for SDL version 1.
...
This resolves an irritating issue in the code editor where SDL2-specific functions could't be found. Not entirely sure about the SDL include file logic for other operating systems than Linux so the #ifdef directives may need to be updated further at a later date.
2020-06-26 18:03:55 +02:00
Leon Styhre
1f74723533
Another code cleanup and code documentation update.
2020-06-26 17:17:35 +02:00
Leon Styhre
ee4a55e9d6
Fixed 'Refine Search' for the TheGamesDB scraper which I apparently broke in the last commit.
2020-06-25 20:37:41 +02:00
Leon Styhre
0387d515fb
Update to fully support Clang/LLVM.
...
Also a general cleanup of CMakeLists.txt and many small code changes to satisfy Clang that complained quite a lot and actually wouldn't compile the binary at all at first.
2020-06-25 19:52:38 +02:00
Leon Styhre
fb4c5708b7
Made pugixml an external dependency and fixed the cmake/cpack installation and package creation.
...
As pugixml seems to be well supported nowadays and seems to ship with most distributions it's pretty pointless to keep bundling it with EmulationStation.
2020-06-24 17:38:41 +02:00
Leon Styhre
6b62065595
Large code cleanup and code documentation update.
...
The initial code cleanup of es-app is now complete as of this commit.
2020-06-23 20:07:00 +02:00
Leon Styhre
0a02d710f3
Removed the last remnants of the usage of /etc and updated the documenation accordingly.
2020-06-22 19:46:09 +02:00
Leon Styhre
672026632d
Code cleanup and code documentation
2020-06-22 17:27:53 +02:00
Leon Styhre
ac91da6995
Removed unnecessary processing steps during startup by skipping systems with no games.
...
This seems to decrease the (non-optimized) loading time by about 6,5% with a large es_systems.cfg configuration file.
2020-06-21 22:11:29 +02:00
Leon Styhre
8fefc9232c
Reorganized all resources to a subdirectory structure and added the CMake install prefix to the resource search path.
...
CMAKE_INSTALL_PREFIX and CMAKE_INSTALL_DATAROOTDIR are now used to resolve the resource path. As of this commit, there are only two paths where resources are searched, under the user home directory and under this install prefix directory (which defaults to /usr/local/share/emulationstation/resources but can be set to for instance /opt/share/emulationstation/resources using the appropriate CMake flags).
2020-06-21 19:35:43 +02:00
Leon Styhre
67aa6b3dbd
Huge code cleanup and code documentation update.
...
Includes lots of conversions from tabs to spaces. Only cosmetic code changes in this commit.
2020-06-21 14:25:28 +02:00
Leon Styhre
49161df0e6
Renamed platform.cpp/platform.h to Platform.cpp/Platform.h
...
The naming convention for the rest of the application is to start the file names with a capital letter.
2020-06-21 12:26:21 +02:00
Leon Styhre
5caabcff12
Changed confirmation messages for the GuiMetaDataEd text edit popups.
2020-06-18 19:54:13 +02:00
Leon Styhre
f635e5bd2d
Improved error handling for missing configuration files and ROMs.
2020-06-18 19:49:47 +02:00
Leon Styhre
fb0ab2f06c
Added a ROM path variable for use with es_systems.cfg and custom collections.
...
The variable %ROMPATH% now expands to the ROMDirectory setting in es_settings.cfg which removes the need for absolute ROM paths (although absolute paths are still supported). Custom collections with absolute paths can still be loaded for backward compatibility with old custom collections.
2020-06-18 17:09:32 +02:00
Leon Styhre
3c7d86a578
Made navigation sounds unload and reload properly on theme changes.
...
Also improved the navigation sound handling for SystemView.
2020-06-17 22:13:07 +02:00
Leon Styhre
20001d0cca
Bugfix: When attempting to mark a directory as favorite game, the favorites navigation sound played.
2020-06-17 18:55:38 +02:00
Leon Styhre
53ef1e5be7
Added navigation sounds to left and right triggers.
...
Also added left and right trigger navigation to grid view, to jump to the first and last game of the gamelist.
2020-06-15 22:55:47 +02:00
Leon Styhre
fd6fc9653b
Removed deprecated GuiFastSelect.
2020-06-13 22:26:11 +02:00
Leon Styhre
4098c64468
Implemented shoulder- and triggerbutton navigation to TextEditComponent (i.e. text edit quickjumps).
2020-06-13 21:55:58 +02:00
Leon Styhre
8492160a80
Added semi-automatic scraping mode, fixed some scraping bugs and improved folder metadata editing.
2020-06-13 16:47:12 +02:00
Leon Styhre
b01bccc8d6
Added Apply and Cancel buttons to the game options menu.
2020-06-13 10:48:46 +02:00
Leon Styhre
f1f82ac29f
Added support for jumping to the beginning and end of gamelists and menus using the left and right trigger buttons. Also fixed some navigation bugs.
2020-06-13 10:25:09 +02:00
Leon Styhre
7cefe6a2bd
Moved quick selector letter index generation to gamelist sorting loop. This increases (non-optimized) sort time with around 1,5 - 4,5% but the game option GUI opens way faster now due to the caching of the letter index. Also made the quick selector more intuitive.
2020-06-11 21:08:48 +02:00
Leon Styhre
4c67dae788
Added color marking to GuiMetaDataEd for newly scraped data.
2020-06-10 19:54:37 +02:00
Leon Styhre
4a38271f6a
Expanded the help system to (hopefully) the whole application, removed the completely broken command line scraper and fixed some bugs related to the game collections.
2020-06-09 20:03:31 +02:00
Leon Styhre
c5e70385dd
Expanded support for help system theming to entire application, as before it was only partially implemented.
2020-06-07 20:09:02 +02:00
Leon Styhre
b7d4274c6e
Added save confirmation dialogs to the text edit components, reorganized the scraper menu slightly and fixed a bug when toggling the screensaver.
2020-06-07 10:57:49 +02:00
Leon Styhre
f5376defe0
Changed to ISO 8601 date format and tidied up the scraper search screen.
2020-06-06 22:04:05 +02:00
Leon Styhre
709e6b996e
Code cleanup and code documentation. Only cosmetic changes in this commit.
2020-06-06 16:48:05 +02:00
Leon Styhre
b7feedd287
Moved all components into es-core and renamed ScraperSearchComponent to GuiScraperSearch as it's a GUI and not a component.
2020-06-06 14:14:13 +02:00
Leon Styhre
7f39afe3da
Removed deprecated AsyncReqComponent
2020-06-06 13:27:11 +02:00
Leon Styhre
90735d44e3
Major update to scraper including support for new media handling logic, ability to download more media file types (screenshot, cover, marquee, 3D box) and an improved scraper GUI. As well a rewrite of the navigation sound code.
2020-06-06 13:10:33 +02:00
Leon Styhre
fd7da08bf9
Large code cleanup and code documentation update, mostly related to the scraper. Only cosmetic changes in this commit.
2020-05-26 18:34:33 +02:00
Leon Styhre
da946279de
Some code cleanup and code documentation. Improvements to handling of command line arguments.
2020-05-25 21:34:42 +02:00
Leon Styhre
76c8b5f121
Reorganized the main menu.
2020-05-24 20:57:07 +02:00
Leon Styhre
e21ddcbe93
Added navigation sounds when entering and exiting folders, in both normal gamelists and bundled collections.
2020-05-24 15:05:02 +02:00
Leon Styhre
810b41bdc9
A few small optimizations, some operations will be way faster now if fewer custom collections are in use. Also some sorting bug fixes and some code cleanup.
2020-05-24 14:26:08 +02:00
Leon Styhre
f2f7d34bb6
Monster commit. Rewrote gamelist sorting logic and made per-gamelist sort settings session-permanent. Cleaned up a lot of code and started to reformat for 100 characters line length.
2020-05-24 10:29:29 +02:00
Leon Styhre
f806285e06
Added support for per-game launch string override (emulator override), configurable in the game meta data edit screen
2020-05-19 17:53:34 +02:00
Leon Styhre
fbec408dfa
Rewrote media handling to look for images and videos in a configurable media directory (by matching the ROM names) instead of being configured per game as XML tags
2020-05-18 19:00:43 +02:00
Leon Styhre
7686f87d5d
Added proper Unicode star icon when jumping to favorite games using the 'Jump to...' quick selector
2020-05-17 19:30:29 +02:00
Leon Styhre
6028ec8444
Added support for half-star rating increments when editing game metadata. Added rounding up to nearest half-star for all ratings read from the gamelist files. Fixed a small issue with rating symbols not being properly aligned
2020-05-16 20:52:33 +02:00
Leon Styhre
08a152db16
Allow editing of play count metadata, changed to medium font size for editing popups and updated program description
2020-05-16 14:21:36 +02:00
Leon Styhre
4aa30017bf
Changed the version format and added proper handling of invalid command line arguments
2020-05-15 18:46:06 +02:00
Leon Styhre
89794a34cf
Made some variable names for the navigation sounds more consistent
2020-05-15 18:41:53 +02:00
Leon Styhre
eec27c0258
Updated Scraper to not use deprecated pugixml method
2020-05-15 18:39:54 +02:00
Leon Styhre
fcfbbd3f2b
Updated version info and documentation files
2020-05-15 18:31:59 +02:00
Leon Styhre
cd68344dc5
Deactivated broken video playing in Grid view as a temporary fix. This functionality needs to be fully removed or properly implemented at a later date
2020-05-15 18:27:35 +02:00
Leon Styhre
bac1eba3f8
Fixed two bugs where the game images were incorrectly scaled in the Video and Grid views. For the Video mode it happened during reload (such as when adding a game as a favorite), and for the Grid view it was always incorrectly scaled
2020-05-15 18:24:14 +02:00