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
f80658696c
Removed some unnecessary time measurement constants.
2022-01-09 23:50:08 +01:00
Leon Styhre
f66bb91496
Decreased the background caching invalidation delay from 50 to 25 ms.
2022-01-09 19:48:29 +01:00
Leon Styhre
e730d24da0
Added a small delay to the cached background invalidation to give components some time to render.
2022-01-09 17:56:17 +01:00
Leon Styhre
b16ea29088
Added theme support and proper application integration for LottieComponent.
2022-01-09 13:43:42 +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
6431804ee7
Removed the deprecated VideoVlcComponent.
2022-01-02 13:13:01 +01:00
Leon Styhre
af52d9b0ac
Changed most increment and decrement operators from postfix to prefix for es-core.
2021-11-17 17:48:49 +01:00
Leon Styhre
9937476e18
Replaced some mutex locks with atomic variables.
...
Also removed an SDL audio issue workaround from AudioManager.
2021-11-16 17:49:05 +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
c136f87a9f
Small optimization when opening the menu.
2021-11-07 19:21:01 +01:00
Leon Styhre
4f9737cd23
Fixed a compiler warning when building with the GLES renderer.
2021-10-26 18:26:00 +02:00
Leon Styhre
7ed0267f5b
Made a large optimization to the SVG rasterization logic.
2021-10-25 18:39:58 +02:00
Leon Styhre
be6782d340
Info popups are now hidden from both the screensaver and media viewer.
2021-10-07 19:03:43 +02:00
Leon Styhre
93950cf4de
Simplified the code for info popups.
2021-10-07 18:31:40 +02:00
Leon Styhre
42cd0c1ad7
Disabled text scrolling when running media player or screensaver or when running in the background.
2021-10-06 17:24:25 +02:00
Leon Styhre
dd8f5afdf4
(Windows) Fixed some compiler errors and a compiler warning.
2021-09-19 14:57:54 +02:00
Leon Styhre
63767347f2
Fixed numerous compiler warnings reported by the -Wall and -Wpedantic flags.
2021-09-19 14:37:10 +02:00
Leon Styhre
c7d815a125
Fixed multiple compiler warnings related to virtual functions.
2021-09-18 11:49:39 +02:00
Leon Styhre
0b6d987263
Fixed lots of compiler warnings reported by the -Wall and -Wpedantic flags.
2021-09-18 09:53:26 +02:00
Leon Styhre
13abaf6734
Added support for including the left and right trigger buttons in the help prompts.
2021-09-17 21:14:43 +02:00
Sophia Hadash
c2042e66e2
Add help component theme options textColorDimmed
and iconColorDimmed
.
2021-08-23 12:58:06 +02:00
Leon Styhre
9d4deefdf4
Fixed an issue when entering a submenu before the parent menu was scaled up.
2021-08-19 22:28:31 +02:00
Leon Styhre
74e21e8c03
Replaced some internal math functions with equivalents from the GLM library.
2021-08-17 20:55:29 +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
1fb0ccef0d
Replaced the internal Vector2f data type and functions with the GLM library equivalent.
2021-08-16 18:25:01 +02:00
Leon Styhre
722468129e
Replaced all internal matrix data types and functions with the GLM library equivalents.
...
Also changed some vectors.
2021-08-15 19:30:31 +02:00
Leon Styhre
23fdc00044
Formatted the es-core source tree using clang-format.
2021-07-07 20:31:46 +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
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
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
dde840c5f8
Added a game launch screen.
2021-06-14 19:15:22 +02:00
Leon Styhre
75430f210a
Some cosmetic code cleanup.
2021-06-11 17:02:06 +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
ccb4c19d78
Changed input type 'select' to 'back' to align with the SDL naming conventions.
2021-05-23 20:31:15 +02:00
Leon Styhre
4d4210a419
Added support for selecting between different controller types.
2021-05-23 19:12:31 +02:00
Leon Styhre
d6fab23d46
Fixed some inconsistent signs for the debug logging for analog controller input.
2021-05-23 13:01:14 +02:00
Leon Styhre
65e119cff9
The audio stream is now only cleared from a single location in VideoFFmpegComponent.
...
Also made the video player finish processing if the video is paused.
2021-05-19 19:52:58 +02:00
Leon Styhre
bf39f10381
Optimized by skipping some unnecessary rendering when the media viewer is active.
2021-05-16 17:43:18 +02:00
Leon Styhre
3ed17fbea2
Added a fullscreen game media viewer.
2021-05-16 13:12:31 +02:00
Leon Styhre
c108387257
Added clearing of the audio stream at some appropriate places.
...
Also made a constant explicitly floating point.
2021-05-12 23:03:29 +02:00
Leon Styhre
e0e1a05f1e
A transition now always takes place to the System view when changing theme sets.
...
Also fixed an issue where the camera would not move until after the menu was closed.
2021-04-05 10:05:08 +02:00
Leon Styhre
083e0a12e9
Improved launching of Steam games by keeping ES-DE running in the background.
2021-03-24 20:13:33 +01:00
Leon Styhre
28c66225c9
Fixed two memory leaks in VideoVlcComponent.
2021-03-22 18:12:25 +01:00
Leon Styhre
980a23d083
Moved some function definitions from Window.h to Window.cpp
2021-03-21 16:10:09 +01:00
Leon Styhre
60ee29f2ea
Fixed an issue where the fallback screensaver would not fade in correctly.
2021-03-18 20:07:07 +01:00
Leon Styhre
a46222030c
Added an option to disable the blurring of the background when opening menus.
2021-03-18 19:46:45 +01:00
Leon Styhre
ded5b1d29b
Greatly improved the shader post processing code and fixed some related bugs.
2021-03-17 20:29:43 +01:00
Leon Styhre
ace0366479
Buttons now look correct on high-resolution displays.
...
Also removed some unneeded SVG metadata from the bundled graphics files.
2021-01-13 23:46:51 +01:00
Leon Styhre
c3778f55f3
Renamed scroll_gradient.png to screen_gradient.png.
2021-01-12 23:10:06 +01:00
Leon Styhre
c5b0042dff
Fixed the quick list scroll overlay and made it configurable using a menu option.
2021-01-12 22:41:28 +01:00
Leon Styhre
0365e9c572
Fixed some MSVC compiler warnings.
2020-12-29 11:06:01 +01:00
Leon Styhre
963f93e0f8
Replaced the custom math functions with standard C++ functions.
2020-12-28 11:29:32 +01:00
Leon Styhre
debf072a0e
Rewrote some code from C to C++
2020-12-16 23:59:00 +01:00
Leon Styhre
e6f16be221
Fixed an issue with refining ScreenScraper searches for arcade games.
...
Also did a tiny cosmetic code change in Window.cpp.
2020-12-16 18:46:38 +01:00
Leon Styhre
401d433be0
Eliminated unnecessary rendering when the video or slideshow screensaver is running.
2020-11-18 23:52:29 +01:00
Leon Styhre
f334eb7037
Changed the font size and line spacing for the GPU statistics overlay.
2020-11-16 17:46:36 +01:00
Leon Styhre
00ba2e78ab
Improvements to the screensaver and game overlay.
...
Also added functionality to jump to a game from the screensaver (without launching it).
2020-11-12 17:13:24 +01:00
Leon Styhre
9bea6bb17e
Added a game info overlay to the screensaver.
...
Also refactored Window and SystemScreensaver and added a fade-in effect for the shaded background when opening menus.
2020-11-12 00:46:59 +01:00
Leon Styhre
08786f2027
Small change to remove a compiler warning on macOS.
2020-11-10 22:42:25 +01:00
Leon Styhre
6368ae0cc1
OCD update renaming ScreenSaver to Screensaver.
2020-11-10 22:33:57 +01:00
Leon Styhre
bbb2aa5217
Overhaul of the screensaver.
2020-11-10 22:18:20 +01:00
Leon Styhre
1a6bec2e3b
Overhaul of settings code.
2020-11-05 18:18:11 +01:00
Leon Styhre
70f7382680
Fixed a memory leak for GuiInfoPopup notifications.
2020-10-11 09:59:49 +02:00
Leon Styhre
107c747374
Fixed a regression where the graying-out of menu entries didn't work.
2020-09-27 14:41:59 +02:00
Leon Styhre
4e9c1361be
Fixed two additional instances where video would start playing when it shouldn't.
2020-09-27 13:14:50 +02:00
Leon Styhre
522fbebee8
Fixed multiple issues and glitches related to the screensaver.
2020-09-18 18:40:22 +02:00
Leon Styhre
d4f5b2d20d
Text scrolling now stops when launching a game and when the screensaver starts.
...
Also did some additional code cleanup.
2020-09-17 22:00:07 +02:00
Leon Styhre
a6430ff0ff
Moved the input debug logging to a more appropriate location.
...
This also fixes the issue where some input was not being logged correctly.
2020-09-15 21:12:32 +02:00
Leon Styhre
7dea5fb7df
Renamed the setting 'Open menu effect' to 'Menu opening effect'.
2020-09-13 13:46:34 +02:00
Leon Styhre
66829b4ffa
Added multiple animations and effects (mostly using shaders).
2020-09-13 13:21:38 +02:00
Leon Styhre
9da16dd00e
Some minor cosmetic code changes.
2020-08-30 22:25:38 +02:00
Leon Styhre
885bf61df0
Tweaked the description and setting name for the GPU statistics overlay.
2020-08-15 09:33:08 +02:00
Leon Styhre
d3d57ae69a
Fixed the VRAM statistics overlay that was using megabytes instad of mebibytes.
2020-08-08 22:33:27 +02:00
Leon Styhre
c9a3dbc82e
Several changes related to VRAM usage and GPU statistics.
2020-08-08 15:14:33 +02:00
Leon Styhre
11727a1392
Fixed an issue where the screensaver would start when it shouldn't.
...
Also changed so that the screensaver is reactivated after scraping only after the user has confirmed the scraping results.
2020-08-07 13:07:36 +02:00
Leon Styhre
ce9d5c2599
Fixed the screensaver random function so it does not show the same game twice in a row.
...
Also fixed a bug related to audio playing for the video screensaver and changed its name from 'random video' to simply 'video'.
2020-07-28 11:10:14 +02:00
Leon Styhre
c906881957
Fixed the screensaver controls.
...
It's now possible to start a game directly from the slideshow screensaver. Also fixed toggling of the video screensaver which was not working as expected.
2020-07-27 16:53:54 +02:00
Leon Styhre
6c79224eea
Added proper game launch function for Unix.
2020-07-18 23:07:02 +02:00
Leon Styhre
8fcb56cfb3
Made game launching on Windows much more seamless.
...
Also added an option to hide the taskbar.
2020-07-18 13:21:44 +02:00
Leon Styhre
1b65eaac2e
Improved input device configuration.
...
Default keyboard mappings are now applied if the user has not configured the keyboard.
2020-07-14 19:16:21 +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
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
Tomas Jakobsson
489d7de096
Eliminate drawRect that takes int's and make sure everything uses the float version properly, this way everything is rounded the same way
...
Only round the transforms when setting them on the GPU, to make sure everything is rounded the same, but only at the final moment
2019-08-31 17:58:36 +02:00
John Rassa
fc58af98fd
support for color gradients in drawRect and ImageComponent
2019-08-29 19:47:16 -04:00
Tomas Jakobsson
9de16045c9
whitespace cleanup
...
fix faulty line endings
silence warnings on windows
2019-08-25 17:23:02 +02:00
Tomas Jakobsson
a02a747c50
Redid the entire Renderer
...
Made all components render using triangle strips
2019-08-25 15:45:22 +02:00
Jools Wills
289d89aad1
Merge pull request #555 from placroix74/screensaver-consume-input
...
[ScreenSaver] Consume input on cancel
2019-04-09 05:14:02 +01:00
placroix74
9362967880
[ScreenSaver] Consume input on cancel
2019-04-07 08:55:27 -04:00
placroix74
f7af8357f8
Code formatting
2019-04-07 08:55:19 -04:00
jrassa
72edb792d2
implement scripting support
2019-03-26 20:02:42 -04:00
pjft
55e4c47e4b
Change handling of screensaver to FileData only and respect UI Mode
2019-02-26 09:36:36 +00:00
Lubosz Sarnecki
87a3205521
Loading screen: Be more verbose about what is happening.
...
Starting up emulationstation takes me about 1 minute over the network
with a large collection of 27 systems with images.
This patch uses the loading screen to tell the user about the status
of the startup, with information how many systems are left for view
initialization.
The most beefy part of the startup process is initializing the views,
and preloading images.
This patch extends the `renderLoadingScreen` function to take a string
and uses it in `ViewController::preload`.
v2: Add SplashScreenProgress option enabled by default.
2019-02-04 23:16:47 +01:00
Rael Gugelmin Cunha
464b0992ad
Work with dpad and analogs
2018-11-15 14:38:20 -02:00
Koerty
5913c9465e
Add extra buffer rows to the grid to load images ahead
2018-05-21 22:06:00 +02:00
Tomas Jakobsson
421e4a23df
The final traces of boost has been eliminated
2018-01-30 19:21:09 +01:00
jrassa
b41118fe92
implement debug rects for images similar to text components
2018-01-22 19:31:18 -05:00
Tomas Jakobsson
4425ea0165
Implement --screensize and --screenoffset
2017-12-02 19:16:08 +01:00