Commit Graph

824 Commits

Author SHA1 Message Date
twinaphex
622321f3fc Get rid of some header dependencies 2015-02-27 05:04:50 +01:00
twinaphex
ab05a6af5b Split up contentlist_switch into new file 2015-02-27 03:28:50 +01:00
twinaphex
85c6bb503d Seperate fiel for cbs_refresh 2015-02-27 03:25:28 +01:00
twinaphex
ee0253fbad Split up up_or_down code to new file 2015-02-27 03:21:49 +01:00
twinaphex
e678abdd75 Take out duplicate inline function 2015-02-27 03:15:20 +01:00
twinaphex
1df54e4410 Split up cbs_select code to new file 2015-02-27 03:08:30 +01:00
twinaphex
33d5b4f779 Split up cbs_iterate to new file 2015-02-27 03:05:19 +01:00
twinaphex
37306bcdc6 Split up representation cbs into separate file 2015-02-27 02:50:19 +01:00
twinaphex
51071a3e46 (Menu) Split up cbs_toggle to new file 2015-02-27 02:44:10 +01:00
twinaphex
4d9eb3f8d8 (Menu) Split off cbs start to separate file 2015-02-26 18:28:48 +01:00
twinaphex
5a0f41c338 Create menu_entries_cbs_deferred_push.c 2015-02-26 17:33:00 +01:00
twinaphex
b4a8ee4006 Split up action cancel callbacks to new file 2015-02-26 17:22:00 +01:00
twinaphex
12efaa0631 Get rid of some header dependencies 2015-02-26 17:18:57 +01:00
twinaphex
39b318c5ab Start splitting up menu_entries_cbs.c across several files 2015-02-26 16:50:30 +01:00
twinaphex
66d89c5b13 (MSVC) Fix signed/unsigned mismatch warning 2015-02-24 22:26:08 +01:00
twinaphex
f80e3740aa Implement set_video_mode in video poke interface 2015-02-24 21:57:51 +01:00
twinaphex
88137521c4 Reimplement action_ok_video_resolution 2015-02-24 21:37:58 +01:00
twinaphex
d46f240679 Ifdef two functions with HAVE_LIBRETRODB 2015-02-24 20:23:35 +01:00
twinaphex
7e9aeee05d (GX) Implement get_video_output_size for Wii/Gamecube 2015-02-24 20:22:45 +01:00
twinaphex
55a2209e8e (PS3) Go through get_video_output_size interface now - build fixes 2015-02-24 20:16:03 +01:00
twinaphex
c5c9fbfbd8 Cleanup deferred_push_rdb_entry_detail 2015-02-24 19:08:53 +01:00
twinaphex
234c24c3b3 Move struct image to nbio 2015-02-24 08:40:20 +01:00
Toad King
f4a40c5218 [GX] more build fixes 2015-02-23 22:15:36 -06:00
twinaphex
2e0902fda1 Revert "(Menu) Delta timing"
This reverts commit 24f7acb93c.
2015-02-24 03:06:25 +01:00
twinaphex
fc75b55219 Revert "(Menu) Limit delta time to an acceptable range"
This reverts commit 319fcca439.
2015-02-24 03:06:18 +01:00
twinaphex
64527f2cef Revert "(Menu) cleaner dt formulas"
This reverts commit b6e214128a.
2015-02-24 03:06:13 +01:00
twinaphex
58a25ef419 Implement nonblocking wallpaper image loading 2015-02-24 03:01:59 +01:00
Twinaphex
e3b6b89a55 Merge pull request #1444 from lakkatv/xmb
(Menu) cleaner dt formulas
2015-02-24 11:11:47 +11:00
Jean-André Santoni
b6e214128a (Menu) cleaner dt formulas 2015-02-24 01:09:14 +01:00
Twinaphex
d4e6a1ddda Merge pull request #1443 from lakkatv/xmb
(Menu) Limit delta time to an acceptable range
2015-02-24 10:44:15 +11:00
Jean-André Santoni
319fcca439 (Menu) Limit delta time to an acceptable range 2015-02-24 00:42:44 +01:00
Twinaphex
54163d20fc Merge pull request #1442 from lakkatv/xmb
(Menu) Delta timing
2015-02-24 10:31:44 +11:00
Jean-André Santoni
24f7acb93c (Menu) Delta timing 2015-02-24 00:28:11 +01:00
twinaphex
e795e01f7a Add menu message queue 2015-02-24 00:01:45 +01:00
twinaphex
5f6108e2e0 Get rid of these gekko hacks in XMB/GLUI - we're not going to
be using these menu drivers on Wii/Gamecube anyway
2015-02-23 23:50:40 +01:00
twinaphex
6ce7e5b571 Refactor menu driver's 'load wallpaper' function 2015-02-23 23:32:59 +01:00
Twinaphex
3536ac86e4 Merge pull request #1441 from lakkatv/xmb
(XMB) Minor changes
2015-02-24 09:14:56 +11:00
twinaphex
4b0c2cd7de Refactor menu_texture.c - uncouple it from file I/O 2015-02-23 22:54:39 +01:00
Jean-André Santoni
8cdaccdb9e (XMB) unhardcode a value 2015-02-23 22:08:09 +01:00
Jean-André Santoni
57a7e89727 (XMB) Fix inverted function names 2015-02-23 21:40:36 +01:00
twinaphex
1a1d6a0889 Change returntype of file_cb for zlib_parse_file 2015-02-23 01:23:21 +01:00
twinaphex
41403fb3d6 Rename libretrodb to libretro-db 2015-02-19 00:47:19 +01:00
twinaphex
9e6d0004fd (XMB) Set XMB_TEXTURE_RESUME instead of XMB_TEXTURE_RUN for 'Resume' action 2015-02-18 10:35:08 +01:00
twinaphex
3ee11c0374 (XMB) Set labels for general menu 2015-02-18 10:31:01 +01:00
Jean-André Santoni
e0dab75300 (XMB) Add 5 new icons for the contextual menu 2015-02-17 23:43:34 +01:00
twinaphex
37a541e8a0 Restructure some settings in g_extern 2015-02-16 17:52:58 +01:00
twinaphex
41d3657b5d Start creating directory content scanning - nonblocking I/O not
yet implemented
2015-02-16 07:53:27 +01:00
twinaphex
939b78753a Get rid of messy 'pending cb' code - instead use
string lists
2015-02-16 05:44:43 +01:00
twinaphex
01359b14c6 Add label representation for video filter 2015-02-15 20:37:15 +01:00
twinaphex
a68886cf5d Add 'action_start' for video filter 2015-02-15 18:41:58 +01:00
twinaphex
be5f3254ba Start implementing video softfilters - move it to Video Options 2015-02-15 18:26:59 +01:00
twinaphex
3ce7ada790 Update get_title 2015-02-15 17:50:38 +01:00
twinaphex
5fca7c5e9d Create 'Video Options' 2015-02-15 17:40:25 +01:00
twinaphex
3a2336275d Take out 'Default Filter' option 2015-02-15 17:32:23 +01:00
twinaphex
20b87ad3d5 Reimplement get_string_representation for ST_ACTION 2015-02-15 04:49:57 +01:00
twinaphex
f271b05712 MENU_SETTING_ACTION gets '...' label 2015-02-15 04:43:26 +01:00
twinaphex
7232a6a56b Add edge_magazine_review entry 2015-02-15 00:10:32 +01:00
twinaphex
5c6571e714 (Menu/Database) Ability to sort on Famitsu rating 2015-02-14 06:47:21 +01:00
twinaphex
64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +01:00
twinaphex
b777f019bf Create video_shader_driver_get_current_shader 2015-02-14 05:24:20 +01:00
twinaphex
94e1a339df Rename menu_action.c to menu_setting.c 2015-02-14 01:51:28 +01:00
twinaphex
7d32b27024 (RMenu) Build fixes 2015-02-14 00:51:17 +01:00
twinaphex
df35e9fb75 Refactor menu_navigation.c 2015-02-14 00:47:42 +01:00
twinaphex
fbff296638 (RMenu) Fixes 2015-02-13 20:30:06 +01:00
twinaphex
778f67dcad (PS3) Silence warnings 2015-02-13 20:28:49 +01:00
twinaphex
31b272f25a Don't pass menu_handle_t * state around 2015-02-13 20:19:20 +01:00
twinaphex
55844f06d7 Cleanups - start using menu_driver_resolve everywhere in menu
code for safety reasons
2015-02-13 20:04:50 +01:00
twinaphex
8568732234 (menu_entries_cbs.c) Avoid passing 'menu' handle around 2015-02-13 19:49:32 +01:00
twinaphex
6a68b56e71 Don't pass driver.menu to menu_database_realloc 2015-02-13 19:46:07 +01:00
twinaphex
4bc117222b Cleanup menu_entries_cbs.c - don't use driver.menu directly -
always go through menu_driver_resolve
2015-02-13 19:44:08 +01:00
twinaphex
d1483d1530 (GX) Buildfix 2015-02-13 19:11:53 +01:00
twinaphex
4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
Twinaphex
ea6b36fe2a Merge pull request #1415 from lioncash/prototype
Apply static to some local-only functions
2015-02-13 16:02:21 +01:00
Lioncash
55e9c2b593 Apply static to some local-only functions 2015-02-13 09:54:45 -05:00
Lioncash
9ef984d525 menu_entries_cbs: Remove unused variables 2015-02-13 09:48:07 -05:00
twinaphex
56cce66121 Add button description to 'Help' 2015-02-13 04:54:42 +01:00
twinaphex
3feb89a8b2 (XMB) Rename 'Core Informations' 2015-02-13 04:03:52 +01:00
twinaphex
481570d822 (Menu) Fix labels 2015-02-13 03:38:28 +01:00
twinaphex
650ce81d74 Move Database Manager/Cursor Manager to 'Management' 2015-02-13 03:20:25 +01:00
twinaphex
d8294c8dc0 Move Options to new category 2015-02-13 02:59:13 +01:00
twinaphex
f3315c256e (GLUI) Hookup load_wallpaper - and also free background image
at exit
2015-02-13 00:20:39 +01:00
twinaphex
e58c1491a2 Selecting wallpaper now directly changes background image -
implemented only for XMB so far, GLUI coming up next
2015-02-13 00:12:15 +01:00
twinaphex
025cb112d3 Move spacing to 'icon' 2015-02-12 23:38:44 +01:00
twinaphex
c7d5b82cce (XMB) Refactor vspacing/hspacing 2015-02-12 20:26:04 +01:00
twinaphex
073e683846 Organize variables in struct some more 2015-02-12 20:23:14 +01:00
twinaphex
41f1ffe0bb Have a clear distinction between 'settings' and 'options' 2015-02-12 19:52:57 +01:00
Twinaphex
8b439f3e6b Merge pull request #1412 from lakkatv/xmb
(XMB) Move the savestate and loadstate entries on top of the contextual ...
2015-02-12 19:40:10 +01:00
twinaphex
50c89847f0 Backport new element display settings to GLUI/RGUI 2015-02-12 19:35:24 +01:00
Jean-André Santoni
2107273898 (XMB) Move the savestate and loadstate entries on top of the contextual menu 2015-02-12 19:34:28 +01:00
Twinaphex
fc4c5ffa7c Merge pull request #1411 from lakkatv/look
(XMB) Add a setting to display or hide the core name and core version
2015-02-12 19:27:21 +01:00
twinaphex
9c29348305 (XMB) Reorganize some more settings in struct 2015-02-12 19:27:13 +01:00
twinaphex
2252e47028 (XMB) Move some more variables around 2015-02-12 19:23:11 +01:00
Jean-André Santoni
2ae66e05e5 (XMB) Add a setting to display or hide the core name and core version 2015-02-12 19:18:27 +01:00
Alcaro
2ec829ebc1 Fix releaseyear queries giving empty result sets. 2015-02-12 19:17:31 +01:00
twinaphex
3f46f97abd Prevent some memory leaks in menu_init 2015-02-12 19:14:10 +01:00
Twinaphex
2e651c6ffc Merge pull request #1409 from lakkatv/xmb
(XMB) Fix a crash in xmb_get_userdata_from_core. Fixes #1408
2015-02-12 18:54:21 +01:00
Jean-André Santoni
0cb72b3497 (XMB) Fix a crash in xmb_get_userdata_from_core. Fixes #1408 2015-02-12 18:50:13 +01:00
twinaphex
4acb177e37 Can now scroll on shader presets in browser 2015-02-12 18:47:37 +01:00
twinaphex
12825086b9 (XMB) Move active_category variables to 'category' struct 2015-02-12 18:38:27 +01:00
twinaphex
ecbd841289 Move 'offset' variables to structs 2015-02-12 18:34:36 +01:00
twinaphex
7fb3b7e4a0 (XMB) Move icon variables to struct 2015-02-12 18:32:03 +01:00
Alcaro
7938e05b9c Shut up some more Valgrind errors. (Why is r600_dri.so branching on the frame buffer?) 2015-02-12 18:31:01 +01:00
twinaphex
852842beaf (XMB) Move font variables to struct 2015-02-12 18:25:48 +01:00
twinaphex
b2c9a34fc1 (XMB) Cleanup this stuff some more 2015-02-12 18:24:01 +01:00
Alcaro
5c2d5edff0 Shut up some Valgrind errors. 2015-02-12 18:21:52 +01:00
twinaphex
2c8998aa88 (XMB) Make this code somewhat easier to read 2015-02-12 18:18:38 +01:00
twinaphex
7b4e3353a8 (XMB) Cleanups - create xmb_push_animations 2015-02-12 17:22:24 +01:00
twinaphex
b709baf8e5 xmb_draw_items - cleanups 2015-02-12 17:08:57 +01:00
twinaphex
179661098f (XMB) xmb_draw_items - cleanups 2015-02-12 17:05:56 +01:00
twinaphex
f20ede45a1 Rename xmb_node_for_core to xmb_get_userdata_from_core 2015-02-12 15:14:05 +01:00
twinaphex
e9c42cf038 (menu_entries_cbs.c) Shader cleanups 2015-02-11 23:40:34 +01:00
twinaphex
0c64543eb8 (menu_entries_cbs.c) Cleanups 2015-02-11 23:30:29 +01:00
twinaphex
1d3ce967b4 (PS3/RMenu) Buildfixes 2015-02-11 22:38:05 +01:00
twinaphex
23c56cc998 (RMenu XUI) Buildfix 2015-02-11 22:34:07 +01:00
twinaphex
8d050f23aa Remove more header dependencies (menu.h) 2015-02-11 22:15:13 +01:00
twinaphex
728210bdf7 Remove bunch of header dependencies in menu.h 2015-02-11 22:10:21 +01:00
twinaphex
6654d2eb6c (menu_input.c) Cleanups 2015-02-11 22:05:56 +01:00
twinaphex
6c6850a671 (menu_entries_cbs.c) Start refactoring away driver.menu 2015-02-11 21:56:32 +01:00
twinaphex
5bb11314d5 (Menu) Move width and height to frame_buf struct - mouse code needs
to be entirely rewritten
2015-02-11 21:52:21 +01:00
twinaphex
6ded569b87 (Menu) Create struct for delay timer 2015-02-11 21:48:20 +01:00
twinaphex
fe1ac4b8b9 (Menu) Create struct for categories 2015-02-11 21:43:16 +01:00
twinaphex
eb7a68a182 (Menu) Put scroll indices into struct 2015-02-11 21:36:07 +01:00
twinaphex
b1c775849a (RGUI) Cleanups 2015-02-11 21:30:57 +01:00
twinaphex
8f77b7d52a (Menu) Cleanups pt. 2 2015-02-11 21:29:14 +01:00
twinaphex
10fdaff1b6 (Menu) Cleanups 2015-02-11 21:27:01 +01:00
twinaphex
7ce598c891 (Wii) Fix warnings - unused values 2015-02-11 21:21:03 +01:00
twinaphex
c3fdd42fb0 Refactor menu 2015-02-11 21:15:39 +01:00
twinaphex
7ade44cbc3 (360) Build fixes 2015-02-11 21:06:50 +01:00
twinaphex
fb31227585 (Menu) Refactors 2015-02-11 21:00:34 +01:00
twinaphex
0c170ab56e (Menu) Get rid of void * pt. 2 2015-02-11 20:40:48 +01:00
twinaphex
4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +01:00
twinaphex
6b8aece1f7 (Menu) Cleanups 2015-02-11 19:28:06 +01:00
twinaphex
b0bd9fdd9d (menu.c) menu_iterate - cleanups 2015-02-11 19:17:30 +01:00
twinaphex
8e42857488 (Menu) Move set_texture call to higher-level iterate function 2015-02-11 19:16:06 +01:00
twinaphex
00cd281a1f Move menu_ticker_line to menu_animation.c 2015-02-11 18:52:59 +01:00
twinaphex
915c97b76f Refactor menu_driver.h 2015-02-11 18:36:37 +01:00
twinaphex
97564dd1be (menu_entries_cbs.c) Cut down on code duplication pt. 2 2015-02-11 18:17:02 +01:00
twinaphex
3ca18c14d4 (menu_entries_cbs.c) Cut down code duplication 2015-02-11 18:14:53 +01:00
twinaphex
5ee4e6da73 Guard against entering video filter or audio filter directory
if path is not correct
2015-02-11 17:53:38 +01:00
twinaphex
821a3283dc Refactor gl_set_texture_frame 2015-02-11 16:05:11 +01:00
twinaphex
118ce66dec Refactor gl_load_texture_data 2015-02-11 15:53:37 +01:00
twinaphex
77f6b98aa9 Reuse gl_load_texture_data some more 2015-02-11 15:46:55 +01:00
twinaphex
f19339eb38 Have menu_texture.c reuse gl_common.c's gl_load_texture_data 2015-02-11 15:19:21 +01:00
twinaphex
b64584672f (GLUI) Cleanups 2015-02-11 14:32:09 +01:00
twinaphex
bcfd2f7667 (Windows) Build fixes 2015-02-11 14:25:06 +01:00
twinaphex
3d83c1fa75 Free menu->frame_buf in menu_free 2015-02-11 07:02:12 +01:00
twinaphex
cf57120fdd (RMenu) Cleanups 2015-02-11 06:59:19 +01:00
twinaphex
37d9661846 (XMB/GLUI) Cleanups 2015-02-11 06:34:30 +01:00
twinaphex
a687907bde Cleanup xmb_render_messagebox 2015-02-11 06:27:28 +01:00
twinaphex
b20ab24fa2 (XMB) Cleanups pt. 5 2015-02-11 06:22:00 +01:00
twinaphex
1c4d628498 (XMB) Cleanups pt. 4 2015-02-11 06:21:03 +01:00
twinaphex
cc9d5dae28 (XMB) Cleanups pt. 3 2015-02-11 06:15:15 +01:00
twinaphex
d85a8d5452 (XMB) Cleanups pt. 2 2015-02-11 06:11:25 +01:00
twinaphex
d8a0126203 (XMB) Cleanups to xmb_draw_items 2015-02-11 06:05:27 +01:00
twinaphex
56aa3ddb5c (GLUI) Cleanups 2015-02-11 05:55:36 +01:00
twinaphex
44d540eb3e (GLUI) Cleanups 2015-02-11 05:50:37 +01:00
twinaphex
ed4d8d5acf (XMB) Cleanups pt. 3 2015-02-11 05:43:42 +01:00
twinaphex
5eccada700 (XMB) Cleanups pt. 2 2015-02-11 05:39:56 +01:00
twinaphex
e8d21942b4 (XMB) cleanups 2015-02-11 05:33:53 +01:00
twinaphex
b658d47c70 (RGUI) Cleanups 2015-02-11 05:23:02 +01:00
twinaphex
4d1cc8c2a9 (RGUI) Cleanups 2015-02-11 05:16:19 +01:00
twinaphex
e8ad0d183b Cleanup color_rect 2015-02-11 05:09:31 +01:00
twinaphex
da004daa8a Move frame_buf/frame_buf_pitch to menu_driver struct 2015-02-11 05:08:07 +01:00
twinaphex
1b4519ec97 (Menu) rmenu_set_texture - make it static 2015-02-11 03:55:25 +01:00
twinaphex
04022926bc Have XMB and GLUI reuse same menu_texture code 2015-02-11 03:52:35 +01:00
twinaphex
4186d97281 Start creating menu_texture.c - have GLUI use it 2015-02-11 03:40:29 +01:00
twinaphex
f71c00112a Add early return in case database/cursor directory has not been set or is
inaccessible
2015-02-11 01:43:16 +01:00
twinaphex
6d5939063c Add early return in case cheat directory or remap file doesn't exist 2015-02-11 01:41:30 +01:00
Twinaphex
6cbb3ba3c8 action_ok_core_list - add early return if directory cannot be
accessed
2015-02-11 01:36:42 +01:00
twinaphex
436fe5150d (menu_animation.c) subject does not need to be freed 2015-02-11 01:26:33 +01:00
twinaphex
37a8e0ef85 Improve menu_animation_free 2015-02-11 01:22:15 +01:00
twinaphex
a85908c8f9 (Menu) Refactor easing functions 2015-02-11 01:15:16 +01:00
twinaphex
46003314a8 Refactor menu_animation.c 2015-02-11 00:40:18 +01:00
twinaphex
13a87d48fe Refactor tweens_push 2015-02-10 23:59:16 +01:00
twinaphex
9a839fce2f Pass numtweens as pointer 2015-02-10 23:49:26 +01:00
twinaphex
453e5b7681 Rename tween functions 2015-02-10 23:45:14 +01:00
twinaphex
9a6e99e12c Cleanup add_tween 2015-02-10 23:40:58 +01:00
twinaphex
e6ab59bce2 Refactor update_tweens 2015-02-10 23:35:22 +01:00
twinaphex
8b5699d2d5 Cleanups 2015-02-10 23:26:21 +01:00
twinaphex
ca36923c99 (XMB) Some cleanups 2015-02-10 23:17:19 +01:00
twinaphex
affce9a7cf Make xmb_font_init_first a bit more safe for threaded video mode 2015-02-10 23:14:01 +01:00
Twinaphex
8869ffdd57 (XMB) Remove unused variables 2015-02-10 23:11:20 +01:00
Alcaro
28405f547b Cleanup conditional mess 2015-02-10 22:36:39 +01:00
twinaphex
bdaace4da7 Cleanup action_ok_core_download 2015-02-10 22:36:20 +01:00
twinaphex
3f7adb2903 Cleanup conditional mess 2015-02-10 22:34:49 +01:00
twinaphex
1f36d47556 Fix another crash - don't reuse str_list 2015-02-10 22:31:59 +01:00
Alcaro
28e2ca74e7 Double semicolons aren't useful. 2015-02-10 22:29:26 +01:00
Alcaro
111d4d4bd5 Remove some pointless casts. 2015-02-10 22:19:33 +01:00
twinaphex
3b165ba254 Create menu_list_insert 2015-02-10 21:52:31 +01:00
twinaphex
64372ed4b1 (XMB) Fixes 2015-02-10 17:46:35 +01:00
Jean-André Santoni
f331eba299 (Menu) iterate was not used either 2015-02-10 15:06:41 +01:00
Jean-André Santoni
e330f03124 (Menu) init_lists was not used either 2015-02-10 15:02:38 +01:00
Jean-André Santoni
274cfe0f9f (Menu) input_postprocess was not used anymore by any menu driver 2015-02-10 14:52:25 +01:00
Jean-André Santoni
3b2aa6ba40 (XMB) Fix more duplicate icon bugs 2015-02-10 02:50:22 +01:00
Jean-André Santoni
a2380c4182 (XMB) Display bug fix and code refactoring 2015-02-09 22:54:14 +01:00
Twinaphex
db64c41ae7 Silence some warnings 2015-02-09 01:46:58 +01:00
Twinaphex
fe279c5c4b Merge pull request #1393 from SuperrSonic/master
(GX) Enable custom viewports in 240p
2015-02-07 05:31:32 +01:00
Jean-André Santoni
ef7e210719 (XMB)(GLUI) Better fix for the GL texture format bug 2015-02-07 00:05:40 +01:00
SuperrSonic
2a79810b05 (GX) Added 608x240 for handheld cores with square pixels 2015-02-05 16:25:32 -04:00
twinaphex
72ac1bd407 menu_animation.c - some cleanups 2015-02-05 18:27:25 +01:00