Commit Graph

1326 Commits

Author SHA1 Message Date
twinaphex 261ac0e3e7 (RARCH_CONSOLE) Now uses same menu input binds for menu as
PC - allows analog sticks to be used for navigation as well
for consoles
2014-05-31 05:41:32 +02:00
twinaphex db0da490fa (Menu) Add Info button - press 'Select' on the RetroPad to
have a message box pop up on an item. It will provide you with
info on the item. Not all items covered yet but it's coming along.
2014-05-31 05:14:44 +02:00
twinaphex 71032bafb3 (RMenu XUI) Build fix 2014-05-30 22:37:23 +02:00
twinaphex cb4f3fb8e0 Move unused variable inside HAVE_SHADER_MANAGER ifdef 2014-05-30 22:31:49 +02:00
twinaphex d7aa48aa33 (Menu) Don't pass rgui pointer to menu_build_scroll_indices 2014-05-30 22:06:54 +02:00
twinaphex f49ea47040 (RMenu) Implement shader parameter representation logic in
RMenu display layer
2014-05-30 22:04:53 +02:00
twinaphex 6307202a6d (Menu) render_messagebox/render/frame functions from menu_ctx no longer
get a rgui handle passed to them
2014-05-30 21:51:12 +02:00
twinaphex a282a10ba9 (Lakka) Build fix 2014-05-30 21:15:39 +02:00
twinaphex 0c6b167e4d (Menu) Don't invoke rarch_set_fullscreen for 'defaulting' SoftFilter 2014-05-30 21:12:09 +02:00
twinaphex 68c9a6003c (Menu) Prevent another few segfaults when trying to 'default'
softfilter - have to continually grab pointer back to driver.menu
after some function occurred that could have changed driver.menu
2014-05-30 21:10:15 +02:00
twinaphex e313c9d181 (Filters) Fixes filter applying - don't do rarch_set_fullscreen
for applying filters - instead do rarch_deinit_filter and rarch_init_filter - faster and less bug-prone since rarch_set_fullscreen will also bring
down menu
2014-05-30 21:01:17 +02:00
twinaphex 776d4599e3 (Menu) Fixes crash when toggling fullscreen mode in menu mode 2014-05-30 20:55:59 +02:00
twinaphex 8c1b4a3835 (Menu) Get rid of spammy log 2014-05-30 20:53:49 +02:00
twinaphex b2d9c60613 (Menu) Don't pass menu data to menu_iterate
(Menu) Don't pass menu data to backend - postprocess
2014-05-30 20:53:10 +02:00
twinaphex 04c84dc36c (RGUI) Return null if calloc of rgui struct fails in rgui_init 2014-05-30 20:41:31 +02:00
twinaphex 34ed0b3e04 (Menu) Get rid of hacky menu_reinit_context - NOTE - looks like the
RGUI display driver does not clean up all the state since continually
invoking rarch_set_fullscreen will eventually cause segfaults
2014-05-30 20:37:47 +02:00
twinaphex 779c467191 (Menu) Get rid of passing rgui pointer around to most functions in
menu backend. NOTE: Applying filters seems to be broken on PC
right now, investigate
2014-05-30 20:23:20 +02:00
twinaphex c57f780d9f (Menu) Start undoing passing rgui pointer to every menu-related
function - the only functions where it should actually pass a
pointer instead of just grabbing a pointer from menu.driver should
be in the menu init/deinit functions
2014-05-30 19:34:01 +02:00
twinaphex 0488dca77a (Menu) Some cleanups to prevent crashing when applying softfilter
several times - should do something about this menu pointer being
passed around from function to function
2014-05-30 18:52:03 +02:00
twinaphex d267f27130 (Style nit) Rename 'init' to 'initialize' in comments
(Filter) Get rid of questionable ifdef for HAVE_FILTERS_BUILTIN for
filter init
2014-05-30 18:23:32 +02:00
twinaphex af440bf545 (Menu) Menu now gets inited from driver.c instead of frontend.c
(Console) Better way to 'restart' instead of using the function
'restart' - call rarch_set_fullscreen instead. 'Restart' function
in driver interface can go now
(Menu) Menu now gets properly deinited/reinited when - say -
rarch_set_fullscreen is toggled or some other state change like this.
If init_assets function of menu_ctx_driver is implemented, this should
ensure all GL/D3D assets get 'cleaned up' prior to teardown of the video
driver, and properly reinited after the video driver is brought up again
2014-05-30 17:49:04 +02:00
twinaphex 9319fb7c5b (Menu) When applying softfilter, use rarch_set_fullscreen
for all targets
2014-05-30 09:02:56 +02:00
twinaphex 9adeae2df3 (Lakka) update_tweens gets value of 0.002 - assume
monitor refresh rate lock in RGUI
2014-05-29 17:44:31 +02:00
twinaphex 223ae6033d (Lakka) Animations show up - unreliable though 2014-05-29 16:35:23 +02:00
twinaphex 14c81f13c9 (Frontend) Remove attempt_load_game variable 2014-05-28 22:20:08 +02:00
twinaphex e1387a7b0b Take out image driver 2014-05-28 21:14:33 +02:00
twinaphex 66d4148e57 (GX) Build fix 2014-05-28 17:48:12 +02:00
Twinaphex 5354de4439 Merge pull request #711 from lakkatv/lakka
(Lakka) Fix a segfault in items_init
2014-05-27 22:48:02 +02:00
Jean-André Santoni 8a656cfccc (Lakka) Fix a segfault in items_init 2014-05-27 22:43:04 +02:00
twinaphex 5da884036e (PS3) Starts to somewhat get back to booting - still a lot of
breakage to go through
2014-05-27 21:38:30 +02:00
twinaphex 1416e47195 (Console) Should bring up menu context in case it fails the first time 2014-05-27 19:21:44 +02:00
twinaphex f788249c59 (Menu) Add get_default_menu function for default settings 2014-05-27 17:13:53 +02:00
Twinaphex a56d57c615 Merge pull request #706 from libretro/shader-parameter
Shader parameter
2014-05-27 16:28:06 +02:00
twinaphex a25a258153 (Menu) Add Content Dir label 2014-05-27 07:58:41 +02:00
twinaphex 3a5011afcc (Menu) Add Content Directory option 2014-05-27 07:57:28 +02:00
twinaphex bc41b942e6 (Menu) Browser Directory was erroneously named 'Content Directory' 2014-05-27 07:53:39 +02:00
twinaphex 0f578ad97d (Lakka) More cleanups 2014-05-27 06:32:33 +02:00
twinaphex bffbdbaca7 (Lakka) Cleanups 2014-05-27 06:27:31 +02:00
twinaphex ebfb104986 (Lakka) Prevent some more segfault bugs 2014-05-27 03:48:08 +02:00
twinaphex 7acf7e706d (Lakka) Remove more redundant re-setting of rgui->last_time 2014-05-27 03:29:21 +02:00
twinaphex 3846ad5f0d (Lakka) Cleanups 2014-05-27 03:25:41 +02:00
twinaphex 76bf7525ca (Lakka) More cleanups 2014-05-27 03:06:58 +02:00
twinaphex 20b54b476a (Lakka) Debork more code 2014-05-27 02:26:15 +02:00
twinaphex 0abbd3968b (Lakka) Refactor more broken code 2014-05-27 02:02:39 +02:00
twinaphex 81fe85624a (Lakka) Start refactoring questionable C code 2014-05-27 01:31:27 +02:00
twinaphex e69b9c4f8a (Menu) Initialize menu driver during init_drivers_pre 2014-05-26 23:18:49 +02:00
Themaister ca3d4416d3 Can save parameters. Can tweak on RGUI presets and current shader. 2014-05-26 18:48:29 +02:00
Themaister b38c30b368 Can tweak shader parameters from RGUI.
Just need to figure out how to handle parameter saving now.
2014-05-26 18:47:49 +02:00
twinaphex e447c654ad (Lakka) Integrate png_texture_load.c code into disp/lakka.c 2014-05-26 18:40:27 +02:00
twinaphex 50ff38195a (Lakka) Integrate tween.c code into disp/lakka.c 2014-05-26 18:32:32 +02:00
Themaister dfd33a8f3f Rename Video Filter Directory.
Overflowed RGUI.
2014-05-26 16:09:19 +02:00
twinaphex 496915eb20 (Menu) Add Autoconfig Dir Path option 2014-05-26 02:57:44 +02:00
twinaphex 09f5f2c25a (Menu) Expose logging verbosity and libretro log level to menu
(Settings) Save logging verbosity
2014-05-26 02:44:58 +02:00
Themaister 25e56d8db0 Kill support for XML shaders.
Long overdue ...
2014-05-25 17:16:45 +02:00
Themaister 42d501fae1 Rename Game Speed Cap. 2014-05-25 17:01:16 +02:00
Themaister 07ab8c0052 Whitespace derp. 2014-05-25 13:18:24 +02:00
Themaister 745cab4f4e Fixups for fastforward_ratio and slowmotion_ratio.
Rename to Game Speed Cap in RGUI, more clear.
2014-05-25 13:13:55 +02:00
twinaphex d536435ea2 (Menu) Expose fast-forward ratio and slowmotion ratio to menu_common_backend 2014-05-25 06:09:12 +02:00
twinaphex c081993fd7 (Menu common) Put variable declarations on top 2014-05-22 06:20:10 +02:00
twinaphex 405d8b4370 (Menu) Refactor menu_defer_core to make it have less dependencies 2014-05-22 06:19:15 +02:00
twinaphex 9e1dfbef29 Split up defer core functionality to menu_common and create
callbacks for menu backend context-specific operations
2014-05-22 03:12:56 +02:00
Themaister 0e85445420 Remove RGUI_SETTINGS_BIND_DSP_CONFIG. 2014-05-20 14:09:08 +02:00
Themaister 1b9bbbd381 Some Panning fixes. 2014-05-20 14:00:48 +02:00
Themaister addba80c3b Rewrite DSP plugin interface. 2014-05-20 12:28:33 +02:00
twinaphex d62164c4ae (BB10) Build fixes
(General) Fix some unused variable warnings
2014-05-17 22:16:25 +02:00
twinaphex 7773daa125 (Menu) If g_settings.input.analog_dpad_mode is set to ANALOG_DPAD_NONE,
force to ANALOG_DPAD_LSTICK  anyway. Might need some safety checks from
polling input to ensure controls do not go hayware when pad with analog stick
is not properly paired yet.
2014-05-14 04:40:06 +02:00
twinaphex 6fd5248fa6 Revert "(Menu) Analog to Dpad binds now get used for menu navigation when one" -
this code is messed up - we need to come up with a good way to allow analog
movement in the menu to be the same as the D-pad without affecting the
input of the main game
This reverts commit 0280fc769b.
2014-05-14 03:47:11 +02:00
twinaphex 0280fc769b (Menu) Analog to Dpad binds now get used for menu navigation when one
of the analog sticks is bound to the D-pad
2014-05-14 00:19:19 +02:00
twinaphex dda574ddf1 (Lakka) More deborking of Lakka 2014-05-12 15:36:01 +02:00
twinaphex d9e31151ed (Lakka/GL) Take out HAVE_LAKKA hack in gl.c - animations/tweening needs to
be fixed though
2014-05-11 20:47:44 +02:00
twinaphex fda33fec90 (Settings data) More shuffling around 2014-05-11 04:28:53 +02:00
twinaphex 88d9aae9a2 (RARCH_CONSOLE) Build fix 2014-05-10 20:40:11 +02:00
twinaphex b2b5c6daec (Image) Put image functions through abstract interface
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu)  Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
twinaphex 107efae2e2 (Lakka) Cleanups 2014-05-10 06:21:03 +02:00
twinaphex bbce01a449 (Lakka) Lakka now uses assets directory instead of hardcoded
/usr/share/retroarch
2014-05-10 05:25:50 +02:00
twinaphex ac2ddc3b20 Add 'assets' directory - interfaces like menus will try to look
here for loadable assets, etc. Can be expanded in scope later on
as well as a sandbox directory for user-modified content.
2014-05-10 05:12:31 +02:00
twinaphex 43b79f34c9 (Lakka) ROM/core loading - add codepath for targets that don't
have HAVE_DYNAMIC defined as well
2014-05-10 00:07:15 +02:00
twinaphex a359045da3 (Lakka) Style nits and update headers 2014-05-09 23:50:40 +02:00
twinaphex b67a55518c (Lakka) Loads roms now 2014-05-09 21:43:21 +02:00
Twinaphex 01de6f9b6e Merge pull request #679 from lakkatv/lakka-integration
Fix hardcoded screen size
2014-05-09 21:28:14 +02:00
twinaphex 5380806900 (Lakka) fix build 2014-05-09 21:04:59 +02:00
twinaphex f656336b7f (Lakka) Use strlcpy/strlcat
(Menu) Abstract menu_init_core_info - we can have different
implementations of this per menu drivers
2014-05-09 21:00:50 +02:00
Jean-André Santoni 24b64203b8 Fix hardcoded screen size 2014-05-09 20:04:34 +02:00
Themaister 05eac0c8a2 Add new libretro_directory.
Avoid kinda-weird dual purpose of g_settings.libretro.
2014-05-09 18:51:20 +02:00
twinaphex 1e6b23330e (Lakka) lakka_init returns a valid handle now
(Lakka) Fixed up a bunch of other wrong stuff as well
2014-05-09 18:13:28 +02:00
twinaphex 021e110a3c (Authors) Add Lakka author to credits
(Lakka) Add fallback directory in case rgui->libretro_dir points
to nothing for core directory list
2014-05-09 17:55:39 +02:00
twinaphex 87f9a381dc (Lakka) Erase all copy-pasted code in menu_lakka_backend.c 2014-05-09 17:36:38 +02:00
twinaphex f26a82a6ae (Menu) Make time/delta variables exposable to display driver
(Lakka) Start implementing iterate function more properly
2014-05-09 17:29:41 +02:00
twinaphex edbd79a273 (Lakka) Style nits 2014-05-09 16:46:50 +02:00
Jean-André Santoni e5e806764e Update menu_lakka_backend 2014-05-09 16:28:09 +02:00
Jean-André Santoni 22a5e07ead Merge branch 'master' of https://github.com/libretro/RetroArch 2014-05-09 16:24:36 +02:00
twinaphex 0454ac623e (Menu) Move 'rgui' global variable to 'driver' struct 2014-05-09 05:47:32 +02:00
Jean-André Santoni 7dda9f0b00 Lakka menu display and icons 2014-05-08 01:12:51 +07:00
Themaister 98e24cf3e5 Don't add Joypad w/ analog option unless necessary. 2014-05-01 11:50:55 +02:00
twinaphex cdc60da07f (DSP Filters) Add code for HAVE_BUILTIN_FILTERS 2014-04-29 21:56:50 +02:00
twinaphex 931d54df1d (SoftFilters) Rewrite softfilter_get_implementation_from_idx - should be more
easily maintainable now without ugly switch
2014-04-28 22:38:05 +02:00
twinaphex 6f13028aba (Audio DSP) Make it no longer dependent on HAVE_DYLIB being
defined
2014-04-28 06:45:50 +02:00
twinaphex 9f3ffa077d (Menu) Add DSP filter options 2014-04-27 18:15:41 +02:00
twinaphex 6743066ab5 (MSVC) Fix unreferenced variable warning 2014-04-27 01:15:28 +02:00
twinaphex 0ddc7d57fd Add core_info/rom_history extensions from Apple ports to mainline 2014-04-26 21:42:06 +02:00
Themaister 9e865d22c9 clamp axis_threshold to avoid potential floating point issues. 2014-04-26 20:26:03 +02:00
twinaphex 59e5644dd0 Cleanup menu_common.h 2014-04-26 16:11:40 +02:00
twinaphex 5db500b4a1 (Menu) Add input_axis_threshold option to menu 2014-04-26 15:57:53 +02:00
twinaphex 9cfb51a895 Move some enums outside of header file for backend 2014-04-26 15:36:01 +02:00
twinaphex fc02c68ae0 (menu_common_settings.c) This can go now 2014-04-26 02:54:46 +02:00
twinaphex 598bb03c0e Make shader menu backend functions into stub functions if shader
support is not built-in
2014-04-26 02:52:56 +02:00
twinaphex 6f05cce0de Get rid of menu_common_settings.c - add remaining public functions to
menu backend interface
2014-04-26 02:40:38 +02:00
twinaphex 40409a2ab0 (menu_input_line_cb.c) Params for public functions should be opaque
pointers instead of rgui_handle_t
2014-04-26 02:08:03 +02:00
twinaphex 3d8d807e6b Refactor a bunch of menu code - menu 'settings' can now be implemented
per-menu context
2014-04-26 01:54:15 +02:00
twinaphex 70164a8105 (PPC) Build fix 2014-04-19 21:40:42 +02:00
twinaphex 569de131a0 Move device enums outside of driver.h - and create new callback
for 'getting' the number of 'devices' the input driver supports
2014-04-17 20:47:43 +02:00
Themaister 1ccbc10d22 Style nit. 2014-04-16 11:38:04 +02:00
twinaphex 9772c48016 (SoftFilter) Cleaner and more portable way of grabbing the name from the filter 2014-04-16 06:48:24 +02:00
twinaphex 415440948c (menu_settings.c) Build fix 2014-04-16 03:36:54 +02:00
twinaphex 8d6a7dbe1f (Console) Bakes in filters now for ifndef HAVE_DYLIB targets 2014-04-16 03:33:10 +02:00
twinaphex 45c917afa4 Compile in filters for console ports (HAVE_DYLIB not defined in
Griffin)
2014-04-16 02:09:09 +02:00
twinaphex d17392b835 (OSX) Fix some warnings 2014-04-15 16:53:38 +02:00
Themaister cd3e97df19 Print correctly in RGUI. 2014-04-15 12:32:56 +02:00
Themaister e780c1fed1 Changing filters requires driver reinit. 2014-04-15 12:25:41 +02:00
Themaister 4913683462 Small filter fixes. 2014-04-15 12:22:01 +02:00
twinaphex 6bdd5cf6ec Add RGUI actions for Softfilter directory path and Softfilter selection -
maister - test if this works - it doesn't here on my end and keeps saying
that the example softfilter (dark.c) has the wrong color format)
2014-04-15 06:19:24 +02:00
Themaister 1cc9d10e09 Fix CXX_BUILD. 2014-04-14 09:07:15 +02:00
twinaphex 125d9e837e Add load_dummy_on_core_shutdown option to cfg and RGUI 2014-04-14 06:07:17 +02:00
twinaphex f0f615c38a (OSX) Build fix 2014-04-14 04:00:51 +02:00
Twinaphex ad60a4fa1b (360) Build fix 2014-04-14 02:34:28 -07:00
Twinaphex f156443e5f (MSVC) Build fix 2014-04-14 02:08:20 -07:00
twinaphex 195efc5acf (PS3) Build fix 2014-04-14 02:41:44 +02:00
twinaphex 9dfcded389 (Menu) Refactor menu code -move backend menu code to separate driver 2014-04-14 02:32:54 +02:00
twinaphex dcebbf0202 (XUI) Move file list code to XUI 2014-04-14 00:09:52 +02:00
twinaphex 9bc6e99104 Clean up menu_navigation 2014-04-13 23:42:04 +02:00
Themaister 982c8e87a3 Bump keybind timeout to 5 s. 2014-04-13 23:35:42 +02:00
Themaister 72671279c7 Correctly check for RGUI_ACTION_OK. 2014-04-13 20:12:45 +02:00
Themaister 64652f5ee9 Use bind mode to differentiate between keyboard/joypad binding. 2014-04-13 20:09:51 +02:00
Themaister 39ef5d8e03 Don't accept hotkeys until key has been released.
Avoid quitting RetroArch immediately after Quit RetroArch bind.
2014-04-13 19:47:32 +02:00
Themaister 255e43966a Implement basic keyboard binding in RGUI. 2014-04-13 12:12:12 +02:00
Themaister 6d6ec8b35a Allow toggling available device types in RGUI. 2014-04-12 14:12:06 +02:00
Themaister aafe28bb14 Add some testing of new controller info API to libretro-test. 2014-04-12 13:59:19 +02:00
Themaister b4eaf81fed Begin implementing SET_CONTROLLER_INFO. 2014-04-12 13:22:24 +02:00
Themaister 063bf83a5f Use correct default font size on default in RGUI. 2014-04-08 21:01:11 +02:00
twinaphex 821d6b083e Update rmenu.c/rmenu_xui.cpp 2014-04-08 16:23:28 +02:00
Themaister 7344bfe9c6 Some font option tweaks. 2014-04-08 16:13:44 +02:00
twinaphex d46304a80c (menu_settings.c) Fix typo - HAVE_LOCATION ifdef 2014-04-08 02:28:32 +02:00
twinaphex 802bbcb321 (Menu) Add Font Options 2014-04-07 22:12:23 +02:00
twinaphex e779681528 Add Privacy Options 2014-04-06 22:59:16 +02:00
Themaister a802b18212 Fix derp. 2014-04-06 15:42:40 +02:00
Themaister 2e3ca36010 Allow toggling monitor index in RGUI. 2014-04-06 15:41:53 +02:00
Themaister c81de5119d Initial take on subsystems support. 2014-04-04 14:58:42 +02:00
Themaister ab2040a100 Avoid some confusing opaqueness.
First argument of menu_ctx_init_first must always be const menu_ctx_driver_t**.
2014-04-01 17:42:00 +02:00
twinaphex a40e942280 Add frame function to menu_ctx_driver_t struct 2014-04-01 04:45:00 +02:00
twinaphex aadb940da8 Move menu_context.c code into driver.c 2014-04-01 04:12:41 +02:00