Commit Graph

  • 9bdb23d7da removed printf and corrected fallback img that was not used correctly if user theme FunKey RetroFE-FunKey-1.1.4 Vincent-FK 2021-06-25 00:46:38 +02:00
  • ee5489b18e cleaned up commands in launcher.cpp.... We should launch the binary and save the son's pid in retrofe (like in gmenu2x) Vincent-FK 2021-06-20 00:53:32 +02:00
  • 751cf64dd3 re-established the correct order of things RetroFE-FunKey-1.1.3 Vincent-FK 2021-06-19 01:39:57 +02:00
  • 0fcc2687b7 bibi Vincent-FK 2021-06-17 21:26:19 +02:00
  • 6e920b7c3b RetroFe now accepts Themes from <Home directory>/layouts. For the FunKey S, this means any new themes can be added to /mnt/FunKey/.retrofe/layouts. Can't wait to see what's going to come out of this Vincent-FK 2021-06-16 23:48:23 +02:00
  • f162704430 use new share script Vincent-FK 2021-06-07 22:31:12 +02:00
  • 918466584b use single powerdown script Vincent-FK 2021-06-03 23:37:07 +02:00
  • b319dbaf90 use new frontend script Vincent-FK 2021-05-24 23:14:06 +02:00
  • bc9195fb06 change for new pid script Vincent-FK 2021-05-15 23:44:50 +02:00
  • 77ccbc26de rename start_audio_amp to audio_amp Vincent-FK 2021-05-09 22:42:58 +02:00
  • 7fc674e466 rename start_audio_amp to audio_amp Vincent-FK 2021-05-08 23:04:15 +02:00
  • 625207d17b unify brightness & volume scripts Vincent-FK 2021-05-02 22:36:04 +02:00
  • 829e59b57e use single quote around keymap name Vincent-FK 2021-04-28 22:14:14 +02:00
  • 67e0f34b93 use system() rather than popen() in FunKey menu Vincent-FK 2021-04-27 23:07:29 +02:00
  • 9a9989d6ac use keymap rom and keymap default Vincent-FK 2021-04-26 08:15:14 +02:00
  • 3c72c25b9e system instead of pclose RetroFE-FunKey-1.1.2 Vincent-FK 2021-04-20 10:50:48 +02:00
  • ec08845953 Merge branch 'FunKey' of https://github.com/FunKey-Project/RetroFE into FunKey Vincent-FK 2021-04-19 18:39:21 +02:00
  • 4e9b31baff applying keymap files if found. Fixed sound regression due to pclose Vincent-FK 2021-04-19 18:39:13 +02:00
  • 356fe72c62 fix pclose before fgets in init_menu_system RetroFE-FunKey-1.1.1 Vincent-FK 2021-04-17 22:25:33 +02:00
  • 152bae7693 add missing pclose() Vincent-FK 2021-04-13 23:17:34 +02:00
  • 473e9515ec new USR1 shutdown function RetroFE-FunKey-1.1.0 Vincent-FK 2021-01-11 18:50:17 +01:00
  • d07ca9c5e7 Starting audio Amp only when playing sounds, stopping otherwise Vincent-FK 2021-01-06 01:56:54 +01:00
  • 343f64f6b8 Restore stored PID in /var/run/funkey.pid Vincent-FK 2021-01-05 23:40:41 +01:00
  • 63180b99a7 included sqlite3 package does not support -ffast-math implied by -Ofast optimization Vincent-FK 2020-12-25 11:11:03 +01:00
  • a46a594cd7 Merge branch 'FunKey' of fk:FunKey-Project/RetroFE into FunKey Vincent-FK 2020-12-24 18:19:10 +01:00
  • 37ddfb4806 add flag to link libmikmod Vincent-FK 2020-12-24 18:18:48 +01:00
  • 9dad33dcfe added screen to change launcher in Menu Vincent-FK 2020-12-13 15:28:45 +01:00
  • bda5f1bda8 BUG correction in PageBuilder: ReloadableScrollingText arguments were in incorrect order RetroFE-FunKey-1.00 RetroFE-FunKey-0.99 Vincent-FK 2020-11-11 16:12:18 +01:00
  • 4464de67e1 BUG correction: make rootfs RO only in saveRequest in CollectionInfo::Save Vincent-FK 2020-11-10 15:23:55 +01:00
  • a2315cb143 add functions to make rootfs RW/RO everytime something needs to be saved Vincent-FK 2020-11-04 08:36:51 +01:00
  • 6cff159abf catch USR1 signal to poweroff quicker Vincent-FK 2020-10-28 08:46:46 +01:00
  • b7b91d4aae perform sanity checks if USB not connected and previous menu item was USB menu -> item set to 0 (volume) Vincent-FK 2020-09-30 14:19:57 +02:00
  • d05f503825 correct bug: move prevItem=menuItem after init_system_values Vincent-FK 2020-09-30 00:13:22 +02:00
  • 70aa82fc51 correct bug in usb detection: boolean are reversed Vincent-FK 2020-09-29 23:57:54 +02:00
  • bf24872be3 propose USB in menu only if connected, also checking if already sharing Vincent-FK 2020-09-29 23:45:43 +02:00
  • 2c94471981 add scroll animation in menus Vincent-FK 2020-09-29 16:09:57 +02:00
  • be9d569e78 save Utils::getFileName return string value as static in order for it to be accessible outside the function scope Vincent-FK 2020-09-27 15:33:32 +02:00
  • e2951c7b8e correct bug in pixel copy during crop in rescaling function Vincent-FK 2020-04-20 10:07:27 +02:00
  • 574ab1ae30 set dithering to rgb555 instead of rgb565 as it seems the screen only supports rgb555 Vincent-FK 2020-04-05 15:44:17 +02:00
  • 2eb437708d BUG correction: keep_aspect_ratio does bot work for images. Now we can set the containerWidth and containerHeight params for automatic cropping Vincent-FK 2020-03-31 01:35:48 +02:00
  • 21ff820179 BUG correction: trap when idx theme out of bounds when not found in menumode Vincent-FK 2020-03-28 10:00:04 +01:00
  • 115641c0e9 make tweens other than linear for components now work, added TWEEN_PROPERTY_X_OFFSET_SHIFT_MENU_DIRECTION Vincent-FK 2020-03-27 20:00:40 +01:00
  • 4692a90c48 reinitialize battery ast_id_ in free_graphics Vincent-FK 2020-03-24 17:31:10 +01:00
  • b0872d2374 add theme chooser in menu Vincent-FK 2020-03-22 17:43:24 +01:00
  • 71d439c3f7 add xml events onMenuFastScrollPrev onMenuFastScrollNext onMenuScrollPrev onMenuScrollNext Vincent-FK 2020-03-22 11:14:04 +01:00
  • bcac9e6f4d select correct item in ReloadableScrollingText and ReloadableText when scroll is detected Vincent-FK 2020-03-16 00:58:06 +01:00
  • 7950bffc2e correct bugs in battery update and draw process Vincent-FK 2020-03-15 10:36:47 +01:00
  • 298afbaf68 back to SDL_Delay Vincent-FK 2020-03-14 12:47:18 +01:00
  • c87a50d52b reset right GET_RUN_TIME_MS Vincent-FK 2020-03-14 12:37:46 +01:00
  • 290d160677 BUG correction: battery charge is not displayed after exiting game Vincent-FK 2020-03-14 12:33:36 +01:00
  • 5b51c7de41 render scrolling text only if necessary Vincent-FK 2020-03-14 12:16:38 +01:00
  • ebc035c869 set scrolling only if needed in reloadable scrolling texts Vincent-FK 2020-03-14 12:11:34 +01:00
  • cfb2dbd880 correct 2 bugs in scrolling text: not displayed if waitEndTime<=0 and reset current position to 0 correctly Vincent-FK 2020-03-14 11:36:38 +01:00
  • 7ee88a1bc9 remove hidden files from listing Vincent-FK 2020-03-13 01:39:44 +01:00
  • c154a282ff BUG correction: replace SDL_Getticks by clock() since SDL_Getticks gets full and unusable after 43days (which happens always when we get the ntp time after retrofe is started) Vincent-FK 2020-03-03 00:50:56 +08:00
  • e7e4be0d11 do not display battery untils values are ready Vincent-FK 2020-03-12 23:22:37 +01:00
  • 260178ef44 BUG correction: tests for disabling or not dithering was also disabling cache for scaling, so scaling was recomputed at every frame Vincent-FK 2020-02-27 15:30:22 +08:00
  • 2530514e55 remove dithering for test Vincent-FK 2020-02-27 08:11:24 +01:00
  • 3576503dc3 add sierra lite dithering 32bpp or 24bpp to 16bpp for all images, reloadable media or scrolling list if requested by field dithering in xml Vincent-FK 2020-02-25 12:48:48 +01:00
  • 69e0a51dd2 clean up the code and add onNewItemSelected when exiting game Vincent-FK 2020-02-25 10:17:15 +01:00
  • 785449ec2a declare battery files in settings Vincent-FK 2020-02-22 12:31:00 +01:00
  • 86f7d7e5b2 handle all events now in retrofe, do not break when an active one was found anymore -> it caused some events not to be treated causing sometimes weird behaviors Vincent-FK 2020-02-22 11:44:36 +01:00
  • bbc8d4b2d8 remove unnecessary layout.conf file Vincent-FK 2020-02-19 01:04:52 +01:00
  • 994e9afb1b check battery component values in files, add icons for no bat and bat charging Vincent-FK 2020-02-19 00:52:34 +01:00
  • b03b6c266c use static for percentage and other parameters in battery component Vincent-FK 2020-02-18 23:24:41 +01:00
  • b19c27656f add battery component, BUG correction: mustRender in page was rewritten at each component Vincent-FK 2020-02-18 22:04:11 +01:00
  • b15e0874da horizontal scolling text now goes forward and backwards Vincent-FK 2020-02-17 07:11:27 +01:00
  • 72fda25983 stop horizontal scollable text after the end of text and not after the whole texts disappears off the screen Vincent-FK 2020-02-16 12:13:47 +01:00
  • 8e777aba46 full "any component following menu" scroll working Vincent-FK 2020-02-13 00:24:06 +01:00
  • ee3c2dd67f reorder component update in reloadable screen update Vincent-FK 2020-02-12 19:30:15 +01:00
  • fe18b0329f add new tween tye yshitmenudirection, new event onMenuFastScroll, handing of reloadable medias following menus so that we can create lists following any menu Vincent-FK 2020-02-12 17:58:30 +01:00
  • 37e0a0a31d relloadableScrollingText now centered with xOrigin and yOrigin, spaces in reloadableScrollingText, reloadableScrollingText now has the power to force screen renderings Vincent-FK 2020-02-10 01:25:32 +01:00
  • 909b7a4dbd add cache prescaling images Vincent-FK 2020-02-08 07:51:50 +01:00
  • 870255f628 add nearest neighbor resizing in render function Vincent-FK 2020-02-06 15:19:27 +01:00
  • 2ee2c2e5f3 list games only once if same game has multiple accepted extensions Vincent-FK 2020-02-04 18:07:34 +01:00
  • 287b1bb048 use sorted scandir instead of readdir Vincent-FK 2020-02-04 17:45:38 +01:00
  • 5bb70b02eb BUG correction: text not cleared on deallocation, better state printing in state machine Vincent-FK 2020-02-04 12:54:28 +01:00
  • c96bd40a9b BUG correction: double free of menu memory Vincent-FK 2020-01-16 06:50:23 +08:00
  • 0e831fcd66 free idx_menus Vincent-FK 2020-01-16 00:41:59 +08:00
  • a460438ed2 add Artifacts folder to .gitignore Vincent-FK 2020-01-15 22:49:21 +08:00
  • edc5f7d277 use usr/local/sbin binaries in menu Vincent-FK 2020-01-15 22:46:48 +08:00
  • 5f1db4952f check exec return code for USB mounting Vincent-FK 2020-01-07 18:46:45 +01:00
  • 14ca315440 add quick usb commands, need to be improved to check return value Vincent-FK 2020-01-07 14:00:07 +01:00
  • a5a611af19 correct render bug Vincent-FK 2020-01-07 13:23:32 +01:00
  • dd0d19bd38 change input processing, rendering is now forced at the right times Vincent-FK 2020-01-03 13:57:02 +01:00
  • 8aef81685d replace SDL_BlitSurface by memcpy Vincent-FK 2019-12-21 01:22:38 +08:00
  • f76d500f4a back rotation 270 Vincent-FK 2019-11-22 00:54:45 +01:00
  • 9fcf914ab3 use better arrow positioning Vincent-FK 2019-11-22 00:54:18 +01:00
  • 5800044b98 have better scroll handling, less flicker when scrolling is too high to be visible Vincent-FK 2019-11-22 00:45:39 +01:00
  • c5cb16dfb9 add dummy USB menu, need real functions to know when USB data is present and real functions to perform share start/stop Vincent-FK 2019-11-22 00:04:27 +01:00
  • 997a7acd58 enable key repeat at menu launch Vincent-FK 2019-11-21 19:45:34 +01:00
  • b95b326352 correct menu flicker at the end of scrolling Vincent-FK 2019-11-18 14:08:07 +08:00
  • b8324b2bb7 remove SDLK_FIRST possible input Vincent-FK 2019-11-15 14:18:47 +08:00
  • 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 Vincent-FK 2019-11-14 15:16:14 +08:00
  • 8532aa196e add powering-off message Vincent-FK 2019-10-27 23:45:51 +08:00
  • 41288c5c25 add force refresh screen period Vincent-FK 2019-10-27 22:29:28 +08:00
  • 43d2eb62c9 render screen with boolean that is now called after menu exit and after page has correctly finished rendering its last update Vincent-FK 2019-10-25 07:07:58 +08:00
  • 1c72c76c59 add correct VT cleaning after game Vincent-FK 2019-10-25 06:57:11 +08:00
  • e9070675b9 deinitialize audio correctly when deinitializing SDL: add a while(Mix_Init(0)) before Mix_Quit() Vincent-FK 2019-10-24 18:54:25 +02:00
  • af54231219 reset variables correctly in menumode::end so that SDL initialize after a deinitialize does not trap Vincent-FK 2019-10-24 18:49:18 +02:00