Commit Graph

3007 Commits

Author SHA1 Message Date
twinaphex
b9570953b0 (menu_cbs_ok.c) Cleanups 2015-09-07 00:38:23 +02:00
twinaphex
a2c8fe3bc2 (menu_cbs_ok.c) Cleanups 2015-09-07 00:32:01 +02:00
twinaphex
bbe210f7eb C89_BUILD fixes 2015-09-06 23:43:27 +02:00
twinaphex
d4ce118b1c (GLUI) Don't include video_thread_wrapper.h header 2015-09-06 23:37:27 +02:00
twinaphex
a38829dc2d (XMB) Cleanups 2015-09-06 23:24:51 +02:00
twinaphex
10340174de Cleanups 2015-09-06 23:15:03 +02:00
twinaphex
90e41a3e3f (XMB) Cleanups 2015-09-06 23:10:00 +02:00
twinaphex
0c65efdd65 Cleanups 2015-09-06 22:30:46 +02:00
twinaphex
439b761410 (XMB) Simplifications 2015-09-06 22:24:14 +02:00
twinaphex
61f6cf07ae (XMB) Simplify xmb_draw_icon 2015-09-06 22:18:59 +02:00
twinaphex
cc57ec7d4f Cleanups 2015-09-06 22:01:12 +02:00
twinaphex
ac2c938bb9 (XMB) Cut down on video_driver_get_size 2015-09-06 21:57:12 +02:00
twinaphex
6b11b4b514 Cut down on video_driver_get_size calls 2015-09-06 21:05:33 +02:00
twinaphex
6721d34114 Simplify menu_video_frame_background 2015-09-06 20:59:35 +02:00
twinaphex
54a9910c0d Simplify menu_video_frame_background 2015-09-06 20:53:52 +02:00
twinaphex
b781ab8ef5 (GLUI) Cleanups 2015-09-06 20:38:45 +02:00
twinaphex
27a28ee13d (GLUI) glui_render_quad - cleanups 2015-09-06 20:36:17 +02:00
twinaphex
9c286a5392 (GLUI) Don't spam video_driver_get_size 2015-09-06 20:14:40 +02:00
twinaphex
8d1289645e (GLUI) Pass more coord_color variables to glui_render_quad 2015-09-06 20:08:11 +02:00
twinaphex
1822bf15d5 cleanup unused variable 2015-09-06 20:04:00 +02:00
twinaphex
7529ea5c72 (menu_cbs_title.c) Cleanups 2015-09-06 20:00:38 +02:00
twinaphex
ac12c5a744 Cleanups 2015-09-06 19:49:51 +02:00
twinaphex
7df7d76131 Cleanups 2015-09-06 19:31:43 +02:00
twinaphex
821abdb471 Cleanups 2015-09-06 19:29:04 +02:00
twinaphex
3a75180866 Cleanups 2015-09-06 19:25:24 +02:00
twinaphex
eda9c179e6 (GLUI/XMB) Cleanups 2015-09-06 18:16:24 +02:00
twinaphex
c84f4efd7b Start preparing move of glViewport to menu_video_draw_frame 2015-09-06 18:08:52 +02:00
twinaphex
daa477d98e (GLUI) glui_render_quad - simplifications 2015-09-06 18:03:26 +02:00
twinaphex
fd1c3da6e9 Pass coord_color to glui_render_quad 2015-09-06 17:54:01 +02:00
twinaphex
699ebe2644 Simplify menu_video_frame_background 2015-09-06 17:45:16 +02:00
twinaphex
f74eeeb464 Turn menu_animation_ticker_generic into static function 2015-09-06 16:36:38 +02:00
Alcaro
b19f14c042 That's the last sign warning. Shut up. 2015-09-06 16:20:17 +02:00
Alcaro
a5ee1cb22d Shut up another sign warning. 2015-09-06 16:18:54 +02:00
twinaphex
c62e4aa761 (menu_animation.c) cast str_len to size_t 2015-09-06 16:14:11 +02:00
twinaphex
25258354b4 Change menu_navigation_get_selection's return type to size_t 2015-09-06 16:12:01 +02:00
twinaphex
73d599dc83 Should compile now with MISSING_DECLS = 1 2015-09-06 15:13:12 +02:00
twinaphex
875023468a Some more MISSING_DECLS buildfixes 2015-09-06 14:59:20 +02:00
Alcaro
9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
Twinaphex
853b43691e MENU_ACTION_CANCEL - use menu_entry_go_back 2015-09-06 13:41:28 +02:00
Twinaphex
98812a1165 Cleanups 2015-09-06 13:07:12 +02:00
Twinaphex
3d219c14d1 Cleanup menu_entries.c 2015-09-06 05:04:16 +02:00
Twinaphex
3b3fa56309 Cleanup menu_animation_t 2015-09-06 05:00:08 +02:00
twinaphex
33240511da More CXX_BUILD fixes 2015-09-06 04:22:30 +02:00
twinaphex
0ba87ae378 Some CXX_BUILD fixes 2015-09-06 04:18:26 +02:00
twinaphex
8fc96b52a3 refactor cheats.c 2015-09-06 03:51:08 +02:00
twinaphex
f091cb455e Refactor menu_entries 2015-09-06 02:56:57 +02:00
twinaphex
8405f76ff3 Refactor menu_animation.c 2015-09-06 02:41:36 +02:00
twinaphex
17797ee156 (GLUI) Cleanup 2015-09-06 02:10:44 +02:00
twinaphex
d6e3040e5d Use menu_navigation_get_selection 2015-09-06 02:06:02 +02:00
twinaphex
028e07e3e0 Refactor menu_navigation_get_current_selection 2015-09-06 01:58:00 +02:00
twinaphex
4242005611 (GLUI) Implement glui_list_set_selection - back animation 2015-09-06 01:47:54 +02:00
twinaphex
d4eefc020f Cleanups 2015-09-05 18:49:48 +02:00
twinaphex
92b918cb63 Call menu_navigation_set from menu_navigation_clear - will scroll
with an UI animation to the first entry of the next list
2015-09-05 18:43:20 +02:00
twinaphex
2415373aaf Cleanups 2015-09-05 17:17:26 +02:00
twinaphex
bc323cc262 Create generic_action_cheat_toggle 2015-09-05 17:09:57 +02:00
twinaphex
b28892bcf1 Cleanups 2015-09-05 17:06:25 +02:00
twinaphex
d65ee7ea3d Cleanups 2015-09-05 17:02:13 +02:00
twinaphex
3522c45067 Avoid some warnings - 'array subscript has type char' 2015-09-05 14:25:42 +02:00
twinaphex
9a95f98283 Turn menu_list_pop into static function 2015-09-05 00:50:17 +02:00
twinaphex
94d7d7d1aa menu_list_flush_stack_type - simplification 2015-09-05 00:36:12 +02:00
twinaphex
36d3bae7ba Remove now unused menu_list_pop_stack_by_needle 2015-09-04 23:34:35 +02:00
twinaphex
8404eac60d Cleanups 2015-09-04 23:32:18 +02:00
twinaphex
f3c24ace43 Cleanups 2015-09-04 23:24:14 +02:00
twinaphex
c98a372d30 action_iterate_menu_viewport - use menu_list_flush_stack 2015-09-04 23:16:23 +02:00
twinaphex
d7961375fb menu_entry_pathdir_set_value - use menu_list_flush_stack 2015-09-04 23:13:44 +02:00
twinaphex
520190355a Code de-duplication 2015-09-04 23:11:04 +02:00
twinaphex
74286788a6 Cleanups 2015-09-04 23:00:16 +02:00
twinaphex
332b464643 Code de-duplication 2015-09-04 22:58:41 +02:00
twinaphex
bc2f1fb9fa Indenting nits 2015-09-04 22:49:14 +02:00
twinaphex
c0feef5b2f Code de-duplication 2015-09-04 22:48:20 +02:00
twinaphex
5f91c3ade6 Code de-duplication 2015-09-04 22:33:30 +02:00
twinaphex
4f9cb1525c Code de-duplication 2015-09-04 22:24:04 +02:00
twinaphex
6244635716 Some code de-duplication 2015-09-04 21:59:04 +02:00
twinaphex
d3da036a4e Header cleanups 2015-09-04 21:43:08 +02:00
twinaphex
a509de60b5 Cleanups 2015-09-04 21:31:22 +02:00
twinaphex
65fef114c2 Cleanups 2015-09-04 21:29:15 +02:00
twinaphex
0077304833 Cleanups 2015-09-04 21:27:14 +02:00
twinaphex
8920f6aabd Cleanups 2015-09-04 20:11:46 +02:00
twinaphex
b0f54b896a Clean up unused variables 2015-09-04 18:41:53 +02:00
twinaphex
6006fa98b2 Cleanups 2015-09-04 17:25:42 +02:00
twinaphex
78b6acf986 Cleanups 2015-09-04 17:08:39 +02:00
twinaphex
4c41cadf22 Have menu_common_load_content return int 2015-09-04 16:55:26 +02:00
twinaphex
47936965e6 Cleanup rarch_defer_core_wrapper 2015-09-04 15:43:01 +02:00
twinaphex
c83c8fe970 Code cleanups 2015-09-04 15:39:57 +02:00
twinaphex
5d7485771a Code de-duplication 2015-09-04 13:08:15 +02:00
Twinaphex
2b82b23cc5 Update menu_cbs.c 2015-09-04 01:58:16 +02:00
twinaphex
6ede080c99 Cleanup 2015-09-04 01:28:37 +02:00
twinaphex
7e81aaf274 Cleanups 2015-09-04 01:26:17 +02:00
twinaphex
354de315e7 Cleanups 2015-09-04 01:23:02 +02:00
twinaphex
b88b97bc56 Cleanups 2015-09-04 01:18:26 +02:00
twinaphex
8c01eb5c50 Cleanups 2015-09-04 00:44:09 +02:00
twinaphex
23538b3dc8 Cleanup 2015-09-04 00:35:55 +02:00
twinaphex
45e90d9e6b Cleanups 2015-09-04 00:31:46 +02:00
twinaphex
ad103d11cb Cleanups 2015-09-04 00:27:55 +02:00
twinaphex
9f21d947a2 Cleanups 2015-09-04 00:21:07 +02:00
twinaphex
773f40c71c Code de-duplication pt. 2 2015-09-04 00:15:56 +02:00
twinaphex
ae814c66c6 Cut down on code duplication 2015-09-04 00:03:31 +02:00
twinaphex
36592121f1 Cleanups 2015-09-03 23:50:18 +02:00
twinaphex
8eeac237a6 More of same 2015-09-03 23:45:02 +02:00
twinaphex
144bdcfdad Code de-duplication 2015-09-03 23:38:07 +02:00
twinaphex
dd611f6d4e Code de-duplication 2015-09-03 23:35:21 +02:00
twinaphex
533446f561 (menu_cbs_ok.c) More code de-duplication 2015-09-03 23:22:16 +02:00
twinaphex
54ee9d8b06 (menu_cbs_ok.c) Cleanups 2015-09-03 23:14:50 +02:00
twinaphex
2d18d6e27d (menu_cbs_ok.c) More code de-duplication 2015-09-03 22:56:30 +02:00
twinaphex
18226651e0 (menu_cbs_ok.c) Refactor code 2015-09-03 22:52:19 +02:00
twinaphex
29cd1d0087 (menu_cbs_ok.c) Cut down on code duplication 2015-09-03 22:20:43 +02:00
twinaphex
8fec2bd68d (menu_cbs_ok.c) Code cleanups 2015-09-03 22:17:47 +02:00
twinaphex
e5c2ec8dcb menu_cbs_ok.c - Code de-duplication 2015-09-03 21:53:01 +02:00
twinaphex
b203f10061 Cleanups 2015-09-03 20:26:12 +02:00
twinaphex
b15785c7e2 (menu_cbs_get_value.c) Cut down on code duplication 2015-09-03 20:21:12 +02:00
twinaphex
ea71eac2fe Cleanups 2015-09-03 11:24:00 +02:00
twinaphex
9d5562e423 Fix shader preset/pass load 2015-09-03 11:21:04 +02:00
twinaphex
5b4d4c40b8 (menu_cbs_ok.c) Get rid of code duplication pt. 3 2015-09-03 02:05:37 +02:00
twinaphex
80a9530a20 (menu_cbs_ok.c) Cut down on code duplication pt. 2 2015-09-03 02:00:18 +02:00
twinaphex
68ecf7c602 (menu_cbs_ok.c) Cut down on code duplication 2015-09-03 01:56:14 +02:00
twinaphex
33f947e18d (menu_cbs_ok.c) Cleanups 2015-09-02 18:38:45 +02:00
twinaphex
236a8425ec (menu_cbs_{left|right}.c) Cut down on some code duplication 2015-09-02 16:36:59 +02:00
twinaphex
a42b59916c CXX_BUILD buildfixes 2015-09-02 15:58:22 +02:00
twinaphex
ed7c31f173 menu_navigation.h - include unistd.h, stddef.h for definitions
of size_t and ssize_t
2015-09-02 12:45:58 +02:00
twinaphex
634c24ac0b Revert "(Emscripten) Buildfix"
This reverts commit c276f3f8a2.
2015-09-02 12:42:45 +02:00
twinaphex
c276f3f8a2 (Emscripten) Buildfix 2015-09-02 12:38:32 +02:00
twinaphex
a1cf635289 (menu_cbs_select.c) Bind shader parameters 2015-09-02 01:39:52 +02:00
twinaphex
c4af46b686 Call notify_refresh of UI companion driver when we touch shader
parameters
2015-09-02 01:19:26 +02:00
twinaphex
ec8f7d9a6d (menu_cbs_left.c) - Simplify 2015-09-02 01:17:51 +02:00
twinaphex
78d3b94a4a Craete EVENT_CMD_SAVE_STATE_INCREMENT/EVENT_CMD_SAVE_STATE_DECREMENT 2015-09-02 01:15:10 +02:00
twinaphex
bbf7e02139 Create EVENT_CMD_CHEATS_APPLY 2015-09-02 01:10:44 +02:00
twinaphex
1a54984fe9 (menu_cbs_ok.c) Code de-duplication 2015-09-02 00:50:47 +02:00
twinaphex
87d41c10d2 (menu_cbs_ok.c) Code de-duplication 2015-09-02 00:47:44 +02:00
twinaphex
ce43122b6f (menu_cbs_ok.c) Cut down on some code duplication 2015-09-02 00:42:45 +02:00
twinaphex
d93559039e (menu_cbs_ok.c) Cleanups 2015-09-02 00:35:32 +02:00
twinaphex
02f9afb202 Cleanups 2015-09-02 00:14:05 +02:00
twinaphex
e39f28f989 (menu_cbs_deferred_push.c) Cut down on some more code duplication 2015-09-02 00:14:05 +02:00
twinaphex
71b85b460d Add another param to general_push 2015-09-01 20:41:58 +02:00
twinaphex
a254ebe474 Some more code de-duplication 2015-09-01 20:27:14 +02:00
twinaphex
620035b766 (menu_cbs_deferred_push.c) Get rid of code duplication 2015-09-01 19:22:33 +02:00
twinaphex
b1348cfe94 Add retro_log.h to menu_cbs.c 2015-09-01 14:59:58 +02:00
twinaphex
15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
Monroe88
e5c6618c20 (menu_displaylist.c) Fix Preview Shader Parameters 2015-08-30 17:52:42 -05:00
twinaphex
a1f4c80648 (PS3) Some build warning fixes 2015-08-30 23:51:10 +02:00
twinaphex
3c6d0dd77c Some PSP1 build fixes and start adding PSP1 support to
Makefile.griffin
2015-08-30 23:19:45 +02:00
CautiousAlbino
173dcd3e4c Retry implementation of include_compressed to dir_list_new.
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
Twinaphex
aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +02:00
CautiousAlbino
c4691b2668 Add include_compressed param to dir_list_new.
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
twinaphex
75c649d807 Cleanups 2015-08-30 13:46:51 +02:00
Twinaphex
d21dc218ed (UI companion) Call notify_refresh when core option next is toggled 2015-08-30 13:45:58 +02:00
Alcaro
00698de567 Merge branch 'master' of https://github.com/IlDucci/RetroArch into IlDucci-master
Conflicts:
	menu/intl/menu_hash_es.c
2015-08-29 14:51:38 +02:00
twinaphex
1ec90df165 Refactor fastforward ratio 2015-08-27 14:39:42 +02:00
twinaphex
805e2ffde3 Add EVENT_CMD_SET_FRAME_LIMIT callback to limit maximum run speed too 2015-08-27 14:27:57 +02:00
twinaphex
fc763f5e25 Add EVENT_CMD_SET_FRAME_LIMIT 2015-08-27 14:25:57 +02:00
twinaphex
b826305e3c (Menu) Before we do cbs->refresh, reset 'cbs' - could have become
invalid
2015-08-22 20:24:19 +02:00
twinaphex
2196e734d3 Revert "Simplify menu_cbs_init_bind_refresh"
This reverts commit d405d34c0e.
2015-08-22 20:18:08 +02:00
twinaphex
9d137e2b1f Cleanups pt. 2 2015-08-22 03:43:55 +02:00
twinaphex
bfc969faac Cleanup 2015-08-22 03:40:07 +02:00
twinaphex
7e2a25f232 Do refresh at end of menu_entry_action 2015-08-22 02:07:10 +02:00
twinaphex
1d1cda5cde Remove enum 2015-08-22 01:56:15 +02:00
twinaphex
1a2a88cb8a Perform refresh and perform original action immediately afterwards 2015-08-22 01:55:45 +02:00
twinaphex
8454c712f2 Cleanups 2015-08-22 01:47:29 +02:00
twinaphex
a9418050a8 Cleanups 2015-08-22 01:43:13 +02:00
twinaphex
4ae1e9a53d Cleanups 2015-08-22 01:42:26 +02:00
twinaphex
5b188066f1 Revert "Reimplement MENU_ACTION_REFRESH - do this step at menu_iterate_render"
This reverts commit 65bc2f3a82.
2015-08-22 00:08:25 +02:00
twinaphex
65bc2f3a82 Reimplement MENU_ACTION_REFRESH - do this step at menu_iterate_render 2015-08-21 21:34:56 +02:00
twinaphex
a3cedc05d7 Cleanups 2015-08-21 21:19:29 +02:00
twinaphex
8a42deb189 Cleanups - call menu_free from menu_init in case of an error 2015-08-21 20:56:12 +02:00
twinaphex
e8a290bd7b (menu.c) Cleanups 2015-08-21 20:54:56 +02:00
twinaphex
5479bae312 Refactor set_refresh functions somewhat 2015-08-21 18:44:14 +02:00
twinaphex
d405d34c0e Simplify menu_cbs_init_bind_refresh 2015-08-21 18:20:05 +02:00
twinaphex
f53dc8fc67 Fix menu_iterate.c 2015-08-21 06:28:54 +02:00
twinaphex
5ab257f225 (CocoaTouch) Fixes boolean values not being set 2015-08-21 06:03:51 +02:00
twinaphex
9744ce23ab Rename function and only perform menu_animation_udpate is
render_this_frame is checked
2015-08-21 04:56:14 +02:00
twinaphex
8bf28544ef Add parameter to function signature of menu_iterate 2015-08-21 04:33:55 +02:00
twinaphex
7831fd6fc0 Cleanups pt. 3 2015-08-21 04:16:43 +02:00
twinaphex
b09f43ab3a Cleanups pt. 2 2015-08-21 04:03:59 +02:00
twinaphex
c222b20ec1 Cleanups 2015-08-21 03:58:35 +02:00
twinaphex
5e372636e7 Cleanup 2015-08-20 01:41:08 +02:00
twinaphex
39d514d16d Comment out rarch_threaded_video_get_ident if HAVE_THREADS
not defined
2015-08-20 01:40:19 +02:00
twinaphex
9fd17a196f Buildfixes 2015-08-20 00:49:44 +02:00
twinaphex
6b1a9f0852 Cleanups 2015-08-18 04:11:51 +02:00
Twinaphex
1ba49547f3 Remove unused variable 2015-08-18 04:00:17 +02:00
twinaphex
9ff167c1b9 Create separate menu_iterate_main_render 2015-08-18 03:59:04 +02:00
twinaphex
f190230f85 Refactors 2015-08-18 03:51:44 +02:00
twinaphex
6bbc2dd83d Refactor menu_iterate_main 2015-08-18 03:41:13 +02:00
twinaphex
3f978b2b1e Cleanup 2015-08-18 03:12:17 +02:00
twinaphex
1669d8b3e5 (Menu) Cleanup 2015-08-18 03:07:23 +02:00
twinaphex
fe1351cc0d Cleanups 2015-08-18 03:03:34 +02:00
twinaphex
2f3746a431 Make some more functions static 2015-08-18 02:54:42 +02:00
twinaphex
6cc37dd9ca Cleanup 2015-08-18 02:45:36 +02:00
twinaphex
35701215db Take out call to menu_fb_set_dirty in menu_init 2015-08-18 02:36:32 +02:00
twinaphex
d1bcd01b88 Move more video rendering code to menu_iterate.c 2015-08-18 02:09:46 +02:00
twinaphex
f951f12f9d Move menu_list_refresh to menu_displaylist.c 2015-08-18 02:02:56 +02:00
twinaphex
0a35f5e7e9 menu_entry_get - cleanups 2015-08-18 01:58:18 +02:00
Twinaphex
8c5b1df986 Remove unused variable warning 2015-08-18 01:53:26 +02:00
twinaphex
443fd6b4f2 Move menu_driver_render and menu_driver_render_messagebox to
menu_iterate.c and make them static
2015-08-18 01:48:04 +02:00
twinaphex
86894134cb Move menu_driver_navigation_* functions to menu_navigation.c and
make them static
2015-08-18 01:45:10 +02:00
twinaphex
8c5128b189 (menu_display.c) Cleanup 2015-08-18 01:41:16 +02:00
twinaphex
df2b57c454 Remove unused menu_entry_get_current_id 2015-08-18 01:38:18 +02:00
twinaphex
6f95677727 Rewrite menu_entry_go_back 2015-08-18 01:33:03 +02:00
twinaphex
91eda0d59b Simplify menu_entries_refresh 2015-08-18 00:21:30 +02:00
twinaphex
acfa43dfe9 Make iterate no longer a function pointer 2015-08-17 22:46:27 +02:00
twinaphex
5839abd44a Cleanup 2015-08-17 22:32:42 +02:00
twinaphex
900d537351 Simplify action_iterate_info 2015-08-17 22:10:12 +02:00