Commit Graph

1327 Commits

Author SHA1 Message Date
twinaphex de6d5beeeb Condense ifdef preprocessor statement (ifdef HAVE_MENU) 2013-11-08 05:00:21 +01:00
twinaphex 3fa7f05cae Move file_list.c/file_list.h to root dir 2013-11-08 04:53:12 +01:00
twinaphex 77622e390c (file_list.c) Rename rgui_file to item_file 2013-11-08 04:50:33 +01:00
twinaphex a71314bded (file_list) Rename rgui_list to file_list - also replace function names 2013-11-08 04:48:31 +01:00
twinaphex 4ab64bcd8f (Menu) Rename some more functions with prefix rgui_ 2013-11-08 04:43:42 +01:00
twinaphex f8c37fc933 (Menu) Simplify menu preprocessor conditionals - there is now
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
twinaphex 9d4d6fe23d (Menu) Refactor menu code - change namespace of functions
(PS3 Menu) Add PAL60 mode
2013-11-08 03:37:06 +01:00
ToadKing 469671af57 make autosave timeout value more descriptive 2013-11-07 21:02:59 -05:00
ToadKing 1ca96ccd82 fix autosave timeout in RGUI 2013-11-07 20:49:33 -05:00
twinaphex 0faa3fbbde (RARCH_CONSOLE) Compile in SRAM Autosave option in by default
for RARCH_CONSOLE now
2013-11-08 01:54:46 +01:00
ToadKing 3124dff2a3 fix deferred loading on consoles 2013-11-07 18:28:49 -05:00
twinaphex da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex 329393eb14 (rmenu_disp) Implement render_messagebox 2013-11-07 21:10:53 +01:00
twinaphex 7b9b87c284 (rmenu_disp) remove most HAVE_MENU_PANEL ifdefs 2013-11-07 18:13:30 +01:00
twinaphex bd67fe7d86 (rmenu_disp) Cosmetic improvements 2013-11-07 16:40:04 +01:00
twinaphex c567bec9bc (RGUI) Add need_refresh for increasing/decreasing shader passes 2013-11-07 03:33:34 +01:00
twinaphex e61d086ef3 (PS3) Add RMenu as a rasterizer now for common menu interface 2013-11-07 02:54:09 +01:00
twinaphex c1c49f6ff6 (RGUI) Move Video/Audio/Input/Path Options to Settings as submenus 2013-11-07 00:27:30 +01:00
twinaphex 2c2542ff63 Rename message.c/message.h to message_queue.c/message_queue.h 2013-11-06 15:08:54 +01:00
twinaphex 1d8da54f22 (menu_common) Build fix 2013-11-05 12:31:14 +01:00
twinaphex feec9bc9fa (Menu_common) Core selection - make it work on all console platforms
and not just Wii
2013-11-05 10:51:23 +01:00
twinaphex 2299a4fb3f (RGUI) Fix PS3 directory paths 2013-11-05 00:46:07 +01:00
twinaphex 87ffd4eb06 (PS3 RMenu) Fix PS3 build 2013-11-04 20:33:49 +01:00
twinaphex fb5c2d5f34 (GX) Build fixes 2013-11-04 16:48:03 +01:00
twinaphex 3d756537ac Move popping of RGUI list out of rgui.c rasterizer - should make
all of the RGUI list state code self-contained inside menu_common.h
2013-11-04 16:37:51 +01:00
twinaphex 6bc239abf7 (RGUI) Turns rgui.c into a raster driver for common
menu code - rmenu.c and rmenu_xui.cpp will need to be
adapted accordingly
2013-11-04 16:23:37 +01:00
twinaphex 46099c5ca7 (RGUI) Style nits 2013-11-04 14:01:36 +01:00
twinaphex 767cf1e47b (RGUI) Move toggle_settings code to menu_settings.c 2013-11-04 13:46:24 +01:00
twinaphex 2fd6fcdd76 (RGUI) Integrate rguidisp.c into rgui.c 2013-11-04 13:27:03 +01:00
twinaphex 9688288837 Move initing/deiniting of menu_list over to menu_common.c - turn
rgui.c into a rasterizer
2013-11-04 13:18:07 +01:00
twinaphex 0612ec702c (RGUI) menu_set_settings_populate_entries moved to menu_common.c and
renamed menu_populate_entries
2013-11-04 12:32:43 +01:00
twinaphex fb8bc6ced6 Move more logic to menu_parse_and_resolve - rgui.c and rmenu.c
should become purely rasterizers only
2013-11-04 11:57:24 +01:00
twinaphex e9cfb210bd (RGUI) Combine menu_parse and menu_resolve_names 2013-11-04 11:53:25 +01:00
twinaphex c5ee3c8f49 (RGUI) history_parse and directory_parse become one function 2013-11-04 11:48:33 +01:00
twinaphex cdb179f38a (RGUI) Combine resolve_names functions into one 2013-11-04 11:33:11 +01:00
twinaphex df5c9b6878 (RGUI) Host menu_type_is out of rgui.c and into menu_settings.c 2013-11-04 03:09:36 +01:00
twinaphex 4136fce571 (RGUI) Only one menu_type_is function now 2013-11-04 03:08:14 +01:00
twinaphex f7bde4c537 (RGUI) Cutdown on ifdefs to do with setting enums 2013-11-04 02:53:00 +01:00
twinaphex eea2a07fe1 (RGUI) Have all settings enums be available 2013-11-04 02:42:17 +01:00
twinaphex 5da1ffd24a (RGUI) Combine rgui populate_entries functions into one function and
move it outside rgui.c to menu_settings.c
2013-11-04 01:49:25 +01:00
twinaphex 1bc17ca81c (menu_common) load_menu_game_prepare - add RARCH_CONSOLE ifdef 2013-11-03 15:17:45 +01:00
Themaister e159007aca Remove a redundant branch. 2013-11-03 10:46:10 +01:00
twinaphex 250a2b305d (Rmenu XUI) Cleanup unused variable in rgui_iterate 2013-11-03 06:36:02 +01:00
twinaphex d4593a088a (RMenu XUI) Cleanup unused rgui pointer in rgui_free 2013-11-03 06:34:49 +01:00
twinaphex a35eb793f7 (menu_settings) Fixup last w assignment - thanks to Lioncash for pointing out 2013-11-03 06:26:41 +01:00
twinaphex c55a0885c7 (RARCH_CONSOLE) Fixes pushes to ROM history list - it should only push an entry
if either g_extern.system.no_game is true, or when either *tmp
or g_extern.fullpath is not null. Otherwise it will push an entry
with a bogus 'ROM path' to the list, and this broke RMenu badly
2013-11-03 05:49:46 +01:00
twinaphex d6ad586114 (PS3) We don't use texrefs for font texture 2013-11-02 23:20:20 +01:00
twinaphex e9243a5ab4 (GX) Move remainder of video initing code to gx_init 2013-11-01 18:12:06 +01:00
twinaphex ed1b012250 (360) Build fixes 2013-11-01 17:16:02 +01:00
ToadKing fea062ce67 fix static library builds with empty core directories 2013-10-30 21:53:01 -04:00
twinaphex aab3f93f56 Fix driver next/previous switching 2013-10-30 17:50:43 +01:00
twinaphex b2d1fe66b3 (RGUI) Can now change drivers from RGUI - you need to restart
for changes to take effect
2013-10-30 17:06:50 +01:00
twinaphex 7c39118f91 (RGUI) Rename 'Info Options' to 'Driver Options' 2013-10-30 16:05:59 +01:00
twinaphex 7e833618a6 (RGUI) Add Info page - will eventually be possible to switch
drivers with this
2013-10-30 15:36:37 +01:00
Themaister fc5ba8f79a Use configured aspect ratio to set windowed size.
Fixes some cases where core aspect is used and aspect_ratio_auto isn't set.
2013-10-26 18:31:48 +02:00
Themaister fbd2747122 Fixup debug FPS bug. 2013-10-22 21:49:39 +02:00
twinaphex d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister c16217d42f Add fallbacks to where cgp/glslp's are saved.
If shaders are stored in /usr/shader or similar we need fallback
locations.
2013-10-18 09:21:04 +02:00
Lioncash a0eeea65d5 Fix a typo in the previous commit. 2013-10-17 14:18:30 -04:00
Lioncash fb4dd42edf Fix a potential memory leak in menu/rmenu_xui.cpp in function rgui_init(). 2013-10-17 14:16:07 -04:00
Themaister 3c3e90b0df Only display autodetect if there are info files. 2013-10-15 10:29:45 +02:00
Themaister 48602cbdbb Refactor out to menu_init_core_info. 2013-10-11 09:17:32 +02:00
Themaister b8fbc58e44 Update core info when INFO_DIR changes. 2013-10-11 09:14:31 +02:00
twinaphex 310f404747 Get rid of MODE_INFO_DRAW 2013-10-11 01:28:26 +02:00
twinaphex 849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
twinaphex a35e708335 (core_info) Can now set core info directory from RGUI 2013-10-11 00:36:08 +02:00
twinaphex 3d1b0fcdfc (RMenu) Use menu_settings.c function for setting (Show Framerate) 2013-10-08 10:16:36 +02:00
twinaphex 3a83c7711b (RMenu/RGUI) Rename 'Debug Info Messages' to 'Show Framerate' 2013-10-08 10:10:53 +02:00
ToadKing a999b56f33 implement deferred loading for consoles 2013-10-07 22:33:02 -04:00
twinaphex acde3339cf (Filebrowser/RMenu) More fixes 2013-10-07 22:00:54 +02:00
twinaphex d8ee1bb133 (Filebrowser PS3) Fix crash at startup 2013-10-07 21:37:53 +02:00
twinaphex be514e803a menu_settings.c - DEBUG_INFO_TEXT - left/right should toggle it,
start should disable it
2013-10-07 16:49:55 +02:00
twinaphex 37054f6a5c (GX) Get rid of HAVE_MINIOGC 2013-10-07 16:10:20 +02:00
twinaphex ebe5ddc257 (RMenu) osk_callback_enter_filename - add missing strlcat 2013-10-07 15:37:34 +02:00
twinaphex 96289960d5 (RMenu) Use fill_pathname_join instead of messy snprintf with hardcoded
path separator string
2013-10-07 15:33:52 +02:00
twinaphex 5cdfd2a06b (RGUI) Build fixes 2013-10-07 14:50:32 +02:00
twinaphex 018af9989f (Filebrowser) Refactor 2013-10-07 12:02:02 +02:00
twinaphex b163096028 (RMenu/Filebrowser) Refactor filebrowser 2013-10-07 09:45:49 +00:00
twinaphex c5f5249e2a (RMenu/Filebrowser) Refactor filebrowser 2013-10-07 09:29:31 +00:00
twinaphex af10f3f5bc Split up file_list into separate compilable file 2013-10-07 08:56:16 +00:00
twinaphex b5b480ec15 (RMenu/RGUI) Move file_browser.h/file_list.h up one level 2013-10-07 08:45:32 +00:00
twinaphex 3b7e2a1882 (RGUI) Rename rguidisp_bitmap.c to rguidisp.c 2013-10-07 08:39:31 +00:00
twinaphex adda68219d (RGUI) rguidisp.c - change function signature for render_text 2013-10-07 08:27:01 +00:00
twinaphex 22ea71a4ad (RMenu) Split up RMenu display code into rmenudisp.c 2013-10-07 08:25:09 +00:00
twinaphex 7bdaae0dea (RMenu) Cleanups 2013-10-07 08:02:07 +00:00
twinaphex ef593a5d1a (RMenU) Add RetroArch Config option 2013-10-07 00:56:34 +00:00
twinaphex d67b954ed7 (RMenu) Add Crop Overscan option 2013-10-07 00:23:57 +00:00
twinaphex b7598b8494 (RMenu) Add Vsync/Rate Control option 2013-10-07 00:14:47 +00:00
twinaphex 079d93f3c9 (RMenu) Add setting - Device Type 2013-10-06 23:55:29 +00:00
twinaphex e574881d75 Get rid of SETTING_DPAD_EMULATION - will be reintroduced later in some
way
2013-10-06 23:48:12 +00:00
twinaphex 5aecea208e (Xbox 1 RMenu) Build fixes 2013-10-07 01:37:00 +02:00
twinaphex 371dd802e8 (RMenu PS3) Move reslution code over to menu_settings.c 2013-10-06 23:29:50 +00:00
twinaphex 62271ec540 (RMenu) Expand settings_lut 2013-10-06 23:24:14 +00:00
twinaphex 2528ac46a3 (RMenu) Take out LEFT/RIGHT actions for path setting options 2013-10-06 22:53:35 +00:00
twinaphex b75cd94fd4 (RMenu) Use menu_set_settings_label 2013-10-06 22:51:06 +00:00
twinaphex 3c002d6e2d (RMenu/RGUI) Move label printing of settings out of rguidisp_bitmap.c 2013-10-06 22:36:30 +00:00
twinaphex d31c6a864e (RMenu) Set up settings_lut 2013-10-06 22:26:35 +00:00
twinaphex cd12474eed (RMenu) Cleanups 2013-10-06 23:40:09 +02:00
twinaphex fd053086ef (RARCH_CONSOLE) Remove DECREMENT_BIND/INCREMENT_BIND 2013-10-06 20:01:44 +00:00
twinaphex eba3eabe0a (PS3) Move PS3 resolution settings code over to menu_settings.c 2013-10-06 19:49:20 +00:00
Themaister 5a2531dbe1 Only compile in threaded video option if HAVE_THREADS. 2013-10-06 17:26:58 +02:00
Themaister 3b97cdfdac Add threaded video option. 2013-10-06 17:23:49 +02:00
twinaphex 79631ece8d Start using libretro_dir for RARCH_CONSOLE too 2013-10-06 15:09:36 +00:00
twinaphex 85d18b77d8 (RARCH_CONSOLE) Include rgui->libretro_dir for RARCH_CONSOLE
- Get rid of 'bypasses initialization of' warnings/errors
2013-10-06 15:00:59 +00:00
Themaister a3ddf8ed26 Sort results for libretro cores correctly. 2013-10-06 15:10:00 +02:00
Squarepusher 8a674d07e9 Merge pull request #326 from libretro/coreinfo
Integration of core info files in RGUI.
2013-10-06 04:54:46 -07:00
Themaister 8c768b0207 Move core_info stuff to menu_common. 2013-10-06 12:31:04 +02:00
Themaister c813e787cb Add core_info_list_get_display_name.
Avoids duped code in RGUI.
2013-10-06 12:27:08 +02:00
twinaphex abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
Themaister fa42aaf9cb Only create autodetect if we have info files. 2013-10-05 18:40:12 +02:00
Themaister bf0bce64b0 Poke into zip files as well to find matches. 2013-10-05 18:33:22 +02:00
Themaister aab2d20151 Some display tweaks. 2013-10-05 17:12:27 +02:00
Themaister 050e2375e3 Begin implementing core autoselect. 2013-10-05 17:07:56 +02:00
Squarepusher 3d386286e7 Merge pull request #324 from libretro/initcommands
Implement an idea for a start screen.
2013-10-05 05:38:32 -07:00
Themaister cf7232160b Only show start screen if rgui_show_start_screen is set.
Default to true, and set to false on first time.
2013-10-05 11:11:43 +02:00
Themaister 2d0131ddab Update start screen, and add Help ... entry. 2013-10-05 11:05:28 +02:00
Squarepusher 425c4a19ab Merge pull request #325 from libretro/libretrodesc
Resolve libretro core names in RGUI.
2013-10-04 20:40:34 -07:00
Squarepusher cd97b5e3d2 Merge pull request #323 from libretro/nextletterscroll
Repurpose L/R in RGUI to scroll to next letter.
2013-10-04 20:40:17 -07:00
ToadKing 746e5b4a4d fix missing include 2013-10-04 17:05:15 -04:00
Themaister 091a6379eb Use info files to resolve libretro names. 2013-10-04 18:10:03 +02:00
Themaister a53680a57e Resolve libretro core names in RGUI. 2013-10-04 17:33:21 +02:00
Themaister 1ff48fcd38 Implement an idea for a start screen. 2013-10-04 14:53:47 +02:00
Themaister 80b62bf9e6 Slight tweaks. 2013-10-03 20:53:07 +02:00
Themaister b72996da86 Add RGUI scroll acceleration. 2013-10-03 20:44:33 +02:00
Themaister 1c9bbb9333 Repurpose L/R in RGUI to scroll to next letter.
A common feature in controller-based file selection pickers
is to be able to scroll to next letter in the alphabet.
2013-10-03 17:32:59 +02:00
twinaphex 8c7550bb90 (GX) Move some GX-specific variables over to menu_settings.c (only place
they are needed
2013-10-02 19:15:51 +02:00
Themaister 21b9fb1f4b Refresh menu properly on player change.
Players > #2 shouldn't see hotkeys.
2013-09-30 19:49:09 +02:00
Themaister 21e5a08135 Drop strange comment. 2013-09-30 19:10:07 +02:00
Themaister 36de382581 Remove obsolete rgui_controller_lut. 2013-09-30 18:56:19 +02:00
Themaister b3c1afe2ec Redirect keyboard events to RGUI.
Fixes issue where libretro cores receive keyboard events even though
they are not running (inside RGUI).
2013-09-30 18:53:56 +02:00
Themaister a3a8b762c3 Allow multi-line messages in RGUI. 2013-09-30 18:42:44 +02:00
Themaister 02cd05550e Reuse input_config_bind_map. 2013-09-30 18:08:47 +02:00
Themaister b4a648ca8a Merge branch 'master' of github.com:libretro/RetroArch into inputconfig
Conflicts:
	frontend/menu/menu_common.h
	frontend/menu/rgui.c
2013-09-30 17:50:05 +02:00
Themaister d25313d0c1 Avoid new keybinds triggering stuff right away.
Most relevant things here are RGUI toggle, back, start, etc.
2013-09-30 17:39:44 +02:00
ToadKing acb201648a [GX] fix compile 2013-09-29 21:54:18 -04:00
twinaphex dbfff9dff1 (RMenu) Add 'Save Config' to RMenu - for static linked console RA,
library name doesn't seem to get updated when you switch core
and create a new config file
2013-09-30 03:16:43 +02:00
twinaphex 4dc52370c6 (menu_settings) Ifdef shader settings 2013-09-30 02:56:28 +02:00
twinaphex 11e2ceb34f (RMenu) Start using ticker bar for menu descriptions - make it look as much
like RGUI as possible
2013-09-30 02:52:35 +02:00
twinaphex 103cf3a94e (RMenu/RGUI) Reuse two shader settings across RGUI/RMenu 2013-09-30 02:17:15 +02:00
twinaphex 66431d1524 (RMenu XUI) Refactor - implement rgui_iterate - go through same
code in menu_common.c as RGUI/RMenu
2013-09-30 00:54:35 +02:00
twinaphex 64dc9513ae (RMenu/RGUI) Get rid of MODE_MENU_INGAME_EXIT 2013-09-30 00:09:40 +02:00
twinaphex 59bfae864e (RMenu XUI) Fix crash at core options when no core options
in core
2013-09-29 21:11:30 +02:00
Themaister 3bdd3131a2 Only show RGUI menu toggle for player 1.
All hotkeys are done in terms of player 1.
2013-09-29 20:44:44 +02:00
Themaister 4f2de6d578 Add RGUI menu toggle config. 2013-09-29 20:40:04 +02:00
Themaister f1bfaaf420 Allow to customize all. 2013-09-29 19:37:48 +02:00
Themaister c5a033f7e1 Basic configuration seems to work. 2013-09-29 19:09:33 +02:00
twinaphex af644b3c15 (Xbox 1 RMenu) Show menu panel again for settings 2013-09-29 19:04:28 +02:00
twinaphex 48c042d56c (360) More build fixes 2013-09-29 18:04:56 +02:00
Themaister dad5e347d8 Start adding joypad config. 2013-09-29 17:58:46 +02:00
twinaphex 059f2c98cd (360) Build fixes to rmenu_xui.cpp 2013-09-29 17:53:26 +02:00
twinaphex 4271a4c15b menu_context.c - make C++ compatible 2013-09-29 17:50:29 +02:00
twinaphex 68ea997b83 (RMenu XUI) Hide XUI_CONTROL_NAVIGATE defines 2013-09-29 17:39:43 +02:00
twinaphex f3a5859853 (RMenu XUI) Cut down on code duplication 2013-09-29 17:08:42 +02:00
twinaphex d70a4da1d1 (360 RMenu XUI) Refactor code to use menu_set_settings 2013-09-29 17:04:43 +02:00
twinaphex 0ba8db53cb (RMenu) Settings toggling fixed 2013-09-29 16:25:36 +02:00
twinaphex 25e7595a2d (RMenu) Reuse menu_set_settings 2013-09-29 16:07:36 +02:00
twinaphex 963b041d14 (RGUI) Split settings up into new file - menu_settings.c 2013-09-29 15:47:45 +02:00
twinaphex 43e3aa3372 (RMenu) Swap out controls for Resize so it works the same as RGUI 2013-09-29 05:08:57 +02:00
twinaphex a1c8943d59 (RMenu) render_ingame_menu_resize - will be made same as RGUI so all the
bloat can go already
2013-09-29 05:03:36 +02:00
twinaphex 9abcd71e42 (RMenu) Remove INPUT_PRESET_CHOICE 2013-09-29 04:47:32 +02:00
twinaphex cbe6e2ab6b (RMenu) Take out CONTROLS_SCHEME/SAVE_CUSTOM_CONTROLS - configswap is a
better substitute
2013-09-29 04:30:42 +02:00
twinaphex 977086d7da (RMenu) Quick fix when shaders are compiled in 2013-09-29 04:10:24 +02:00
twinaphex 33f1a4931d (RMenu) Take out non-working 'Autostart CGP on startup' setting 2013-09-29 04:05:10 +02:00
twinaphex a3559645b2 (RMenu) Get rid of RMenu frame advance - we will use RetroArch's
frame advance functionality from now on - this hacky stuff can go
2013-09-29 03:36:51 +02:00
twinaphex bc152410ef (RMenu) Have RMenu act exactly like RGUI - pressing Back in
LIBRETRO_CHOICE goes back to menu - you can now press left/right
in History list
2013-09-29 03:23:25 +02:00
twinaphex 91f2d76fbe (RMenu) Now shows no entries available when trying to enter a dir that has
no files with valid extensions - can also exit out of this dir
2013-09-29 01:34:34 +02:00
twinaphex 5a81028f96 Split up filebrowser code 2013-09-28 23:47:37 +02:00
twinaphex 14983ab56e (RGUI) rgui_flush_menu_stack - unroll 2013-09-28 18:34:37 +02:00
twinaphex c545c3e4f2 (RGUI) Split off RGUI display presentation code into separate file - should
be going through interface next
2013-09-28 04:45:44 +02:00
twinaphex 74cfcfa713 (rmenu.h) Get rid of useless externs 2013-09-28 04:28:28 +02:00
twinaphex c5beaec16c (RMenu) Make RMenu even more minimalist - fit more text onscreen 2013-09-28 04:14:07 +02:00
twinaphex f04501bcb2 (Rmenu) yellow selected file in filebrowser instead of red 2013-09-28 03:21:26 +02:00
twinaphex 488e0d10ea (RMenu) Properly goes back now a prev dir for select_directory/select_file 2013-09-28 02:40:24 +02:00
twinaphex 725be8ff94 (360/XDK) Build fixes 2013-09-28 01:46:55 +02:00
twinaphex ff3ce71b98 (RMenu) select_directory - remove logic at RGUI_ACTION_CANCEL 2013-09-27 22:52:05 +02:00
twinaphex 24a05c5e5c (RMenu) Shows path again - get rid of comment in select_directory 2013-09-27 21:59:45 +02:00
twinaphex 9e8d5d05cf Rename directory_parse to rgui_directory_parse to avoid namespace conlict 2013-09-27 21:05:51 +02:00
twinaphex e58cec4f05 (RMenu) Take out SETTING_FONT_SIZE 2013-09-27 20:32:29 +02:00
twinaphex 2ddbbcd85e Ifdef shader_manager_init function call invocation 2013-09-27 18:54:47 +02:00
twinaphex 5040f852ef Avoid warnings passing rarch_time_t value to rarch_sleep - cast to
unsigned int
2013-09-27 18:43:34 +02:00
twinaphex b858d268e6 (RMenu) Cleanups - comments no longer necessary 2013-09-27 18:00:54 +02:00
twinaphex 1a0a23ac8e (Rmenu) Refactor all text rendering to render_text function - called once 2013-09-27 17:35:47 +02:00
Hans-Kristian Arntzen 884ae34f0a Merge pull request #305 from libretro/configswap
Configswap
2013-09-27 08:34:36 -07:00
twinaphex af8caf45f7 (RGUI) RGUI_ACTION_SETTINGS was deprecated - get rid of it 2013-09-27 17:00:00 +02:00
twinaphex 7056edf143 (RMenu) Bake in rgui_list for PS3/Xbox 1/360 too 2013-09-27 16:52:03 +02:00
twinaphex 525f33687a (RGUI/RMenu) Useless include removed 2013-09-27 15:31:04 +02:00
twinaphex 52703220ea (RMenu/RGUI) Refactor RGUI/RMenu controls - now uses straight RetroPad polling
from input driver without awkward button mappings
2013-09-27 14:31:16 +02:00
twinaphex 123c1e2c88 (RMenu) Forgot break for case 2013-09-27 14:05:40 +02:00
twinaphex a825ea8e53 (RMenu) Refactor select_rom into select_file 2013-09-27 13:47:21 +02:00
twinaphex 2ead9b328b (RMenu) Move filebrowser_update up one layer to rgui_iterate 2013-09-27 02:39:39 +02:00
Themaister 8238ba7d50 Allow saving new config files directly from RGUI.
The file name is inferred to avoid typing.
2013-09-27 00:19:03 +02:00
Themaister 5d63d4d9e6 Fix potential segfault on config swap.
Main Menu list can shrink and selection_ptr wasn't set to a sane value.
2013-09-27 00:19:03 +02:00
Themaister 17e2da87e1 Don't hardcode rgui.cgp/glslp as default.
In a multi-config environment, shader manager could conflict.
Instead, infer the default RGUI shader cgps/glslps from config path.

Fallback to old rgui.cgp/rgui.glslp if we use a default config.
2013-09-27 00:19:02 +02:00
Themaister 217ad4b04d Update shader manager on game load. 2013-09-27 00:19:02 +02:00
Themaister a3d61e1ec5 Add Config Directory option to RGUI. 2013-09-27 00:19:02 +02:00
Themaister ce6de72181 Some cleanups in settings saving/load defaults. 2013-09-27 00:18:17 +02:00
Themaister aecbf71a90 Begin adding config swapping support to RGUI. 2013-09-27 00:17:42 +02:00
Themaister 933844274c Build fix. 2013-09-27 00:09:01 +02:00
twinaphex f74c698822 (RMenu) Start rewriting input code to be uniform to RGUI 2013-09-26 22:34:51 +02:00
Themaister b11895ec4c Build fix. 2013-09-26 21:45:35 +02:00
twinaphex 0039ade630 (RMenu/RGUI) Fast L/R scrolling 2013-09-26 15:50:10 +02:00
twinaphex 01a1b16932 (RMenu) Use rgui->selection_ptr 2013-09-26 14:45:48 +02:00
Themaister 841d8fa8e1 Add video_rotation.
Replaces g_extern.console.screen.orientation.
Rotation semantics have slightly changed to be more composable.
The rotation is now video_rotation + rotation set by cores themselves
(if allowed).

The config is now also saved properly.
2013-09-22 11:45:04 +02:00
Themaister 086caef070 Add input_libretro_device_pN setting.
Allows input device type to be saved in a config, which tremendously helps usability
for PlayStation 1 cores.
2013-09-22 11:09:14 +02:00
twinaphex d7eac16329 (menu_common) Add missing header include 2013-09-21 13:34:10 +02:00
Themaister c2e863ac85 Fixup menu_ctx_init_first.
Use it directly instead of find_driver().
2013-09-19 17:44:28 +02:00
twinaphex 3b70e3be4a (RMenu XUI) Use interface for RMenu XUI too 2013-09-19 15:01:17 +02:00
twinaphex 45f46abb6d Create a menu_context interface 2013-09-19 14:49:07 +02:00
twinaphex 1fc1014448 More g_settings manipulation moved over to set_settings 2013-09-19 12:24:12 +02:00
twinaphex 81280896ed Move more g_settings manipulation to settings.c (settings_set) 2013-09-19 11:38:12 +02:00
twinaphex 66716dc94c (RMenu XUI) Replace some snprintfs with strlcpy 2013-09-19 11:11:51 +02:00
twinaphex 290c6f99cb (RMenu XUI) Use fill_pathname_join instead of messy snprintf and messy
seperators
2013-09-19 10:04:49 +02:00
Themaister 8707c4c648 Add screenshot directory option to RGUI. 2013-09-16 23:30:42 +02:00
Themaister 815cf1f35c Add GPU screenshots option. 2013-09-16 23:12:34 +02:00
Themaister bbbe058cad Avoid OSD fonts appearing on screenshots.
Clears message queue and renders a cached frame
before taking screenshot when taking GPU screenshots.
2013-09-16 22:29:07 +02:00
ToadKing 246139c022 fix rgui without dynamic cores 2013-09-15 17:09:23 -04:00
twinaphex 8837139271 (360) Build fixes 2013-09-15 18:49:18 +02:00
Themaister 04a1b4b652 Add Core Directory option to RGUI.
Also clean up some useless branches to ternaries.
2013-09-12 22:00:59 +02:00
Cray Elliott ba095dca79 Fix compilation error introduced by analog overlay changes 2013-09-06 01:43:55 -07:00
meancoot 149a0f37d0 (Overlay Analog) Coding style fixes 2013-09-05 18:19:07 -04:00
Themaister a6268692b6 Add window scale x/y and crop overscan options. 2013-09-01 13:48:43 +02:00
Themaister b2bf3c12de Add swap_interval support.
Again, mostly useful for 120Hz monitors, and/or playing content which is
a fraction of monitor refresh rate.
2013-09-01 13:20:10 +02:00
pinumbernumber b3b92ee563 RGUI: Do not scroll if all items are visible at once 2013-08-30 11:29:54 +01:00
Themaister 62c34c7871 Add black_frame_insertion support for 120 Hz monitors. 2013-08-30 09:35:13 +02:00
twinaphex 7ad663c5f2 Get rid of RARCH_PERFORMANCE_MODE everywhere 2013-08-25 22:21:23 +02:00
Themaister 32cae444a0 Fixup new private extensions.
Moved private stuff to libretro_private.h.
Dropped use of retro_variable (redundant and wrong type).

Didn't understand difference between EXEC_LOAD and EXEC_RELOAD at all.
Only one was used anyways ...
2013-08-25 11:10:32 +02:00
twinaphex edfab9630a Add RETRO_ENVIRONMENT_EXEC - refactor some stuff internally in
libretro frontend to implement this new functionality
2013-08-25 01:37:15 +02:00
twinaphex 8aef9f4c64 Hide away g_settings.libretro mutation and do calls to environment
callback action instead - frontends should do it this way as well
2013-08-24 23:08:40 +02:00
twinaphex 7c81f554af Add RETRO_ENVIRONMENT_SET_LIBRETRO_PATH to libretro API. Also gives us opportunity
to write internal code - other libretro implementations can now just implement
this environ callback and have other external frontends of their own be able to swap
in/out libretro cores from outside
2013-08-24 22:35:54 +02:00
Themaister 9ce4684e14 Make sure ASPECT_RATIO_CUSTOM is set to something sane. 2013-08-19 23:00:17 +02:00
Themaister 2b28050c15 Build fixups. 2013-08-11 01:16:08 +02:00
Hans-Kristian Arntzen 21a1ae72d5 Remove unused variables. 2013-08-11 01:08:00 +02:00
Themaister b51fca8411 Fix X/Y on Shield. 2013-08-01 20:04:36 +02:00
twinaphex 52a160a744 (RMenu) Cleanups in select_file 2013-07-28 04:51:55 +02:00
twinaphex 2323cee6a7 Get rid of MODE_EXIT 2013-07-27 20:34:06 +02:00
twinaphex 3e3e6ed976 Get rid of MODE_VIDEO_PAL_VSYNC_BLOCK 2013-07-27 20:14:29 +02:00
twinaphex 248d4e8084 Get rid of MODE_OSK_DRAW 2013-07-27 20:12:46 +02:00
twinaphex fe433b2322 Add new header file_ext.h - refactor out frontend_console.h 2013-07-15 14:54:40 +02:00
twinaphex 328ce6ad31 (RARCH_CONSOLE) Combine frontend_console.c with frontend.c - hope
and pray this doesn't break hard
2013-07-15 14:19:29 +02:00
Themaister 73016a2752 Throttle RGUI with timers.
Some drivers have broken VSync and without audio blocking, RGUI can blast away
at 1k+ FPS making it unusable.
2013-07-06 21:16:54 +02:00
twinaphex 77d5190a01 (OSX) Make dummy context file - compile in RetroArch with Griffin 2013-07-04 15:01:38 +02:00
twinaphex b696388f34 (Clang) No warnings now 2013-07-03 02:59:46 +02:00
twinaphex 1ff0107bd4 Clang warnings fixed
'Equality comparison with extraneous parentheses' semantics warnings in
Clang fixed
2013-07-02 15:23:20 +02:00
Themaister 40046531f3 Should fix GPU screenshots if last frame was duped. 2013-06-22 00:38:00 +02:00
Themaister 73bfae9602 Always render cache when using HW render.
When using HW render, only GPU screenshots are allowed.
2013-06-16 13:56:49 +02:00
Themaister 312154d110 Use common rarch_take_screenshot in RGUI.
Adds GPU screenshot support from RGUI by rendering a clean frame
then taking screenshot.

Should also fix screenshot crash when using GL cores.

Always uses g_settings.screenshot_directory path.
I didn't see the purpose of the RARCH_CONSOLE #ifdef. Probably a Wii
hack from way back ...
2013-06-16 13:44:07 +02:00
Themaister bb3bac7e0d Fix ROM history being deleted when ROM includes ;.
Using ';' as a delimiter in history file was a mistake as it breaks
when files have this file included. Instead, split on newline.

To avoid reading broken history files, the history file path is
changed.

Also add game_history_path/size to config.
2013-06-09 22:24:30 +02:00
Themaister d5a8d3bfb0 Can update video refresh rate from RGUI. 2013-06-07 14:34:09 +02:00
Themaister d8d9073f30 Allow resetting frame time estimator from RGUI. 2013-06-07 14:26:33 +02:00
Themaister b0b6e65ab6 Add monitor refresh rate monitor in RGUI.
Doesn't support updating refresh rate setting yet.
2013-06-07 14:10:42 +02:00
twinaphex f50332df41 (360) Build fix 2013-06-03 20:42:04 +02:00
twinaphex 11ae5fde33 (RMenu) Move around 'Save Custom Controls' 2013-06-03 01:50:59 +02:00
twinaphex 5b3ef441a4 (Rmenu) Scroll viewport text at Resize Menu 2013-06-03 01:42:58 +02:00
twinaphex 9adf9ce818 (RMenu) Shorter menu labels 2013-06-03 01:23:02 +02:00
twinaphex 2b32c4dd9b (RMenu) Remove stub 'Default all' options which were no longer used 2013-06-03 01:18:09 +02:00
twinaphex a71a6a4749 (RMenu/RGUI) Console changes - menu should always run with vsync on +
remove video throttle option
2013-06-02 23:29:28 +02:00
twinaphex 5845530976 (RMenu) Fix game history Y positioning when dealing with multiple
pages
2013-06-02 22:57:35 +02:00
twinaphex 537be9f6a3 (Xbox/RMenu) Prevent empty string_lists returned by dir_list_new from
crashing the program
2013-06-02 22:32:06 +02:00
Themaister 1fb7ff7c4e Push the correct path to history.
If a zipped ROM was loaded directly from CLI, the extracted path would
be pushed to history.
2013-05-30 22:53:40 +02:00
twinaphex 58557f837b (Menu) Reuse rgui_input for both HAVE_RMENU and HAVE_RGUI 2013-05-27 11:11:23 +02:00
Themaister 43a6346d26 Adds video_hard_sync_frames.
Allows to control the maximum amount of frames that can be queued on
GPU.
2013-05-26 13:43:24 +02:00
twinaphex 2613cf1b77 (RMenu XUI) Fix enums 2013-05-26 00:37:46 +02:00
twinaphex eb05ee2ef4 (RMenu XUI) Move rewind options to RMenu XUI Options submenu 2013-05-26 00:37:00 +02:00
twinaphex 20fdda8ca9 (RMenu) Move rewind settings to Settings submenu 2013-05-26 00:32:39 +02:00
twinaphex e492425700 (RMenu) Fixes key repeat 2013-05-26 00:03:27 +02:00
Themaister de7fc0fb6f Increase ROM history size to 100. 2013-05-25 12:07:34 +02:00
twinaphex 542a6b0385 (GX) Fix Gamecube build 2013-05-24 18:38:13 +02:00
twinaphex 1e05541477 (GX) Change ifdef HW_RVL to ifdef GEKKO for Gamecube resolution
support
2013-05-23 13:26:06 +02:00
twinaphex 5608683d41 Label of RGUI_OVERLAY_DIR_PATH - change to <default> 2013-05-22 23:02:03 +02:00
twinaphex 0977917837 (RGUI) Overlay directory path can now be set (and setting will be
saved)
2013-05-22 22:31:16 +02:00
twinaphex 79ea30f54f Introduce config_save_on_exit 2013-05-22 15:35:28 +02:00
twinaphex 82b6ab3ec7 (NGC) Build fixes 2013-05-22 00:30:02 +02:00
Themaister a66fdf8b5f Style nits. 2013-05-21 08:46:51 +02:00
ToadKing 655546849a (RGUI) allow setting paths from RGUI 2013-05-20 22:17:26 -04:00
twinaphex f921162cac (RMenu/PS3) Implement Save Shader Preset 2013-05-19 23:10:21 +02:00
Themaister 085929a40d Fix potential segfault if rgui->info is broken. 2013-05-18 22:45:23 +02:00
Themaister 1325794178 Remove config path in RGUI.
Wonky, opens a can of worms to change it.
2013-05-18 00:34:52 +02:00
Themaister fd47aab9ee Allow user to browse overlays more easily. 2013-05-18 00:16:31 +02:00
Themaister 1a01c2b54a Print OVERLAY in menu when selecting one. 2013-05-18 00:14:11 +02:00
Themaister 44449a0ae6 Make overlay_scale logic consistent with overlay_alpha. 2013-05-18 00:09:09 +02:00
Themaister 2b72d6a30c Fixup overlay handling in RGUI.
- Fix massive memory leaks and behavior.
- Flush menu stack to input options.
- Display which overlay is used.
- Display (DIR)/(FILE) when overlay is searched for.
- Avoid potential floating point error when incrementing/decrementing
  opacity.
2013-05-18 00:04:29 +02:00
twinaphex 69e2bbd57e (RGUI) Add Overlay Scale option - when downscaling, doesn't seem to
update the hitboxes
2013-05-17 23:37:48 +02:00
twinaphex 21238048a3 (RGUI) Add opacity overlay setting 2013-05-17 23:26:11 +02:00
twinaphex 04e884a213 (RGUI) Make it possible to change overlays from RGUI 2013-05-17 23:13:09 +02:00
Themaister ea8aab4c42 Move rewind and SRAM settings around.
Move to general "Settings".
2013-05-17 22:22:15 +02:00
Themaister 608f88bd55 Refactor initial ROM history save.
Add menu_rom_history_push_current().
2013-05-17 18:33:45 +02:00
Themaister 50bd5bb4ff Save to ROM history when loading from CLI. 2013-05-17 18:22:03 +02:00
Themaister 559b5d39fc Reallow left/right RGUI scroll.
Assumed this was a bug as right scroll was broken.
Fixes right case as well.
2013-05-13 00:26:46 +02:00
Themaister f9cfface71 Don't set do_held on left/right.
Fixes a bug where NAV_MENU was checked for and not (1 << NAV_MENU).
2013-05-11 14:26:05 +02:00
twinaphex 8785a45da1 (RMenu XUI 360) Add savestate loading/saving by pressing OK button
in Menu
2013-05-10 22:52:34 +02:00
twinaphex 523a27ce61 (360) Load Game History list now works on 360 as well 2013-05-10 22:44:58 +02:00
twinaphex f1358e1643 (RMenu XUI 360) Add initial Load Game History 2013-05-10 22:01:35 +02:00
twinaphex 21c335df74 (RMenu XUI 360) Add Core Options 2013-05-10 20:40:38 +02:00
twinaphex 1ee603b07e (RMenu XUI 360) Add Audio Options 2013-05-10 19:02:24 +02:00
twinaphex 3543885acf (RMenu XUI 360) Fix VIDEO_OPTIONS_MODE 2013-05-10 18:36:59 +02:00
twinaphex cdcc068a18 (360 RMenu XUI) Rename rarch_quickmenu to rarch_video_options 2013-05-10 18:25:17 +02:00
twinaphex c1757f7a3d (360 RMenu XUI) Take out some unnecessary HXUIOBJs and just have a root_menu and
current_menu HXUIOBJ instead
2013-05-10 17:14:22 +02:00
twinaphex 70af692622 (360 RMenu XUI) Easier way to declare new XUI menu classes 2013-05-10 03:54:20 +02:00
twinaphex 0ca3a52172 (360) Move more video options from 'Settings' to 'Video Options' 2013-05-10 03:36:32 +02:00
twinaphex 388a2d9830 (360) HD XUI overlay better positioned for 4:3 screen - make
gamma correction toggle a 'restart app' option
2013-05-10 03:22:59 +02:00
twinaphex c9d5f8ba67 (RMenu XUI) Make text bottom label work 2013-05-09 22:27:18 +02:00
twinaphex 75edb0fa43 (RMenu XUI) Have filebrowsers use the same XUI file 2013-05-09 21:46:13 +02:00
twinaphex 18fe85bc1b (RMenu XUI) Restore rotation functionality + other tweaks 2013-05-09 20:24:58 +02:00
twinaphex 17ea68b9cd (RMenu XUI) Implement more options in main menu 2013-05-09 20:07:12 +02:00
twinaphex 34ec600190 (RMenu XUI) Build fix 2013-05-09 18:46:06 +02:00
twinaphex c5be3d957a (RMenu XUI) Cleanups + indenting 2013-05-09 18:44:35 +02:00
twinaphex 1ba7659c3f (RMenu XUI) Change rarch_main.xui into list view as well 2013-05-09 18:13:27 +02:00
twinaphex 4fc4c294c2 (360) Have 'controls' screen use same XUI screen as rarch_controls /
rarch_quickmenu - 'slider' will be reimplemented as a simple
list option
2013-05-09 15:13:09 +02:00
twinaphex 9f16c5eee5 (360 XUI) Start using the same XUI file for several screens (Quick Menu /
settings screen now use the same xui file only duplicated)
2013-05-09 13:25:02 +02:00
ToadKing 9b7bd42cc0 fix compiler warning 2013-05-08 19:12:18 -04:00
Themaister 7f88b51828 Split video and shader toggle options.
Fixes crashes when left/right was used on browser options.
2013-05-08 18:17:30 +02:00
twinaphex b45ce8a998 (XUI) Use XuiUnregisterClass directly 2013-05-08 02:11:06 +02:00
Themaister 3b06905329 Update RGUI shader menu when a preset is loaded. 2013-05-06 16:41:31 +02:00
twinaphex 7067b2eeb1 (RMenu XUI) Have one common m_back 2013-05-06 03:05:21 +02:00
twinaphex bbcd7b535b (360 RMenu XUI) Programmatically fill in Input Options menu 2013-05-06 02:55:39 +02:00
twinaphex 21a50bdd65 (360 RMenu XUI) Use only one m_settingslist 2013-05-06 02:44:13 +02:00
twinaphex 1a3a86d824 (360 RMenu XUI) Programmatically fill in Quick Menu list 2013-05-06 02:40:15 +02:00
twinaphex d481bc61fc (360) Programmatically fill in XUI list for 'Settings' 2013-05-06 02:07:33 +02:00
twinaphex 7d075514b3 (360) Fix 'Default filter' labels 2013-05-06 01:22:15 +02:00
twinaphex a4c9e7cffd (360) Gamma correction toggle should no longer crash 2013-05-06 01:11:20 +02:00
twinaphex dd1a0476d8 (360 RMenu XUI) Take out more unnecessary info messages 2013-05-06 00:57:29 +02:00
twinaphex 3e39c1ebef (GX/RGUI) Build fix 2013-05-06 00:54:17 +02:00
twinaphex 900ee2e9ae (XDK360) Get rid of no longer needed message queue messages 2013-05-06 00:47:22 +02:00
ToadKing 5e839e5d74 fix compile warnings 2013-05-05 16:19:27 -04:00
twinaphex f2e8f1f1fd (RGUI) Create Settings menu 2013-05-05 22:02:47 +02:00
ToadKing 858ad034c8 don't scroll tickers for entries not highlighted 2013-05-05 15:42:45 -04:00
twinaphex 87c59df6ea (RMenu/XDK1) Build fixes 2013-05-05 21:16:34 +02:00
twinaphex 9d2d0e5844 (RMenu) Split up Shader Options into submenu - same as RGUI 2013-05-05 21:11:34 +02:00
twinaphex e8ef68345b (RMenu) Use more sane define names 2013-05-05 20:10:26 +02:00
twinaphex c5e0c2ad2b (RMenu) Update some labels 2013-05-05 17:38:20 +02:00
twinaphex 5f441fbd43 (XDK1) Shows rotation option again on Xbox 1 2013-05-05 17:31:30 +02:00
twinaphex 26acc84596 (RMenu) Adjust amount of characters to consider as 'max' for ticker
for Xbox 1
2013-05-05 17:21:15 +02:00
twinaphex 84ed664fd1 (RMenu) Use menu_ticker_line for RMenu as well 2013-05-05 17:03:57 +02:00
twinaphex 40ba6cf9e2 (GX/RMenu) Have per-core configuration use g_extern.input_config_path - have
RMenu use it as well
2013-05-05 16:29:32 +02:00
twinaphex 6a1eb0c0b1 (PS3/RMenu) Move oskutil_handle to menu_common.h 2013-05-05 16:12:06 +02:00
twinaphex 9c3d943600 (RGUI/RMenu) Get rid of SRAM/Savestate dir enable - obsolete now 2013-05-05 16:02:57 +02:00
twinaphex 092b2625dd (RMenu/RGUI) Drop MODE_MENU_INGAME 2013-05-05 15:20:45 +02:00
Themaister 1540cb9bba Use ticker line across the board. 2013-05-05 11:31:43 +02:00
Themaister 65deccfcad Refactor ticker line creation.
Move to menu_common. Can be reused.
2013-05-05 11:26:02 +02:00
Themaister 5b8257d62c Add ticker line to settings in RGUI.
Adds a ticker line so that long paths can still display in full
without overflowing the terminal.
2013-05-05 11:17:27 +02:00
Themaister e88b3204bc Clarify Hard VSync wording.
Can use Hard Sync even without VSync.
2013-05-05 09:54:54 +02:00
twinaphex de1f159178 (RMenu) Change title of 'Screenshot Mode' to 'Take Screenshot' - same as
RGUI
2013-05-05 04:48:06 +02:00
twinaphex 2c557c1eef (RMenu) Menu now more or less synced with RGUI's menu ordering 2013-05-05 04:42:06 +02:00
twinaphex ed97079b89 (RMenu) Path settings submenu 2013-05-05 03:41:41 +02:00
twinaphex a0b07c8d7d (RMenu) Fix labels 2013-05-05 02:58:48 +02:00
twinaphex 374a8c065d (RMenu) Move input settings to submenu 2013-05-05 00:27:55 +02:00
twinaphex 2ac2df09d4 (RMenu) Sync name labels with that of RGUI 2013-05-05 00:27:55 +02:00
Themaister a12d163bde Move Video Options out of shader manager branch. 2013-05-04 23:44:50 +02:00
Themaister fdfdb43ada Move shader settings to their own sub-menu. 2013-05-04 23:44:50 +02:00
twinaphex 57949c7c46 (RMenu) Cleanups 2013-05-04 23:26:54 +02:00
Themaister 086db7c24a Remove RATE_CONTROL in RGUI.
It's redundant as 0.000 delta disables it anyways.
2013-05-04 23:20:38 +02:00
twinaphex 58899bbbf2 (RGUI) Fixup config file 'option' 2013-05-04 22:54:17 +02:00
Themaister f5d4008018 Check g_settings.video.hard_sync per frame.
Don't use hard_sync default in RGUI.
2013-05-04 22:49:06 +02:00
twinaphex 6992ab8943 (RGUI) Add placeholder rate control option - needs way to be 'enabled'
/ 'disabled' ingame
2013-05-04 22:47:14 +02:00
twinaphex d447dba432 (RGUI) Add Vsync and Hard sync options 2013-05-04 22:29:22 +02:00
twinaphex f1d55b9360 (RGUI) Add Path options (note - not yet changeable - we will need 'scrolling'
if a label on the right side is too long to fit the screen - something
like a 'ticker' that increments the text from right to left by one
character per frame)
2013-05-04 21:17:47 +02:00
twinaphex 7c21bb1496 (RGUI) Split up 'disk options' into Disk submenu 2013-05-04 19:26:34 +02:00
twinaphex f93513113d (RGUI) Split up audio options into 'Audio Options' submenu 2013-05-04 19:00:57 +02:00
Themaister e3d78af36c Fix off-by-one bug.
Rename "Device No." to Player to clarify a bit.
2013-05-04 17:03:06 +02:00
Themaister 254d9b36d6 Flush RGUI menu stack correctly.
Menu stack wasn't flushed out correctly on ROM load.
2013-05-04 16:56:44 +02:00
twinaphex a5f89d88ce (RGUI) Make 'input' into its own category (should have been done from the start
really)
2013-05-04 16:48:53 +02:00
twinaphex e6b3bb079b (RMenu/RGUI) Add rgui->current_pad 2013-05-04 16:15:05 +02:00
Themaister 946a2a2fc1 Update rgui->load_no_rom in the right place. 2013-05-04 14:55:29 +02:00
Themaister 13f0a8548f Fix crash when rgui->info.library_name is NULL.
If retroarch was started with g_settings.libretro as a directory, and a
ROM loaded. Going into RGUI would see g_settings.libretro as a directory
and rgui->info wouldn't be properly initialized.

Fixed by updating g_settings.libretro if a specific core is resolved.
2013-05-04 14:32:00 +02:00
Themaister 1dfcc8a2b0 Fix MSVC2010 build. 2013-05-04 00:59:59 +02:00
Themaister 175e657071 Clear out load_no_rom after rom load. 2013-05-02 15:43:11 +02:00
Themaister 99990173cc Can load without ROM in RGUI (HAVE_DYNAMIC).
Not sure how this will work on RARCH_CONSOLE, but it'll probably be
checked for in startup on core load somehow and either start in menu or args->no_rom.
2013-05-02 14:46:05 +02:00
Themaister 2f61e3c65d Fix punctuation. 2013-05-01 16:49:23 +02:00
ToadKing a2247272ef add back in ROM load failure message 2013-04-30 21:45:02 -04:00
Themaister 81e8a51728 Should fix RMenu zip support. 2013-05-01 01:18:01 +02:00
Themaister e2229ec3c3 Use strcasecmp in extension checking. 2013-04-30 23:58:49 +02:00
Themaister c87e79556d Add zip extensions to RMenu as well. 2013-04-30 23:48:14 +02:00
Themaister 1d9eea880a Add zip as extension in RGUI file browser. 2013-04-30 23:36:29 +02:00
Themaister 19f5d53b9d Fix capitalization. 2013-04-29 22:02:46 +02:00
ToadKing 210afcb23f (RGUI) fix ROM loading message not appearing 2013-04-29 16:01:41 -04:00
twinaphex eeaa53b127 (XDK1/RMenu) Build fix 2013-04-29 17:08:24 +02:00
Themaister 1cab391be8 Add SRAM autosave option to RGUI. 2013-04-29 16:12:15 +02:00
Themaister e15ba44c50 Drop ROM history if config_path isn't set.
Avoid loading and saving history from/to a potential broken path.
2013-04-29 14:12:39 +02:00
twinaphex 6cee86c768 (RMenu) Get rid of main_wrap savestate_dir/sram_dir 2013-04-29 05:44:32 +02:00
twinaphex b0968790c6 (RMenu) Add preliminary Load Game History - now just need to
properly set up rarch_console_exec for arg passing (PS3/Xbox 1/360)
2013-04-29 05:17:22 +02:00
twinaphex 7eafb676e3 (RMenu) Cleanups 2013-04-29 04:55:49 +02:00
twinaphex 51aa5b170f (RMenu) Fixes/cleanups 2013-04-29 03:59:48 +02:00
twinaphex 86628d3462 Add param to load_menu_game_history - rgui->selection_ptr is
unused yet in RMenu/RMenu XUI, so need to pass a param to function
2013-04-29 03:10:26 +02:00
twinaphex 4a772c3fa8 (Wii) Working Load Game History 2013-04-29 03:05:46 +02:00
twinaphex ebda8425dc (Wii) Ability to use custom libogc library 2013-04-28 18:37:55 +02:00
twinaphex 3b5c85f485 (CONSOLE) Fixes history list on console when g_extern.fullpath
does not point to a ROM path
2013-04-28 17:30:08 +02:00
twinaphex 775ed24633 Fix for consoles in load_game_menu_prepare 2013-04-28 16:58:58 +02:00
twinaphex 63ba647018 Move all of the code to menu_common.c to avoid code duplication
across frontends
2013-04-28 16:38:13 +02:00
Themaister ca5db6d5b7 Include config.h correctly. 2013-04-28 15:25:22 +02:00
twinaphex 5aa4101620 (Menu) Move MODE_LOAD_GAME mechanics to upper function rarch_main 2013-04-28 15:00:37 +02:00
twinaphex 8768a69bc6 Move history_free and history_init to higher-level menu_common.c 2013-04-28 03:48:35 +02:00
Themaister d70a7df8ae Fix CXX_BUILD. 2013-04-28 02:01:25 +02:00
Themaister ecbda2497c Fix some casing consistencies. 2013-04-28 01:52:58 +02:00
Themaister 62e2586116 Fixups to display in history. 2013-04-28 01:47:20 +02:00
Themaister 5293f0e1fc Begin intergrating ROM history. 2013-04-28 01:47:20 +02:00
Themaister 901516d283 Load history. 2013-04-28 01:44:39 +02:00
Themaister 30ac2ebfcf Start in settings menu on menu entry. 2013-04-28 01:44:39 +02:00
Themaister 2ccea2299d Add initial ROM history. 2013-04-28 01:44:38 +02:00
twinaphex 582cfce1f8 (RGUI) Move all video settings over to 'Video Options' submenu 2013-04-28 01:41:38 +02:00
twinaphex 370ed0cef4 (RGUI) Move first video option ('Rotate') to Video Options submenu 2013-04-28 01:04:34 +02:00
twinaphex c02725f091 (RGUI) Rename SHADER MANAGER to VIDEO OPTIONS - build it in when
HAVE_SHADER_MANAGER is not defined as well
2013-04-28 00:32:25 +02:00
twinaphex 11e2577a87 (RMenu XUI) Add menu toggle hack for now 2013-04-27 22:49:43 +02:00
twinaphex cd9c6aa95d Drop delay_timer 2013-04-27 21:27:41 +02:00
twinaphex 6b6dd4fc4e (RMenu) Fixes rotation 2013-04-27 18:37:05 +02:00
twinaphex 40ac65f8ef (RMenu) Cleanups 2013-04-27 18:09:47 +02:00
twinaphex e61ef2322c (RMenu) fixes menu toggle 2013-04-27 17:44:39 +02:00
twinaphex c92585e6a3 (RMenu) Sligtly better menu toggle but still screwed up 2013-04-27 16:49:39 +02:00
Themaister bd1f4ce72d Go back to settings menu after appending disk. 2013-04-27 16:48:17 +02:00
twinaphex 74b5b8549e (RMenu) Drop ifndef for RMenu 2013-04-27 16:40:01 +02:00
twinaphex 19b8877e18 (RMenu )(Very glitchy) menu toggle 2013-04-27 16:22:26 +02:00
Themaister 767ad59857 Support disk append. 2013-04-27 15:49:29 +02:00
twinaphex 3dba1b2cb4 (RMenu) Menu pop/push stack refactors 2013-04-27 15:42:33 +02:00
twinaphex 28eaf7b128 (RARCH_CONSOLE) Build fix 2013-04-27 15:07:59 +02:00
twinaphex 3b2d41360c (RMenu) Initial 'doing menu toggle' without delay timers 2013-04-27 14:52:39 +02:00
Themaister f918191d3c Add basic disk swapping to RGUI. 2013-04-27 13:29:01 +02:00
Themaister 3bb7280b46 Can change libretro device on the fly. 2013-04-27 12:57:34 +02:00
Themaister 9e2392051d Refactor libretro device type handling.
Show devices in RGUI.
2013-04-27 12:32:30 +02:00
Hans-Kristian Arntzen 6871d42ee9 Merge pull request #189 from Themaister/joypad-autoconfig
Joypad autoconfig.
2013-04-27 01:07:20 -07:00
twinaphex 5f449fc870 (RMenu) Add Settings link to Quick Menu 2013-04-27 03:50:42 +02:00
Themaister f637a89423 Can toggle devices in run time on PC.
Drop some input options if set_keybinds isn't implemented. Only adds
confusion.
2013-04-27 00:37:20 +02:00
Themaister ac6c576d29 Drop dependency on delay_timer in RGUI. 2013-04-26 23:52:29 +02:00
Themaister 9a3875d99a Don't hardcode new delay timers in RGUI.
Delay timers are reset in driver.c.
2013-04-26 20:16:58 +02:00
Themaister 66a1c01419 Make device name show up in RGUI. 2013-04-26 00:22:12 +02:00
twinaphex 0addc6d885 (RMenu) Use proper extensions 2013-04-24 18:58:07 +02:00
twinaphex 34619412bc (RARCH_CONSOLE) Get rid of video_stop_func 2013-04-24 16:08:18 +02:00
twinaphex 1e22908756 (RGUI) Cleaner rotation label 2013-04-23 23:25:05 +02:00
twinaphex 36d34871fb (RMenu) Change ingame menu ordering to match RGUI's 2013-04-23 23:22:50 +02:00
twinaphex fa3da2eff4 (RMenu XUI) Fix build 2013-04-23 22:38:00 +02:00
twinaphex fda5db7476 (CONSOLE) Get rid of system_deinit_save and system_post_init 2013-04-23 01:55:00 +02:00
twinaphex e303156ffc (RMenu) Fix title at bootup 2013-04-22 22:25:57 +02:00
twinaphex 7a2c78ae68 Start unifying global init/deinit code for console 2013-04-22 22:16:46 +02:00
Themaister 911f782c50 Fix BB build. 2013-04-22 20:25:00 +02:00
Themaister 14f8291e57 Display core version in RGUI as well. 2013-04-22 20:16:26 +02:00
Themaister 7e4ef13520 Get core information when statically linked. 2013-04-22 20:10:22 +02:00
Themaister c146206d30 Allow game selection directly if core is set.
Don't require core to be loaded if it's found in g_settings.libretro.
2013-04-22 16:58:00 +02:00
Themaister 45357cabdf Fix version rendering in RGUI. 2013-04-21 18:56:17 +02:00
Themaister b40933ba3b Allow core selection to traverse directories.
Drop use of RGUI_FILE_DEVICE as it adds many extra special casing for no
real gain.
2013-04-21 18:22:28 +02:00
Themaister 1f96c5aeb3 Don't spam apply_state_changes in RGUI. 2013-04-21 15:43:14 +02:00
Themaister 96c0fbc8bc Fix #ifdef for fullscreen toggle. 2013-04-21 11:15:30 +02:00
Themaister bb36aecadb Fix MSVC 2010 build. 2013-04-21 10:05:26 +02:00
Themaister b3eca2bb68 Fix back button in Core Options. 2013-04-21 01:25:56 +02:00
Themaister 4681fe2578 Fix casing consistency. 2013-04-21 00:11:55 +02:00
Themaister 610f33962a Add fullscreen toggle to RGUI.
Drop hotkey handling. Needed to add delay timer hackery in that case.
2013-04-21 00:01:49 +02:00
Themaister 43dc80c430 Don't push a file list before settings.
Not really needed, and is a source for confusion.
2013-04-20 23:37:57 +02:00
Themaister 4f7d3b5ea0 Add custom viewport + integer scale mode. 2013-04-20 12:48:33 +02:00
Themaister 7120e5842d Add integer scale to RGUI. 2013-04-20 11:48:26 +02:00
Themaister be01a0ea59 Refactor aspect ratio handling.
Rework aspect ratio handling in RGUI.
Custom viewports work on PC. Ensure that aspect_ratio_idx persist
through reentrancy. Change ASPECT_RATIO_AUTO to ASPECT_RATIO_SQUARE to
better signal that it's the square pixel option.

Add ASPECT_RATIO_CONFIG as an option to use config file defined aspect
ratio.
2013-04-20 10:56:04 +02:00
twinaphex c68d3fd512 (RMenu) Reduce calls to browser_update 2013-04-20 00:47:21 +02:00
twinaphex 419620a49e (360) Add viewport hack for now so that XUI doesn't get
cut off depending on the viewport of the game
2013-04-19 23:22:58 +02:00
twinaphex 0f067fd093 (RMenu XUI) Start unwrapping macros 2013-04-19 21:50:19 +02:00
twinaphex dca93a406d (360) Improve menu_iterate_xui 2013-04-19 21:04:08 +02:00
twinaphex b7e71f17b8 (RMenu/RGUI) Move menu_iterate to upper-layer menu_common 2013-04-19 17:53:01 +02:00
twinaphex dd9e6029c2 (RMenu/RGUI) Make menu_iterate almost the same in both RGUI and RMenu - now we
can start moving it to the upper layer
2013-04-19 17:34:46 +02:00
twinaphex 2cef7466a8 (RMenu/RGUI) Don't set first delay timer 2013-04-19 00:52:37 +02:00
twinaphex 576aafd5e4 (360) Drop setting timer_delay on deinit: in rmenu_iterate 2013-04-19 00:32:13 +02:00
twinaphex a979cba13c (RMenu/RGUI) Standardization pt. 1 2013-04-18 23:00:27 +02:00
twinaphex 16a40af173 (RGUI) Move menu_stack code back into rgui.c 2013-04-18 22:22:25 +02:00
twinaphex fbb82177f3 (RMenu XUI) Build fix 2013-04-18 19:09:38 +02:00
twinaphex 24e3f0d2ee (RMenu/RGUI) Move DEVICE_NAV_* enums to menu_common.h 2013-04-18 19:08:17 +02:00
twinaphex 798f40b6a1 (RMenu/RMenu XUI) Move browser_update to upper-layer menu_common.c -
use same function for both RMenu and RMenu XUI
2013-04-18 19:05:43 +02:00
twinaphex 1f6d3a8610 (RMenu XUI) Build fix 2013-04-18 18:39:52 +02:00
twinaphex 96f2ecce20 (RMenu/RGUI) Move filebrowser/menu stack initialization to upper-layer
menu_init() function
2013-04-18 18:33:03 +02:00
twinaphex 5b35feddae (RMenu/RGUI) Free rgui and filebrowser in upper-layer menu_free() function 2013-04-18 17:29:04 +02:00
twinaphex bc4bd6b684 (RMenu XUI) Use rgui->browser 2013-04-18 17:27:11 +02:00
twinaphex d18e6d1315 (RMenu XUI) Don't use CXuiControl anymore 2013-04-18 17:18:34 +02:00
twinaphex 44661638b6 (RMenu XUI) Use m_controlnoslider directly 2013-04-18 16:52:30 +02:00
twinaphex c1f6f097df Use m_controlslist directly 2013-04-18 16:47:49 +02:00
twinaphex 3580d3fe67 (Rmenu XUI) Use m_list directly 2013-04-18 16:35:50 +02:00
twinaphex e3ee31cdb5 (RMenu XUI) Use m_settingslist directly 2013-04-18 16:26:46 +02:00
twinaphex 7b8709c61a (RMenu XUI) Use m_quickmenulist directly 2013-04-18 16:14:39 +02:00
twinaphex a6d7026cc5 (RMenu XUI) Use XuiTextElementSetText directly 2013-04-18 16:04:10 +02:00
twinaphex ca6e661663 (Rmenu XUI) Use XuiSceneNavigateForward 2013-04-18 15:48:13 +02:00
twinaphex b746d56e5c (RMenu XUI) Start using some non-OOP functions 2013-04-18 15:33:25 +02:00
twinaphex 0127f5eadd (RMenu/RGUI) menu_init - check for NULL return value and fail gracefully
if so
2013-04-18 15:14:19 +02:00
twinaphex ab5092d643 (RMenu XUI) Build fix 2013-04-18 15:11:28 +02:00
twinaphex a2fc2b1e4f (RMenu XUI) Use menu_common 2013-04-18 15:04:09 +02:00
twinaphex 7c4b730e51 (RMenu/RGUI) Move menu_init/menu_free to menu_common.c 2013-04-18 14:58:47 +02:00
Themaister 41573976b0 Fix ROM loading in RGUI.
menu_input_process() was skipped, so MODE_INIT wasn't set.
2013-04-18 09:44:47 +02:00
twinaphex 54725d009c (RMenu/RGUI) Use similar defines for menu 2013-04-18 02:48:18 +02:00
twinaphex 84f80dc2c1 (RMenu/RGUI) Create menu_common to tie RMenu/RGUI more closely together 2013-04-17 23:31:49 +02:00
twinaphex 161dd5741f (RGUI/RMenu) Standardize somewhat 2013-04-17 21:11:13 +02:00
twinaphex 99358421f1 (RMenu XUI) Don't increment g_extern.frame_count in
menu_iterate
2013-04-16 14:37:45 +02:00
twinaphex 892a8b1d48 (RMenu XUI) Take out msg_queue_pull in menu_iterate 2013-04-16 14:31:12 +02:00
Themaister a0f7a184fd Avoid potential segfaults if files are deleted.
Potentially, on a refresh, selection_ptr could be out of range
if files have been removed.
2013-04-16 12:32:03 +02:00
twinaphex 6f226c1c01 (RMenu) Drop msg_queue_pull from menu_iterate 2013-04-16 02:13:53 +02:00
Themaister 46f1374a27 Refactor selection_ptr push/pop logic.
Should make more sense now.
2013-04-16 01:53:07 +02:00
twinaphex c0deb826de (RMenu) Backport shader_manager_init to RMenu 2013-04-16 01:27:43 +02:00
twinaphex 909e1fadc8 (RMenu) Refactors - create rmenu_iterate - try to make
menu_iterate / menu_free / menu_init as much like RGUI as possible
2013-04-16 01:10:53 +02:00
twinaphex 71faee1d4d (RMenu) Fix logic error in applying CGP changes 2013-04-16 00:16:26 +02:00
Themaister 2c8ddeb109 Add gfx_shader_resolve_relative.
Translates relative paths (from CGP) into absolute paths,
suitable for loading files, and saving cgp some place else.
2013-04-15 23:48:25 +02:00
Themaister 4c15814bf7 Ensure that terminal doesn't get overflowed. 2013-04-14 23:27:15 +02:00
Themaister 2853e50aa2 Move Hardware Filtering to GEKKO ifdef. 2013-04-14 23:17:48 +02:00
Themaister 8c58ff191a Fix strange use of pointers in screenshot code. 2013-04-14 23:14:38 +02:00
Themaister 926707ae44 Avoid needless branch. 2013-04-14 23:05:25 +02:00
Themaister f8ac159fc2 Properly set RGUI shader struct on init.
Use g_settings.video.shader_path if configured.
2013-04-14 22:59:36 +02:00
Themaister 6373819a16 Use default shader type correctly.
Don't hardcode Cg as it's not supported everywhere.
2013-04-14 22:48:35 +02:00
Themaister c9a02273bb Check for fullscreen in RGUI. 2013-04-14 16:40:17 +02:00
Themaister 829840b415 Fallback in RGUI if libretro_path isn't set. 2013-04-14 16:34:42 +02:00
Themaister 5e45c31f06 Set selection_ptr when calling OPEN_FILEBROWSER. 2013-04-14 16:29:35 +02:00
twinaphex 6e56c552b4 (RMenu) Use g_settings.video.shader_path - properly set g_settings.video.shader_enable
based on return of video_set_shader_func - remove g_extern.file_state.cgp_path
2013-04-14 15:43:02 +02:00