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
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
89794a34cf
Made some variable names for the navigation sounds more consistent
2020-05-15 18:41:53 +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
Leon Styhre
3d6adf9ade
Implemented a much more elegant handling of navigation sounds
2020-05-15 18:21:24 +02:00
Leon Styhre
fc6183d918
Added support for jumping to favorites in the 'Jump to...' quick selector
2020-05-15 18:16:04 +02:00
Leon Styhre
0aafc1314a
Added navigation sound support (configurable per theme) and implemented proper sound handling at most places in ES
2020-05-15 18:08:26 +02:00
Leon Styhre
5f5d12535d
Rewrote parts of the font loading code and bundled the required fonts with ES instead of relying on the OS providing them. This fixes the display of star symbols for favorites in the gamelists
2020-05-15 18:03:42 +02:00
Leon Styhre
1007f19bdc
Added functionality to show favorites on top of the gamelists (mostly ported from batocera-emulationstation)
2020-05-15 17:42:36 +02:00
pjft
9c46f50497
Merge pull request #645 from pjft/kids-start-menu
...
Option to show start menu in Kids mode
2020-04-27 10:00:45 +01:00
pjft
258df48481
Option to show start menu in Kids mode
2020-03-28 21:00:25 +00:00
John Rassa
4eafb8771a
Merge pull request #634 from supersquared/master
...
Add support for md_thumbnail & md_marquee
2020-03-19 20:58:17 -04:00
Supersquared
2ae8f08b55
Add support for md_thumbnail & md_marquee
...
- Added support for md_thumbnail in VideoGameListView
- Added support for md_thumbnail & md_marquee in DetailedGameListView
2020-03-19 01:59:02 +01:00
John Rassa
c114ef05ac
Grid View Fixes
...
Fix for metadata disappearing when selecting system for the first time.
Fix for video not resuming after launching game.
2020-02-28 21:19:52 -05:00
Jools Wills
100d01b882
Merge pull request #631 from cmitu/bindings-mod
...
InputManager: replace pageUp/Down with left/rightShoulder
2020-02-01 02:32:49 +00:00
Carlos Rodríguez
6cd813ae67
feature: Added marquee, image and video to gridView. Ignore .vscode files
2020-01-25 22:17:47 -05:00
Cristi Mitrana
3b85735a2d
InputManager: replace pageUp/Down with left/rightShoulder and create an alias (via isMappedLike
) to accomodate existing configs that use the PageUp/Down buttons.
2019-12-23 16:12:35 +02:00
John Rassa
94b2821eb7
repopulate list after applying theme to ensure image source is updated
2019-11-06 20:22:30 -05:00
John Rassa
961571655b
Grid updates. Animate scrolling option, autoLayout option, center selection option, scroll loop option, image source option
2019-09-21 19:38:57 -04: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
79cc5a7e8b
Merge pull request #575 from jrassa/guicomponent-visible
...
support 'visible' theme element
2019-08-29 10:25:10 +02: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
John Rassa
8de1fc8860
add 'visible' theme element
2019-07-21 23:13:48 -04:00
pjft
1b06df1572
Fix Kiosk Favorites not registering
...
Had been broken a few months back.
2019-06-19 10:04:17 +01:00
Tomas Jakobsson
5cc6bafd7d
Silence warnings
2019-03-09 00:23:13 +01:00
Jools Wills
9ae899360c
cosmetic - indent
2019-02-08 20:50:23 +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
Cristi Mitrana
f8e3ac1340
Fix UI Kiosk mode filters applying also to Kid mode.
...
This fixes games marked both as hidden and kid not being shown in Kid mode.
2019-01-19 10:11:19 +02:00
Jools Wills
6ffda17c4e
Merge pull request #495 from raelgc/fix-kids-unattended-mode
...
Fixing kids/unattended mode
2019-01-08 19:33:41 +00:00
Rael Gugelmin Cunha
c98a5d6220
Fixing kids/unattended mode
2018-11-15 15:09:08 -02:00
Rael Gugelmin Cunha
464b0992ad
Work with dpad and analogs
2018-11-15 14:38:20 -02:00
John Rassa
a57b0ecfea
create new DateTimeComponent
2018-10-15 20:40:45 -07:00
Tomas Jakobsson
3f9ffaa33d
Reset "StartupSystem" to "" if the requested system doesn't exist
2018-09-20 18:49:07 +02:00
John Rassa
1fe57de7f6
add theme support for text and line spacing for logo text in system carousel
2018-06-06 14:44:54 -07:00
Rael Gugelmin Cunha
cbc1d02b1b
More restriction on kids mode ( #431 )
2018-05-30 22:38:19 -03:00
Koerty
96b0b85208
Fix md_name not fading out
2018-04-21 23:57:57 +02:00
Koerty
e575f7708e
Add the new metadata field md_title to grid, video and detailed views
...
Unlike the others, it is by default positioned offscreen
2018-04-16 19:42:41 +02:00
Jools Wills
757dd43dd8
Merge pull request #325 from pjft/favorites-syntax
...
Fix empty collections not showing in carousel in Full Mode.
2018-04-12 15:29:29 +01:00
John Rassa
9adb0d0c51
Merge pull request #407 from Koerty/grid-tile-background
...
Add GridTileComponent and base theming syntax
2018-04-11 21:00:00 -07:00
Koerty
3993ace607
Add GridTileComponent and base theming syntax
...
- Add the GridTileComponent which hold the image and its background
- Add base theming syntax for the ImageGrid and GridTIle
- Numerous refactoring/cleaning in ImageGridComponent
2018-04-11 14:20:59 +02:00
Koerty
24c8a910e2
Disable random game selection in retropie settings menu
2018-04-07 14:43:23 +02:00
Koerty
82e5c21da6
Add base theming syntax for the grid
...
- The themes can now configure following elements : pos, size
- Change some default values for them
2018-04-07 10:37:09 +02:00
Benjamin D
a006650c1c
Add metadata from the detailed view to the grid view
...
- Add the metadata from the detailed view to the grid view (minus the image, as it doesn't make sens in the grid view)
- Add a callback to the ImageGridComponent to update the metadata info panel when cursor changed
2018-04-06 15:54:34 +02:00
Jools Wills
2ff3252b21
Merge pull request #400 from Koerty/grid-fix-populateList
...
[GRID FIX] Update the populateList function of the GridGameListView
2018-04-05 14:42:19 +01:00
Koerty
37a16fe3ed
Update the grid's help prompt
...
- Add a left+right shoulder button icon
- Update the outdated help prompt to match the one from the Basic view
2018-04-05 15:37:35 +02:00
Jools Wills
75844f4568
Merge pull request #390 from Koerty/grid-swap-left-right-shoulder
...
[GRID 1] Allow quick system swap using left/right shoulder
2018-04-05 14:28:37 +01:00
Koerty
96b1f4b514
Small fix to the populateList function of the GridGameListView
...
- Call the addPlaceholder function if grid is empty
- Set the header text
2018-03-31 16:01:18 +02:00
Koerty
8d9c4a20ec
Rewrite the grid display code
...
- Grid tile number of columns and rows is now controlled by the grid size, mMargin and mTileMaxSize
- Add a variable mSelectedTileMaxSize to control the size of the selected tile
- Update the render function to display the selected tile on top of the other
2018-03-30 18:15:54 +02:00
Koerty
a7c0d92766
Use shoulder buttons for quick system swap in the grid view
...
- Allow quick system swap using left/right shoulder in the grid view
- Update the help prompt of the grid view accordingly
2018-03-29 09:50:57 +02:00
Koerty
b4feb69980
Enable the grid view for developers
...
- Add the remove function to GridGameListView
- Enable the grid view in ViewController
- The grid view will not be available in the menu yet, but can be enable by tweaking es_settings.cfg
2018-03-27 16:11:50 +02:00
pjft
c80d30493b
Fix empty collections not showing up in Carousel for Full mode
...
Also fixed empty favorites collection in Kiosk mode not initializing as intended after adding the first game, if empty at start.
2018-03-02 11:56:14 +00:00
John Rassa
55e578e18c
Merge pull request #362 from tomaz82/image_fix
...
Fix thumbnail and image to be separated
2018-01-31 22:38:58 -05:00
Tomas Jakobsson
1228e0c7bf
Fix thumbnail and image to be separated as I think it was originally meant to be.
2018-01-31 21:34:55 +01:00
Tomas Jakobsson
421e4a23df
The final traces of boost has been eliminated
2018-01-30 19:21:09 +01:00
John Rassa
0686b4690a
Merge pull request #352 from tomaz82/boost_filesystem
...
boost::filesystem replacement, step 1
2018-01-25 19:38:32 -05:00
Tomas Jakobsson
c1f8e7294c
Update and rename some Utils::FileSystem functions
...
Replace boost::filesystem::is_directory
with Utils::FileSystem::isDirectory
Replace boost::filesystem::is_regular_file
with Utils::FileSystem::isRegularFile
Replace boost::filesystem::is_symlink
with Utils::FileSystem::isSymlink
Replace boost::filesystem::exists
with Utils::FileSystem::exists
Replace boost::filesystem::create_directory
with Utils::FileSystem::createDirectory
Replace boost::filesystem::remove
with Utils::FileSystem::removeFile
2018-01-23 12:07:20 +01:00
jrassa
e9403b6b00
implement horizontal wheel for system carousel. fix image rotation bug in carousel
2018-01-22 19:34:30 -05:00
Tomas Jakobsson
5e8d6b7f45
Eliminated the need for boost::xpressive, boost::algorithm and boost::variant
2017-12-27 18:22:26 +01:00
pjft
f29452e533
Fixes favorites crashing when removing last entry
...
Regression somewhere down the line.
2017-12-01 17:23:28 +00:00
D. Polders
1ed075a5e4
* Add ConfirmationPopUp when switching UIMode.
...
* Split out UIMode controller in separate class (in es-app).
* Fix passphrase input for wX360 controllers by ignoring hat-inputs
* Fix font fallback mechanism on rpi for non ascii characters using new Unicode2Chars() method.
* Fix UIMode not being saved due to popup window.
2017-11-19 00:28:36 +01:00
Tomas Jakobsson
bd0c6beed5
Silence warnings
2017-11-18 23:20:09 +01:00
Tomas Jakobsson
92b73bd847
Cleaning up a lot of math functions
2017-11-14 20:09:20 +01:00
Tomas Jakobsson
9fbe95daa3
iterator -> const_iterator
2017-11-12 00:05:19 +01:00
D. Polders
189eb05fee
* Introduce KidMode: Prevent collection editing
...
* Introduce FileData Filtering for Kiosk and Kid Modes to:
1. In Kiosk mode: Hide items with metadata tag `<hidden>true</hidden>`
2. In Kid mode: only show items with metadata tag `<kidgame>true</kidgame>`
* ES will auto-revert UI mode back to Full when there is nothing at all to show.
* Changing the setting hideQuitMenuOnKidUI to true will hide this menu.
2017-11-02 21:22:41 +01:00
Tomas Jakobsson
a8fc560749
Header inclusion cleanup
2017-11-02 19:16:01 +01:00
Tomas Jakobsson
8f5fbb0b26
Got rid of Matrix3x3f, Matrix4x4f, Rotation3x3f and Scale3x3f
...
Everything is now handled by Transform4x4f which now does it way more optimized than previous version
2017-11-01 15:02:48 +01:00
Tomas Jakobsson
44e3e39083
Add pragma once and ifndef header guards to all headers
2017-10-31 18:12:50 +01:00
Tomas Jakobsson
73a2f6b716
Replace Eigen with "inhouse" vector and matrix math
2017-10-28 22:25:01 +02:00
Jools Wills
de42e1c2bd
Merge pull request #257 from raelgc/master
...
Alow to select a system to go directly to the game list (Fixes #253 )
2017-10-26 15:27:08 +01:00
Rael Gugelmin Cunha
c1f836c713
Add an UI option to automatically load a system gamelist ( Fixes #253 )
2017-10-25 10:29:39 -02:00
Tomas Jakobsson
cd2f2ee42b
Use local game art ( image, marquee and video ) from romfolder/images if the gamelist didn't specify a path
2017-10-24 00:57:08 +02:00
D. Polders
fd40e84ba5
Fix build warnings (mostly adding explicit type casting)
2017-10-18 16:22:27 +02:00
jrassa
24f1b969bf
add support for default image path in themes
2017-10-05 21:34:32 -04:00
D. Polders
7a7550cde9
Introducing Kiosk UI mode, allowing users to hide menu items that might change system configuration settings.
2017-09-12 21:07:18 +02:00
Markus Pointner
96d7ac003d
fix delete-after-use issue with temporary string
2017-08-30 12:51:48 +02:00
pjft
8670a04ec2
Revert Help Text getting string pointer
2017-08-29 15:15:00 +01:00
John Rassa
0b0e0adce6
Merge pull request #225 from jrassa/carousel-fix-single-system
...
properly render carousel for system configured with only 1 system
2017-08-24 20:34:00 -04:00
jrassa
c6a0449be0
properly render carousel for system configured with only 1 system
2017-08-24 17:51:15 -04:00
hex007
5a62040f63
Fixes blank screen on key press while exiting game
2017-08-22 14:33:26 -07:00
John Rassa
230c6e4a97
Merge pull request #212 from jrassa/carousel-enhancements
...
carousel enhancements
2017-08-19 09:25:52 -04:00
jrassa
c7b3db244e
carousel enhancements
2017-08-18 22:03:40 -04:00
pjft
01a55ba6a2
Added support for custom Game Collection creation
...
- Create from a theme folder
- Create by specifying a name
- Refactored collection creation to be on-demand rather than on startup
2017-08-17 16:09:37 +01:00
John Rassa
96fbc1c277
Merge pull request #195 from jrassa/gui-component-enhancements
...
added origin and rotation support to guicomponent, exposed as theme o…
2017-08-11 21:35:10 -04:00
jrassa
2377175a19
added origin and rotation support to guicomponent, exposed as theme options for several components
2017-08-09 22:15:57 -04:00
hex007
45694cf1a4
Power Saver Feature
...
- Change Power Saver (PS) from Other Settings menu
- 4 Modes are available : Disabled, Default [default], Enhanced, Instant
- All modes work well with Screensavers and Video previews.
- PS is disabled while running Videos through VLC.
- PS is disabled while Scrapping
- Game counts are shown immidiately if in Instant Mode
- PS mode defaults if Transitions are changed while in Instant Mode
2017-07-25 12:07:35 -07:00
Jools Wills
7ad62df4df
Merge pull request #168 from pjft/RetroPie-Virtual-Systems-PR
...
Adding support for "All", "Favorites" and "Last Played" systems
2017-07-08 07:31:39 +01:00
Jools Wills
cbc8171f43
Merge pull request #177 from pjft/RetroPie-VideoZoom
...
Fix for lack of zoom transition on video view for systems without marquees
2017-07-08 04:44:31 +01:00
Jools Wills
394cd44758
Merge pull request #173 from jrassa/theme-variables
...
variable support for themes
2017-07-08 04:38:31 +01:00
pjft
92fbec47c2
Fix for lack of zoom transition on video view for systems without marquees
2017-07-07 20:48:50 +01:00
pjft
d0cdbf2159
Adding support for Virtual Systems
...
- Refactoring System Environment data
- Added Virtual System Manager class
- Added "all", "favorites" and "last played" systems
- Added GuiInfoPopup class for notifications
- Added Favorites to metadata, as well as a shortcut to toggle favorites
- Added warning if enabling systems but themes don't support it
- Added "filter by favorites" per system
- Adjusted "Go to Random Game" behavior to account for the fact that we now have an "All Games" system
- Added "sort by system name" for the collections
2017-07-07 20:16:21 +01:00
jrassa
2bacc9c431
variable support for themes
2017-06-30 23:58:51 -04:00
hex007
64effcc69c
Move Carousel transition to separate switch
...
- Removed Simple Slide
- Added Switch to control Carousel transition
2017-06-28 09:50:37 -07:00
pjft
59d7516a16
Random Game Screensaver, Game Name and Controls
...
- Final changes for VLC screensaver support as well
- ALSA de-init/re-init only when needed
- Adding screensaver options menu inside UI settings
- Slightly moved options (Show Frameskip to "Other Settings", sorting within same menu)
- Adding info popups on random video screensaver and OMX + Game Info setting
2017-06-11 19:56:05 +01:00
jrassa
b3181a2c09
fix #151 zoom launch transition by extracting scale factor from transform
2017-06-01 22:25:02 -04:00
Jools Wills
b078bdddd7
Merge pull request #149 from hex007/additional-transitions
...
Additional transitions
2017-05-31 17:56:05 +01:00
hex007
1da0c780b2
Renamed additional transitions
...
- instant -> simple slide
- none -> instant
2017-05-31 09:54:11 -07:00
jrassa
de643bb114
use clip rects to prevent views overflow onto other views
2017-05-30 22:41:41 -04:00
hex007
2ec037de2f
Added Instant Transition
2017-05-30 19:23:07 -07:00
hex007
fb93a4d2b6
Added None Transition
2017-05-30 19:19:41 -07:00
pjft
029e8bd040
Fixes and tweaks to OMXPlayer work, by pjft
...
- Correct handling of zombie processes left in memory
- Add options to mute video
- Fix resizing to work with theme refactorings introduced by jdrassa and zigurana
2017-05-28 21:33:05 +01:00
fieldofcows
34ea9caa89
Adding experimental OMX video player component. Squashed from fieldofcows' work (by pjft).
2017-05-28 21:26:23 +01:00
pjft
04d080a93b
Fix for Game Count display in System View when filtered
2017-05-27 08:40:18 +01:00
jrassa
2faeb50ef0
fix default z-index values for metadata fields on detail view
2017-05-24 21:26:07 -04:00
jrassa
2b907b8674
slide transition will slide vertically for vertical carousel
2017-05-20 10:02:11 -04:00
jrassa
354d3b9dec
implement z-index support for themeing system view and gamelist views
2017-05-18 19:22:55 -04:00
pjft
80526c777e
Fixing whitespaces and indentation (tabs)
2017-05-18 12:51:45 +01:00
pjft
4e5c1ce49e
Changes to mitigate white flashes ES navigation
...
- Set default GL clear color to black, rather than white
- Revert changes to ImageComponent intialization that cause white flashes
- Increased ALSA buffer to prevent buffer underruns which stall CPU momentarily
- Improved carousel texture buffering based on navigation direction and speed
2017-05-17 20:53:30 +01:00
Jools Wills
884cae4c37
use 1.2f as carousel logo scale default - fixes #126
2017-05-04 18:50:11 +01:00
Jools Wills
006e716e64
Merge pull request #108 from zigurana/SelectGamelistViewType
...
Add Explicit Gamelist Type selection to GUI menu.
2017-05-04 16:30:23 +01:00
Jools Wills
a909f10b2d
Merge pull request #115 from pjft/RetroPie-master-filter-rebase
...
Adding generic gamelist filter funcionality for ES
2017-05-04 16:25:57 +01:00
jrassa
474891f4a3
fix black boxes appearing on gamelist after scrolling
2017-04-30 22:54:27 -04:00
pjft
7f84eeea94
Adding generic gamelist filter funcionality for ES, specifically genre, players, ratings and publisher/developer
2017-04-28 12:05:20 +01:00
Jools Wills
3e15aef1fc
Merge pull request #118 from zigurana/RandomGame
...
Go-to Random Game feature
2017-04-26 23:25:02 +01:00
D. Polders
3c76a4b5a7
Go-to Random Game feature
2017-04-26 18:08:54 +02:00
Jools Wills
9864c4c44c
Merge pull request #109 from pjft/RetroPie-master-videofolders
...
Adding metadata to folders
2017-04-24 23:30:09 +01:00
Jools Wills
848788d982
Merge pull request #116 from jrassa/carousel-fix
...
Fix for carousel theming
2017-04-07 02:54:34 +01:00
jrassa
7b8192c879
when loading carousel theme, keep checking system themes until one is found with a system view defined
2017-04-06 17:24:32 -04:00
pjft
77e09864d9
Adding metadata to folders
2017-04-04 09:20:22 +01:00
jrassa
fbf349d61a
fix image ratio for first image in video game list view
2017-04-03 22:24:52 -04:00
D. Polders
003d9edbf9
Add Explicit Gamelist Type selection to GUI menu.
...
Currently supports Basic, Detailed, Video, and Automatic types. The Automatic type checks for the availability of first video's, then screenshots, defaulting to Basic view if none are present.
2017-03-29 21:20:12 +02:00
D. Polders
ac5e3ad95f
System Carousel feature, now with only a single commit!
2017-03-25 21:09:12 +01:00
jrassa
e2374271f2
don't enable video view if current theme doesn't support it
2017-02-24 23:19:29 -05:00
fieldofcows
6872f47277
Fix WSOD by loading textures on demand in a separate thread when a user configurable texture memory threshold is reached
2017-01-29 22:46:22 +00:00
fieldofcows
25e1067794
Add video view that is based on detail view but allows themes to include a video preview of the selected game along with a marquee image
2016-12-12 09:34:01 +00:00
Jools Wills
1c343c999b
show "CONFIGURATION" instead of "X GAMES AVAILABLE" for the retropie menu
2016-11-08 19:38:10 +00:00
Jools Wills
1becb41508
Revert "Add direct launch option for systems that don't need a game list"
2016-03-29 05:03:39 +01:00
Jools Wills
b17cd9942a
Merge pull request #1 from taalas/direct-launch
...
Add direct launch option for systems that don't need a game list
2016-01-31 19:35:05 +00:00
taalas
6f602a22c9
skip game lists without games when quick selecting, handle empty game lists
2015-06-09 15:13:29 +02:00
taalas
5be78e9c53
add direct launch tag and corresponding data structures
2015-06-07 18:56:02 +02:00
Brent Atkinson
196449e5c3
Moved rom deletion to gamelist, fixed halt on removal.
2015-01-12 15:06:11 -05:00
Aloshi
bc72990f39
Changed 'emulationstation' folder to 'es-app' because I forgot executables don't have extensions on Linux
...
Half of the ES code has been missing for 5 days because I am incompetent
2014-06-25 12:02:36 -05:00