50 Commits

Author SHA1 Message Date
Pieter Hulshoff
38e88c44d7 Added onMenuJumpEnter/Exit animation REPLACING onHighlightEnter/Exit
animation for next/previous letter/page and for random selection; basically
a jump within the same scrolling list menu. Layouts should be updated
accordingly.
2020-11-15 15:54:58 +01:00
Pieter Hulshoff
57c465cef3 Added onPlaylistEnter/Exit animations REPLACING the onHighlightEnter/Exit
animations that used to be triggered. Layouts should be updated accordingly!
2020-11-15 15:54:57 +01:00
Pieter Hulshoff
1659a3d067 Changed lack of SDL audio from error to warning.
Additional updates for the menu structure; still WIP.
2020-11-15 15:54:57 +01:00
Pieter Hulshoff
da45a04ae8 Fixed certain menu related graphics loading issues.
Partly implemented menu structure; getting bugs fixed took priority.
2018-04-01 21:42:31 +02:00
Pieter Hulshoff
430480cdb4 Added menuScrollReload attribute for reloadable items to allow reloading of
the art/text while scrolling through the menu. Beta release, since this
functionality is mostly untested at this time.
2017-09-29 18:43:35 +02:00
Pieter Hulshoff
c90b8990df Fixed playing of select sound; it was not tested for completion before
launching the game.
2017-08-09 11:21:31 +02:00
Pieter Hulshoff
a22bd1c6a1 Fonts only need to be reloaded when launching a game with unloadSDL = true.
Reloading it every time the graphics are reallocated has a huge performance
impact.
2017-06-30 12:57:20 +02:00
Pieter Hulshoff
f6ba968925 Updated code to allow proper emulator launching on RetroPie.
Note that this is WIP, and more changes will be added, especially in the
scripting area.
2017-06-21 11:05:09 +02:00
Pieter Hulshoff
cd98016449 Added support for menuIndex attribute for menus. This will allow multiple
menus to reside at the same menuIndex, effectively showing multiple menus at
the same time. The direction for the keys is taken from the first menu
definition at each level.
2017-05-24 20:24:10 +02:00
Pieter Hulshoff
60356f0c48 Added onGameEnter and onGameExit animation triggers. 2017-05-17 21:48:19 +02:00
Pieter Hulshoff
0918d9fb96 Added playlist support via the following keys:
favPlaylist: switch between all games and favorites playlist
nextPlaylist: switch to the next playlist (that contains games)
prevPlaylist: switch to the previous playlist (that contains games)
The playlists should be placed as <playlist name>.txt in the
collections/<collection name>/playlists directory.
2017-01-07 13:57:35 +01:00
Pieter Hulshoff
6f68195258 Rewritten menu scrolling methodology. 2017-01-01 15:15:11 +01:00
Pieter Hulshoff
9d9ed51c58 Improved menu scrolling. It's difficult to find a balance between smooth
scrolling and art loading times.
2016-12-21 10:23:26 +01:00
Pieter Hulshoff
f5c7808c80 Allow menus of level n to finish the onMenuEnter animation at level n-1. This allows themes to e.g. fade out a collection menu during the onMenuEnter animation sequence of the Main collection. 2016-08-31 08:55:37 +02:00
Pieter Hulshoff
5abfe6d205 Added onMenuScroll animation, which activates once every time the menu starts scrolling. 2016-08-11 15:31:13 +02:00
Pieter Hulshoff
c4c85fa9e8 Allow onHighlight animations to be interrupted by key presses. This should remove the "lag" people have been experiencing when scrolling through the menu. 2016-07-22 14:01:25 +02:00
Pieter Hulshoff
efe9e323cc Added support for a <video> tag. This tag works similar to the <image> tag, but has an additional numLoops attribute to indicate the number of times the video should be looped. The default value is numLoops="1", and you can use numLoops="0" for infinite looping. 2016-06-26 14:02:25 +02:00
Pieter Hulshoff
5bc67f72fb Fixed layer animations for non-menu items. 2016-06-24 11:00:29 +02:00
Pieter Hulshoff
3e0b866ff5 Reduced page loading time by reducing the number of calls to
allocateSpritPoints.
2016-06-14 21:41:17 +02:00
Pieter Hulshoff
12aadc729e Added support to allow all menus to be animated in stead of just the active
menu.  WARNING: this will probably require menu animations to be updated
with a menuIndex attribute for old themes to continue functioning correctly.
2016-06-12 09:51:56 +02:00
Pieter Hulshoff
2a4b650c64 Cleaned up the animation code, and fixed several animation bugs. 2016-06-11 08:54:44 +02:00
Pieter Hulshoff
208fa0c23b Fixed remembering last selected game and playlist. 2016-06-10 13:31:39 +02:00
Pieter Hulshoff
a55fd84d58 Added animation types maxWidth, maxHeight, and nop (no-operation; do
nothing).
Fixed onHighlightEnter and onHighlightExit animations, which were not
started at all.
2016-06-10 12:10:36 +02:00
Pieter Hulshoff
537322f9c0 Added support for layouts per collection. When switching collections,
RetroFE will look for layout.xml and corresponding art in the
collections/<collection name>/layout/ subdirectory of your chosen layout,
and load that layout if it is available.
2016-06-10 08:58:41 +02:00
Pieter Hulshoff
9da55a844e Rewrote the animation activation functions and state machines to
remove/reduce the glitch behaviour.
WARNING: This will disable workarounds that have been used in the themes so
far; many if not all themes will need to be changed to work properly!
2016-06-05 09:32:48 +02:00
Pieter Hulshoff
4e2cc30cc0 Added layer check when drawing components.
Increased maximum number of layers to 20.
2016-05-11 13:37:48 +02:00
Pieter Hulshoff
9c47adc9cc Corrected switching to favorites list by adding a separate function for that purpose.
Restricted playlist add/remove to games for now.
Fixed not writing playlist if the playlists directory does not exist; directory is now created.
2016-05-11 09:00:55 +02:00
emb
6ff4acbd30 Added selectedOffset tag to support preloading and rendering of items not selected 2015-10-23 23:00:30 -05:00
emb
a5ef2bdcbc ReloadableText support for collectionName, collectionSize, and collectionIndex 2015-10-22 22:04:28 -05:00
emb
248f1993a0 Save support for favorites.txt. Misc bug fixes. Not fully tested. 2015-08-07 17:28:53 -05:00
Don Honerbrink
b940534e48 Adding button to remove from playlists (does not yet save favorites.txt yet) 2015-08-07 11:31:05 -05:00
Don Honerbrink
24d4b37cf7 Adding button to add to playlists (does not yet save favorites.txt yet) 2015-08-07 11:21:04 -05:00
Don Honerbrink
bf1286653a Add key to randomly highlight a game 2015-08-06 16:19:13 -05:00
Don Honerbrink
bea64006c9 Supporting reloadable text tag 2015-08-06 14:15:46 -05:00
Don Honerbrink
8fdc7ece64 Supporting favorites 2015-08-06 13:17:40 -05:00
Don Honerbrink
8bd246818c playlist support - crashes 2015-07-28 16:37:45 -05:00
Don Honerbrink
bcf35a954d Changed naming conventions for rest of files 2015-06-25 11:27:52 -05:00
emb
a3948b9ad2 Remember the last highlighted item when re-entering a menu. 2015-05-29 19:25:16 -05:00
emb
24db185788 Support for alphabetical scrolling 2015-05-29 06:15:23 -05:00
emb
4a240eef19 Fix bug when pressing back when scrolling (can cause crash or select the wrong item) 2015-03-10 21:39:35 -05:00
emb
692c098bf0 Having "highlight" sound effect play as soon as you press the button instead of when the item is highlighed. 2015-03-06 16:19:41 -06:00
emb
b9126f2476 Adding layout minShowTime argument to set the minimum amount of time for a splash screen to show. 2015-03-03 21:21:57 -06:00
Don Honerbrink
79b4a7e3de Adding (untested) 2 way menu axis support (using the scrollOrientation parameter) 2015-03-03 11:56:38 -06:00
Don Honerbrink
1f8441a0ce Moved implementations from header files to cpp files. Removed unused functions. 2015-02-17 16:39:13 -06:00
Don Honerbrink
86200ad731 Ran astyle to follow allman coding standard. 2015-02-17 08:41:07 -06:00
emb
09790bb08c Cleaned up ScrollingList. Support for multiple menus. 2015-01-30 12:53:50 -06:00
emb
b2bb225805 Sandbox code for multiple menus 2015-01-24 15:43:19 -06:00
emb
898d2dedb3 Removed collection database concept. Replacing with a metadata concept. 2015-01-19 09:35:08 -06:00
emb
86f80f06cb Adding status tag component 2015-01-18 20:09:14 -06:00
emb
1458f13d9a Moved RetroFE to its own subdirectory. 2015-01-04 11:48:21 -06:00