Commit Graph

204 Commits

Author SHA1 Message Date
twinaphex
753d78dfd3 (Performance counters) Add performance counters to regular build
(Menu/Setting) Enable g_extern.perfcnt_enable - turns RetroArch
frontend perfcounters on/off
(Menu) Add menu option 'Performance Counters'
2014-06-01 22:07:39 +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
d63a23dd06 Header changes 2014-05-31 21:23:53 +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
711a776f02 (Menu) Refactors 2014-05-31 19:22:23 +02:00
twinaphex
b4256ac0ed Cleanup menu_common.h 2014-05-31 16:48:07 +02:00
twinaphex
cc08dd30d9 (Menu) Get rid of some unneeded includes in menu_common.h 2014-05-31 16:41:11 +02:00
Themaister
53661c5dea Avoid global info_selection_ptr.
Don't reset selection_ptr after info screen.
2014-05-31 14:52:27 +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
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
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
Themaister
ca3d4416d3 Can save parameters. Can tweak on RGUI presets and current shader. 2014-05-26 18:48:29 +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
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
59e5644dd0 Cleanup menu_common.h 2014-04-26 16:11:40 +02:00
twinaphex
9cfb51a895 Move some enums outside of header file for backend 2014-04-26 15:36:01 +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
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
twinaphex
125d9e837e Add load_dummy_on_core_shutdown option to cfg and RGUI 2014-04-14 06:07:17 +02:00
twinaphex
9dfcded389 (Menu) Refactor menu code -move backend menu code to separate driver 2014-04-14 02:32:54 +02:00
Themaister
982c8e87a3 Bump keybind timeout to 5 s. 2014-04-13 23:35:42 +02:00
Themaister
64652f5ee9 Use bind mode to differentiate between keyboard/joypad binding. 2014-04-13 20:09:51 +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
twinaphex
6064511cc2 Move menu_ctx variable over to driver struct 2014-04-01 04:03:55 +02:00
twinaphex
b6484f80ab (Menu) RGUI_MAX_SHADERS becomes GFX_MAX_SHADERS 2014-03-30 17:35:22 +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
twinaphex
16eb15376d (Menu) Update menu_navigation 2014-03-08 05:48:52 +01:00
twinaphex
36716706c2 (Menu) Pass video_data pointer to menu functions 2014-03-07 06:28:49 +01:00
twinaphex
75fee188e2 (Xbox 1) Refactor Xbox 1-only audio volume setting 2014-03-05 03:40:55 +01:00
AndresSM
10d90176e1 Add core information menu 2014-03-03 00:22:28 -05:00
Themaister
511bc8b5ec Allow retrieval of core_info_t for selected core.
Refactor a bit to avoid lots of duplicated
libretro_free_system_info/get_system_info, etc.
Also copy the core_info_t struct on core change.
2014-03-02 14:07:07 +01:00
Themaister
a13da8da19 Repurpose RSound IP address setting.
It's hardcoded for RSound, but it's actually setting the generic audio device ...
2014-03-02 12:25:38 +01:00
Themaister
4ae4d40364 Fix shader preset save.
Have to take into consideration the preset type.
2014-03-02 12:15:18 +01:00
twinaphex
5bb7097fbb (Menu) Add OSK enable option 2014-03-02 06:07:18 +01:00
twinaphex
6f19662d75 (Menu) Split up keyboard input line cb code to separate file - menu_input_line_cb 2014-03-02 05:24:57 +01:00
twinaphex
23489132b3 (Menu) VERY WIP - Netplay options. Still lacks way to input a
name/IP address/port with a keyboard callback - also state
bringing up/teardown will need to be handled
2014-03-02 04:46:26 +01:00
Themaister
fce4ebd31e Move core_info to frontend/info. 2014-03-01 11:53:04 +01:00
Themaister
2cd51db6c0 Move file_list.c to frontend/menu.
Doesn't belong in top-dir.
2014-03-01 11:41:00 +01:00