Commit Graph

270 Commits

Author SHA1 Message Date
twinaphex 28bb5295f7 (menu/drivers/zarch.c) Use strlcpy instead of strncpy 2016-02-29 02:17:53 +01:00
twinaphex b4e872476b Prevent some more crashes 2016-02-29 02:09:10 +01:00
twinaphex 65b628cf20 Cover more edge cases for crashes initiated by Zarch 2016-02-29 01:49:58 +01:00
twinaphex ea94d33de5 Avoid CXX_BUILD warnings 2016-02-28 22:49:52 +01:00
twinaphex 5104e05a89 Cleanup 2016-02-28 21:18:06 +01:00
twinaphex f13b630d57 Reimplement pending_action OK 2016-02-28 18:35:34 +01:00
twinaphex 841a647d0c Revert "Remove the pending_action code"
This reverts commit b19f12ec66.
2016-02-28 18:28:11 +01:00
twinaphex b19f12ec66 Remove the pending_action code 2016-02-28 18:03:57 +01:00
twinaphex 96c21eeb0d Reimplement gamepad action OK button 2016-02-28 17:45:14 +01:00
twinaphex b4acda26a2 Remove unused struct variables 2016-02-28 17:35:52 +01:00
twinaphex ae66fc95cc Start refactoring 'Load' menu 2016-02-28 17:33:56 +01:00
twinaphex 6726b64d0d Refactor zarch_zui_gamepad_input - introduce cutoff point 2016-02-28 17:20:14 +01:00
twinaphex 49d751e6c3 Create zarch_zui_gamepad_input 2016-02-28 16:49:46 +01:00
twinaphex 5c18dc8a04 (Zarch) Better gamepad controls 2016-02-28 16:44:41 +01:00
twinaphex 004ca19fe4 (Zarch) Start implementing gamepad controls 2016-02-28 15:39:20 +01:00
twinaphex 5f00e6ee56 Dehardcode 54 2016-02-27 16:44:22 +01:00
twinaphex 12d6d56199 (Zarch) Reimplement gamepad navigation 2016-02-27 02:51:46 +01:00
twinaphex 75200b8e11 (Zarch) Cleanups 2016-02-26 23:31:34 +01:00
twinaphex 7ef56a2e46 Cleanup 2016-02-26 23:10:01 +01:00
twinaphex ae5640fa25 (Zarch) Cleanups 2016-02-26 22:57:04 +01:00
twinaphex f34288781e Remove unneeded macro 2016-02-26 22:54:43 +01:00
twinaphex 58073b937f (Zarch) Variables should not be all-caps 2016-02-26 22:53:17 +01:00
twinaphex 0f8f980c8f Start reimplementing Zarch joypad input 2016-02-26 22:29:10 +01:00
twinaphex 2c69bc7d79 Cleanups 2016-02-26 22:09:02 +01:00
Twinaphex 77373e9ba4 Remove unused variable 2016-02-26 13:46:47 +01:00
twinaphex 05f2a2d18c Communicate better that these are enums 2016-02-25 19:30:14 +01:00
twinaphex b1a3d5bb25 Create MENU_INPUT_CTL_CHECK_INSIDE_HITBOX 2016-02-25 17:11:00 +01:00
twinaphex b5f4332e74 Create MENU_ANIMATION_CTL_TICKER 2016-02-25 15:19:33 +01:00
twinaphex 77c583ae47 Create DISPLAYLIST_PROCESS 2016-02-24 23:19:53 +01:00
twinaphex 7968914453 Refactor menu_displaylist_push_list to menu_displaylist_ctl 2016-02-24 22:56:41 +01:00
twinaphex 5beb71711b zarch.c - Respect 80-char width limit 2016-02-21 09:51:16 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex c6220a9e66 Reimplement rarch_task_push_content_load_default 2016-02-12 04:55:18 +01:00
twinaphex ab3591df73 (Zarch) Remove unused variable 2016-02-12 04:39:35 +01:00
twinaphex e9e6fd7b80 (Menu) Implement pending shutdown 2016-02-10 19:56:35 +01:00
twinaphex c447f6d1bd Start implementing RARCH_MENU_CTL_SET_PENDING_QUIT 2016-02-10 19:20:58 +01:00
twinaphex ce2869b4d8 Create tasks_internal and split up RA-specific task code to outside 2016-02-09 17:12:39 +01:00
twinaphex 41088165f5 Get rid of menu_display_get_tex_coords 2016-02-09 04:49:47 +01:00
twinaphex 2b86b9dbe6 (menu_display.c) Refactor draw functions 2016-02-09 04:34:07 +01:00
twinaphex 38a341e6b5 Use video_driver_texture_load and video_driver_texture_unload
directly from menu drivers
2016-02-09 01:45:37 +01:00
twinaphex cdf272665e Cleanups 2016-02-09 01:39:01 +01:00
twinaphex dd106ee8d2 Add more menu_display_ctl actions 2016-02-09 01:24:35 +01:00
twinaphex d0e9881f46 Add MENU_DISPLAY_CTL_FONT_BIND_BLOCK 2016-02-09 00:57:10 +01:00
twinaphex 3e0d3cbd55 Create MENU_DISPLAY_CTL_INIT_FIRST_DRIVER 2016-02-09 00:49:37 +01:00
twinaphex 490c023fe3 Add core_info_ctl actions 2016-02-07 02:37:57 +01:00
twinaphex 6f221fb425 Rename menu_common_load_content to rarch_task_push_content_load_default 2016-01-24 00:51:17 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 66449802e4 (menu) Start going through string_is_empty 2015-12-26 07:37:44 +01:00
twinaphex ecdecad963 Add MENU_DISPLAY_CTL_BLEND_BEGIN/MENU_DISPLAY_CTL_BLEND_END 2015-12-12 23:53:16 +01:00
twinaphex 8833ba1141 Create MENU_DISPLAY_CTL_FONT_FLUSH_BLOCK 2015-12-12 23:48:44 +01:00
twinaphex 00b979ba67 Move userdata to menu_driver.c as static variable 2015-12-11 15:14:39 +01:00
twinaphex 6ae5725373 Simplify usage of menu->userdata 2015-12-11 14:55:04 +01:00
twinaphex 2215aa2c87 (menu_driver.c) Pass userdata to free callback 2015-12-11 14:38:57 +01:00
twinaphex a8590e656e Take out header include core_info.h from runloop.h 2015-12-11 13:56:00 +01:00
twinaphex 159fe58926 Move core info list to runloop_ctl 2015-12-11 13:51:17 +01:00
twinaphex 23f1bf63c0 Turn core_info_current into static local variable 2015-12-11 13:28:23 +01:00
twinaphex 65c59eb9f1 Cleanups 2015-12-10 19:38:46 +01:00
twinaphex ae995f6986 Cleanups 2015-12-10 18:49:26 +01:00
twinaphex 18d3cb0649 Pass data to context_reset callback 2015-12-10 17:01:06 +01:00
twinaphex 02bac66c9e Pass userdata to context_destroy callback 2015-12-10 16:57:48 +01:00
twinaphex 19f0a23e7e load_image - add userdata handle 2015-12-10 16:51:59 +01:00
twinaphex 08a9bdfc12 Cleanup 2015-12-10 16:10:21 +01:00
twinaphex 87ff4d7d82 Pass userdata handle to frame callback 2015-12-10 15:44:26 +01:00
twinaphex fbdfad6250 Remove unused void * parameter for init_main_font 2015-12-10 15:19:41 +01:00
twinaphex d2c5139ab1 Revert "Add userdata pointer to frame callback"
This reverts commit ca9520a522.
2015-12-10 15:17:37 +01:00
twinaphex ca9520a522 Add userdata pointer to frame callback 2015-12-10 15:12:47 +01:00
twinaphex f4695c7547 Pass userdata pointer to render callback 2015-12-10 14:45:34 +01:00
twinaphex 2930997c25 Pass userdata to messagebox callback 2015-12-10 14:40:56 +01:00
twinaphex f0e11659c7 Header include changes 2015-12-09 09:53:43 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex c4d1f2c49d Get rid of some implicit memsets for font_params local variables 2015-12-06 14:46:50 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex 78fef6422b Create font_driver_get_message_width 2015-12-05 12:17:58 +01:00
twinaphex 7246d219b6 Cut down on dependencies on driver->font_osd_driver 2015-12-05 11:48:06 +01:00
twinaphex 1c1ac91221 Don't need first param for menu_display_font_flush_block 2015-12-05 11:42:46 +01:00
twinaphex a747af2687 Nothing was done with first param of menu_display_font_bind_block 2015-12-05 11:38:18 +01:00
twinaphex 44b708642c Expand font_driver_bind_block 2015-12-05 11:34:56 +01:00
twinaphex 4c8a2a3f88 Create font_driver_bind_block 2015-12-05 10:59:03 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
Higor Eurípedes 92683976a5 Add user_data pointer to rarch_task_push_image_load() 2015-11-24 13:50:44 -03:00
Higor Eurípedes 5d92e9061c Reimplement image loading using tasks 2015-11-23 17:42:01 -03:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 533b799692 Create video_driver_ctl and get rid of video_driver_get_frame_count 2015-11-20 15:08:27 +01:00
Higor Eurípedes fe36eb6bdd (zarch) Fix CXX_BUILD GCC warnings 2015-11-19 09:56:15 -03:00
twinaphex 1666265427 Don't use GRfloat/GRuint anymore 2015-11-10 01:58:05 +01:00
twinaphex a9b7636ddb Abstract away GL code in menu behind display driver interface 2015-11-08 01:30:07 +01:00
twinaphex 1225fce93b Create menu_display_get_tex_coords 2015-11-02 22:54:05 +01:00
twinaphex 8e5a2fdc77 Have one default vertex coord array in menu_display.c 2015-11-02 22:37:29 +01:00
twinaphex ab230f5169 Fix warnings 2015-11-02 22:12:43 +01:00
twinaphex 5e2ba2bdfc Cleanup 2015-11-02 22:11:01 +01:00
twinaphex a4eb49430c Create menu_display_texture_load and menu_display_texture_unload 2015-11-02 22:06:51 +01:00
twinaphex 76f82082b1 Cleanup 2015-11-02 20:48:57 +01:00
twinaphex 71ca469cda GL totally abstracted away now from menu drivers 2015-11-02 20:41:42 +01:00
twinaphex 5b15ed2b60 Don't pass gl_t pointer to menu_display functions 2015-11-02 19:11:09 +01:00
twinaphex 7c69249e63 Don't use arguments for blend_begin/blend_end 2015-11-02 19:07:36 +01:00
twinaphex 10051a657c Simplify menu_display_draw_frame 2015-11-02 18:55:05 +01:00
twinaphex 6516fc783b Start making menu drivers depend less on gl handle 2015-11-02 18:41:51 +01:00
twinaphex 159e9c1910 Revert "Don't use the same vertex array in every menu driver"
This reverts commit eefc33ef07.
2015-11-01 22:35:19 +01:00
twinaphex eefc33ef07 Don't use the same vertex array in every menu driver 2015-11-01 22:24:10 +01:00