Commit Graph

1157 Commits

Author SHA1 Message Date
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
c052b2fb9c (RARCH_CONSOLE) Some cleanups 2013-10-06 23:14:41 +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
twinaphex
2f35b523cb (RARCH_CONSOLE) Dpad emulation assignment at init startup was causing the issues - we need to eliminate all this junk code and properly refactor it
for all platforms anyway, so take it out for now
2013-10-01 18:52:53 +02:00
twinaphex
cf3fa07c4a (RARCH_CONSOLE) Reduce code duplication for default input binds 2013-10-01 18:38:12 +02:00
twinaphex
618bbf5aae (RARCH_CONSOLE) Reduce code duplication - after environment_get, default dirs are
created and config file is loaded
2013-10-01 17:06:14 +02:00
twinaphex
452dd2cad8 (RARCH_CONSOLE) Replace rarch_make_dir with path_mkdir 2013-10-01 17:00:49 +02:00
Themaister
57cbbde420 Create a default config file if it doesn't exist. 2013-10-01 11:57:07 +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
39bf64412c Add a FIXME. 2013-09-30 18:57:34 +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
ba837a74b4 (RMenu) remove input_presets_dir variable 2013-09-29 04:53:00 +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
51ac125f65 (GX) Per-core input config loading/saving is now part of RGUI - get rid
of this
2013-09-28 22:30:02 +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
914dc969c8 Stop rumbling effects when entering RGUI. 2013-09-26 14:23:55 +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
twinaphex
917c52b77f Cleanup to libretro_install_core 2013-09-21 13:29:33 +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
Hans-Kristian Arntzen
7d90ff4011 Merge pull request #303 from libretro/emscripten
Emscripten/Javascript port
2013-09-11 01:01:29 -07: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
meancoot
cb55a1d45a (Apple) Reorganize source tree 2013-09-05 01:24:27 -04:00
ToadKing
336e1eeb51 [EMSCRIPTEN] more audio fixes, revert to busywait method 2013-09-02 21:29:40 -04:00