286 Commits

Author SHA1 Message Date
Themaister
ddbe5f148d Fix CXX_BUILD. 2014-06-08 14:08:03 +02:00
twinaphex
7063c52e27 (Menu) Take out log messages for load_menu_game 2014-06-03 20:30:33 +02:00
twinaphex
611bb0331f Cleanups to load_menu_game 2014-06-03 02:28:38 +02:00
twinaphex
8deaf2b714 (Menu) Forgot to deinit if main_is_init is true 2014-06-03 02:01:49 +02:00
twinaphex
ae1e3b3f07 Rewrite rarch_main_wrap - we need a way of getting a valid argc/argv
pair for consoles where we get stupid argc/argv pairs back that need
to be 'converted' into something that RetroArch's PC-style args parsing
can deal with
2014-06-03 01:45:25 +02:00
twinaphex
06ee8f1bc6 (core_info) Do same here 2014-06-01 02:29:19 +02:00
twinaphex
deb737e3c5 Start getting rid of continuous grabbing of pointer from driver.menu
and instead use driver.menu directly from the menu code everywhere
- starting with menu_common - backend and display drivers next
2014-05-31 21:45:16 +02:00
twinaphex
9b545db864 It should be possible to move the definiton of this struct to
driver.h now - now that all the dependencies are gone
2014-05-31 21:31:31 +02:00
twinaphex
ecb21743f8 (Menu) Convert rgui->shader into void* too 2014-05-31 21:08:32 +02:00
twinaphex
8f8f757d65 (Menu) Turn core_info_current into void* 2014-05-31 20:37:37 +02:00
twinaphex
b4256ac0ed Cleanup menu_common.h 2014-05-31 16:48:07 +02:00
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
d7aa48aa33 (Menu) Don't pass rgui pointer to menu_build_scroll_indices 2014-05-30 22:06:54 +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
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
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
e1387a7b0b Take out image driver 2014-05-28 21:14:33 +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
e69b9c4f8a (Menu) Initialize menu driver during init_drivers_pre 2014-05-26 23:18:49 +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
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 0280fc769bca72617021db4380d546d91c27f90e.
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
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
Themaister
05eac0c8a2 Add new libretro_directory.
Avoid kinda-weird dual purpose of g_settings.libretro.
2014-05-09 18:51:20 +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
0454ac623e (Menu) Move 'rgui' global variable to 'driver' struct 2014-05-09 05:47:32 +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
Themaister
1cc9d10e09 Fix CXX_BUILD. 2014-04-14 09:07:15 +02:00
twinaphex
f0f615c38a (OSX) Build fix 2014-04-14 04:00:51 +02:00
Twinaphex
f156443e5f (MSVC) Build fix 2014-04-14 02:08:20 -07:00
twinaphex
9dfcded389 (Menu) Refactor menu code -move backend menu code to separate driver 2014-04-14 02:32:54 +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
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
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
6064511cc2 Move menu_ctx variable over to driver struct 2014-04-01 04:03:55 +02:00
twinaphex
454ef3fa28 (menu context) Go through opaque pointers 2014-04-01 03:51:32 +02:00
Themaister
6eb349dca6 Remove passing around video_data inside RGUI.
Makes very little sense to add cruft to the interface
when it also risks using an invalidated video_data ...
2014-03-25 10:19:02 +01:00