twinaphex
580e05fc0f
(Menu) Add menu driver selection
2014-01-27 01:32:05 +01:00
Themaister
c90a8bcfec
Return to RGUI when core shuts down.
...
Don't do this on consoles (uses dummy core).
2014-01-23 20:00:25 +01:00
Themaister
2ea94aac37
Remove rgui->base_path.
...
Completely useless and buggy.
2014-01-12 21:23:38 +01:00
twinaphex
6be640f656
(XDK 360) Avoid warnings
2014-01-10 21:22:24 +01:00
twinaphex
e4b959a841
(Menu) Safety checks for accessing video_poke function pointers
2014-01-09 12:17:28 +01:00
Twinaphex
165698b9f2
Merge pull request #481 from libretro/dpad-map
...
Analog D-pad mapping
2014-01-08 12:01:39 -08:00
twinaphex
f23e41bd17
Safety checks for accessing video_poke function pointers
2014-01-08 19:42:42 +01:00
Themaister
f6643fe12d
Push analog dpad mode for autoconfig as well.
2014-01-08 17:47:07 +01:00
Themaister
f57a1aa032
Add support for mapping analogs to D-pad again.
...
Use a cleaner approach which can feasibly work on all platforms.
Uses input_push/pop_analod_dpad to modify the joyaxis field before
polling input. This way, the RetroPad D-pad binds can inherit the
joyaxis fields from ANALOG_LEFT_X_PLUS and friends.
Also add support for the field in RGUI and saves settings.
2014-01-08 17:31:14 +01:00
twinaphex
2da438bcf0
(PS3) Add paths
2014-01-05 05:00:08 +01:00
Themaister
388e9c7487
Make rom history handling a bit more robust.
...
If a missing core is trying to be loaded it can end up deleting the
entire ROM history because core_name is not found and history read from
file would then exit early.
2014-01-04 16:38:23 +01:00
Themaister
79cd808e81
Fix broken use of SET_LIBRETRO_PATH.
2014-01-03 21:38:48 +01:00
Themaister
76a6e61fdd
Use core-specific config path for RGUI cgp/glslp if applicable.
...
Avoids some collisions.
2014-01-03 15:31:10 +01:00
Themaister
13a006d147
Restructure per-core configs.
...
Merging yesterday was probably a bit premature.
One issue I overlooked was that per-core configs were not flushed to disk
when loading a new core on PC. The per-core flushing only happened on
main_exit(), which is only run on application termination. This hence
would only work with consoles with exitspawn.
config_set_defaults() must be called when loading per-core-specifics as
well or lots of options silently leak into other core specific configs
when cores are changed.
The handling with g_extern.config_path and original_config_path was
difficult logic and very error prone considering it was mutated aribitrarily by RGUI.
I've removed the original config path concept and stuck
with that config_path is *only* for global config, and
core_specific_config_path is for core-specifics (which are resolved
during config load). Saves some memory too,
which is always nice.
The block_config_read solution I proposed yesterday was not good after
all (in fact, broken on PC), and the current solution should work better.
"RetroArch Config" option in RGUI now only shows global config.
2014-01-02 17:52:48 +01:00
Toad King
e0671aba8b
per-core minor fixes
2014-01-01 19:06:06 -05:00
Toad King
e022b39061
fix per-core config on PC
2014-01-01 15:34:56 -05:00
Toad King
8f45063f74
menu support for core specific config
2014-01-01 15:02:57 -05:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
twinaphex
0e54989a61
(XDK1) RMenu build fix
2013-12-31 20:50:24 +01:00
Themaister
0d3428ad15
Add texture_image_free().
...
Cleans up deinit code for textures.
2013-12-31 19:16:29 +01:00
Themaister
2be201ecf3
Add volume option.
...
There's a rudimentary volume option for XBOX1 there though ...
Dunno what to do about that.
2013-12-29 12:01:23 +01:00
twinaphex
fb41b96515
(360) Get to linkable state again
2013-12-29 06:06:23 +01:00
twinaphex
c23b42013e
(360) Remove set_root_and_ext function calls
2013-12-29 05:06:45 +01:00
twinaphex
18545b5730
(360) Move rmenu_xui.cpp to menu/disp/
2013-12-29 04:26:34 +01:00
twinaphex
989106428e
(360) Build fixes to rmenu_xui.cpp
2013-12-29 04:22:53 +01:00
twinaphex
030012f664
(360) Some build fixes
2013-12-29 04:08:42 +01:00
twinaphex
51c994da39
(Xbox 1) Render 'messagebox' text in menu disp now - position
...
text better
2013-12-27 02:00:57 +01:00
twinaphex
75a6db27b4
(GX/PS3) Reimplement menu binds
2013-12-26 20:11:33 +01:00
Themaister
b23ff3b663
Refactor content_directory.
...
It shouldn't be RGUI browser dir. Instead it is a more developer centric
option for when libretro apps are distributed (along with RetroArch for
example). Also facilitates a standardized assets folder later on if
applicable.
2013-12-26 02:03:11 +01:00
Toad King
3fd4f21c9a
fix check for salamander file in core menu
2013-12-24 22:28:24 -05:00
twinaphex
204113e389
Add environ callback to expose 'Content Directory' path to core -
...
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
Toad King
2f46fa4fe9
[GX] input changes work now
2013-12-22 21:07:37 -05:00
Toad King
d7cacaa9ed
start of porting wii input driver to better support RGUI. still has issues with axises
2013-12-22 19:47:33 -05:00
twinaphex
129b7093a3
Set default overlay opacity to 0.7f
2013-12-22 03:03:26 +01:00
twinaphex
742f85eafc
Add HAVE_LOCATION - still need to write frontend drivers now for
...
location
2013-12-19 01:51:51 +01:00
twinaphex
38d785984f
Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h
2013-12-17 19:10:40 +01:00
Toad King
f291e9c353
make config directory require dynamic libraries for now. fixes issue #420
...
the way we implement chaning directories involves loading a dummy core, which we can't do on non-dynamic core platforms right now
2013-12-16 15:05:57 -05:00
meancoot
b35153855c
(iOS) Add option to clear Load History menu, useful when you need to invalidate history after the GUID of the install directory gets changed.
2013-12-15 21:27:17 -05:00
twinaphex
b946a5e302
(Menu) Omit "Threaded Video" for Gamecube/Wii
2013-12-14 02:33:09 +01:00
twinaphex
ee18da7632
Save autodetect_enable
2013-12-12 22:14:10 +01:00
twinaphex
eacc193d74
(GX) Rewrite audio interleaving
...
(GX) Make menu_binds variable Wii-only for now
(Menu) Add toggleable autodetect_enable for input
2013-12-12 22:10:11 +01:00
twinaphex
21ae4c24af
(Wii) Menu now takes input again from Gamecube pad, Wiimote, Wiimote + Classic
...
and Nunchuk
2013-12-12 20:50:42 +01:00
Themaister
fde4532a33
Fix menu_search_callback.
...
str can be empty and non-NULL.
2013-12-10 19:46:50 +01:00
Themaister
977cec1378
Refactor keyboard event callbacks.
...
Go through input/keyboard_line.c to better hide internal logic
regarding keyboard line input.
2013-12-10 19:39:09 +01:00
Themaister
84c93ef94a
Add experimental RGUI keyboard search feature.
...
Type '/' to start search, then type search string (case sensitive for
now due to strcasestr being GNU ext). When done, type return.
2013-12-09 16:18:58 +01:00
twinaphex
7bcb695c68
(menu_common) Rename 'Game' to 'Content' - RetroArch is not limited
...
to games/emulators
2013-11-26 21:41:27 +01:00
twinaphex
849e71138a
(rmenu_disp) Initialize j to 0
2013-11-26 21:29:18 +01:00
twinaphex
6c638f91f4
(Android) Big changes -
...
- both MainMenuActivity and RetroActivity are single instances now
- AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered
- onBackPressed right now calls an instance of MainMenuActivity
(reuses the existing activity on the stack)
- User can switch back and forth between RetroActivity and MainMenuActivity
with AKEYCODE_BACK / Back button
- When a subsequent intent is launched after RetroActivity has already been
started up once, the pending intent gets passed to the existing RetroActivity
throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do
- With this we can now switch seamlessly between Android UI and RetroArch
itself.
2013-11-24 22:02:57 +01:00
twinaphex
a77b7576b7
(RMenu XUI) Get rid of rmenu_xui header
2013-11-19 06:42:27 +01:00
twinaphex
7843a3bec3
(Menu) Add iterate to menu_ctx_driver_t - needed for RMenu XUI
2013-11-19 06:35:11 +01:00
twinaphex
8fe6a04b56
(Menu) Add populate_entries to menu_ctx_driver - will be needed for RMenu XUI
2013-11-19 06:09:14 +01:00
twinaphex
59ad1baea7
(RMenu Disp) init_assets - calloc menu_texture
2013-11-19 02:12:09 +01:00
twinaphex
3f0be66ffc
(RMenu) Get rid of rmenu.c/rmenu.h
2013-11-18 19:52:36 +01:00
twinaphex
723fddea80
(PS3/menu_common) Add System BGM Control setting
2013-11-18 19:50:47 +01:00
twinaphex
8465c47cd9
(Xbox 1) RMenu - menu title position is now correct
2013-11-18 18:09:27 +01:00
twinaphex
921d45decc
(Xbox 1) Build fix
2013-11-18 18:03:48 +01:00
twinaphex
84ff66e8dc
(Xbox 1/Menu) Simplify main-menu_480p.png - reduce entries height
2013-11-18 17:51:38 +01:00
twinaphex
58d8079704
(Menu) Check if driver.video->restart is bound first
2013-11-18 03:25:50 +01:00
twinaphex
2fab149ae4
(RMenu Disp) Correctly frees and reinitializes RMenu texture asset
2013-11-18 03:23:32 +01:00
twinaphex
275789d99f
(HAVE_OSK/Xbox 1/PS3) Add Xbox 1/PS3/HAVE_OSK-specific additions
...
to settings
2013-11-18 02:57:31 +01:00
twinaphex
c062f36059
(OSK) Cleanup conditionals in menu_common.c
2013-11-16 15:56:52 +01:00
twinaphex
6828183b64
(OSK) Move runtime state (OSK callbacks) to g_extern
2013-11-16 15:54:50 +01:00
twinaphex
9558a47ada
(PS3 RGUI) Working OSK input
2013-11-15 23:19:44 +01:00
twinaphex
be356b7b67
(Menu) Add extra settings
2013-11-15 22:53:58 +01:00
twinaphex
e8723dec16
(HAVE_OSK) Add OSK to menu iterate function
2013-11-15 05:18:36 +01:00
twinaphex
b20360948f
(menu_common) Remove HAVE_OSK - will have to be reimplemented
2013-11-12 23:09:01 +01:00
twinaphex
f9b502773d
(OSK PS3) Fix free
2013-11-12 20:02:25 +01:00
twinaphex
8ce8051654
(OSK PS3) Refactor OSK PS3 input
2013-11-12 17:16:30 +01:00
twinaphex
fde4311ef5
(PS3) Refactor OSK code - next thing should be abstracting it
2013-11-11 16:58:12 +01:00
twinaphex
6a9bc1bfa4
(Menu) Show camera driver inside 'Drivers' category
2013-11-11 15:39:46 +01:00
twinaphex
672594d7d3
(menu_settings.c) Fix config.def.h include
2013-11-11 12:59:16 +01:00
twinaphex
82f548a969
Refactor out settings_set
2013-11-11 12:56:38 +01:00
twinaphex
177af1fac2
Move display rasterizers for menu_common to frontend/menu/disp
2013-11-11 12:23:18 +01:00
twinaphex
a7a30646de
Remove rgui.h
2013-11-11 12:15:38 +01:00
twinaphex
6997c207bd
Remove HAVE_FILEBROWSER/remove file_browser.c
2013-11-11 04:12:30 +01:00
twinaphex
50dc298187
(Xbox 1) Remove menu_panel
2013-11-11 04:04:24 +01:00
twinaphex
96c06b5b26
(Xbox 1) Some rmenu_disp cosmetic improvements - seems to overflow
...
on render_messagebox
2013-11-11 03:49:23 +01:00
twinaphex
0e155f0ab4
(Xbox 1 - menu) Fix initial dir mappings
2013-11-11 03:39:30 +01:00
twinaphex
54d2e2d321
(Xbox 1) Build fixes
2013-11-11 03:36:30 +01:00
Themaister
720ea1a99d
Build fix.
2013-11-08 18:43:27 +01:00
twinaphex
588224aaed
(Menu) Use void* for arguments instead of passing by rgui_handle_t*
2013-11-08 15:38:18 +01:00
twinaphex
cc78199051
(Menu) Cut down on some HAVE_RMENU ifdefs
2013-11-08 15:15:53 +01:00
twinaphex
a4d5c3c99c
(Menu) Add init_assets/free_assets to menu_context
2013-11-08 15:13:14 +01:00
twinaphex
3d016bd5bc
(Menu) Avoid warnings with SNC compiler
2013-11-08 07:21:08 +01:00
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