512 Commits

Author SHA1 Message Date
Vincent-FK
997a7acd58 enable key repeat at menu launch
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:15:50 +01:00
Vincent-FK
b95b326352 correct menu flicker at the end of scrolling
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:15:35 +01:00
Vincent-FK
b8324b2bb7 remove SDLK_FIRST possible input
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:15:28 +01:00
Vincent-FK
f7b831f0ab add parameter initInBackground to force init in background thread (but still uses a lot of CPU if game is launched while not finished), and parameter initMetaDb to initialize or not the meta db that takes a lot of time
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:14:39 +01:00
Vincent-FK
8532aa196e add powering-off message
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:14:30 +01:00
Vincent-FK
41288c5c25 add force refresh screen period
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:14:22 +01:00
Vincent-FK
43d2eb62c9 render screen with boolean that is now called after menu exit and after page has correctly finished rendering its last update
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:14:22 +01:00
Vincent-FK
1c72c76c59 add correct VT cleaning after game
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:14:13 +01:00
Vincent-FK
e9070675b9 deinitialize audio correctly when deinitializing SDL: add a while(Mix_Init(0)) before Mix_Quit()
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:13:11 +01:00
Vincent-FK
af54231219 reset variables correctly in menumode::end so that SDL initialize after a deinitialize does not trap
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:12:22 +01:00
Vincent-FK
a72210beb3 remove X11 from cmakeList
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 23:11:53 +01:00
Vincent-FK
ea42f62418 back to normal blit, for this you need to use the funkey SDL library which has the corect alpha per-pixel alpha blending
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 21:07:12 +01:00
Vincent-FK
6eb1a04901 add menu
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 21:07:12 +01:00
Vincent-FK
d1809eb9c0 remove joystick
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 21:07:12 +01:00
Vincent-FK
d23cf74c1d convert to SDL 1.2
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
2020-11-15 21:07:04 +01:00
Pieter Hulshoff
aaa1eb05d9 Added truRIP superdat and directory structure support. 2020-11-15 15:54:58 +01:00
Pieter Hulshoff
0a3fa3957f Fixed copy/paste error causing input queue to be emptied on menu jump. 2020-11-15 15:54:58 +01:00
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
63b80e8420 Updated version to 0.8.16. 2020-11-15 15:54:58 +01:00
Pieter Hulshoff
a72f38e8b1 Added subsSplit global settings to keep different subcollections separated
in the menu.
Added clearInputClear support for playlist change.
2020-11-15 15:54:58 +01:00
Pieter Hulshoff
b2d6ffb4c4 Fixed double loading of video on playlist change. 2020-11-15 15:54:58 +01:00
Pieter Hulshoff
d5f79d505e Updated Version.cpp. 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
1680c8467d Fixed sorting for playlists other than favorites. 2020-11-15 15:54:57 +01:00
Pieter Hulshoff
04cae80445 Changed splash interrupt to only react to select key, and use the key status
rather than SDL events.
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
92c4e28cf5 Changed version to 0.8.15b3. 2020-11-15 15:54:57 +01:00
Pieter Hulshoff
50633e639f Removed extra call for menu key reading from controls.conf. 2020-11-15 15:54:57 +01:00
Pieter Hulshoff
20cb652bf1 Fixed Windows compile error. 2020-11-15 15:54:57 +01:00
Pieter Hulshoff
9053c6a861 Make menu key optional. 2018-04-02 11:57:35 +02: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
65aa165404 Changed uint to unsigned int for Windows build. 2018-02-11 16:22:24 +01:00
Pieter Hulshoff
aedd7e67fa - Added support for monitor aspect ratio selection in the layout.xml:
e.g. layout 4x3.xml, layout 16x9.xml, etc.
- Added controls configuration at startup when controls.conf is missing.
2018-02-11 15:00:07 +01:00
Pieter Hulshoff
88becbd8f2 Fixed case sensitivity for launcher conf extension. 2017-12-06 12:07:12 +01:00
Pieter Hulshoff
aafa2e1009 Fixed support for default.png in the common mode for reloadable media. 2017-12-06 11:40:10 +01: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
eca598ec8d Fixed menuIndex !, >, and < for menuIndex other than 0. 2017-09-08 11:33:12 +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
538eeec696 Updated Windows SDL to 2.0.5 to support hot-pluggable controllers. 2017-07-14 14:12:15 +02:00
Pieter Hulshoff
3486226798 Added hot-pluggability for controllers.
Fixed loss of controller after a game has been run when unloadSDL = true.
2017-07-14 13:09:16 +02:00
Pieter Hulshoff
9c099a8997 Updated version number to 0.8.12. 2017-07-05 09:29:41 +02:00
Pieter Hulshoff
ea6d5ad51a Fixed info conf file support for reloadableMedia. 2017-07-05 08:57:46 +02:00
Pieter Hulshoff
bbbaa425d9 Fixed CR/LF mix in header files. 2017-06-30 14:51:47 +02:00
Pieter Hulshoff
6f41300b56 Added the ability to add additional information via the
collections/<collection name>/info/<item name>.conf files. This files work
like all configuration files. The global configuration overwriteXML can be
used to give the values in this file preference over those in the meta XML.
This can also be used for ReloadableMedia as well as ReloadableText items.
2017-06-30 16:37:11 +02:00
Pieter Hulshoff
7294dc9ee9 On closing, RetroFE only needs to be de-initialised once. Destroying the
RetroFE object will already do that.
2017-06-30 13:17:14 +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
a7f50c9b03 Cleaned up the scrolling list code. 2017-06-30 11:41:25 +02:00
Pieter Hulshoff
1c155f710f Fixed SDL grabwindow bug when unloadSDL = false. 2017-06-21 21:20:35 +02:00
Pieter Hulshoff
05f26e9d06 Added onMenuIdle animation type, which will continuously be activated while
the menu isn't scrolling.
2017-06-21 15:52:48 +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