Commit Graph

307 Commits

Author SHA1 Message Date
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
Twinaphex a07cfd4915 Merge pull request #2324 from lakkatv/material
(GLUI) Tap on tabs
2015-11-01 19:52:09 +01:00
twinaphex e9ba2caac7 Rename blending functions 2015-11-01 19:28:12 +01:00
twinaphex 2b087f3be0 No longer do blending inside menu_display_draw_frame 2015-11-01 19:24:35 +01:00
Jean-André Santoni bd99e952d6 (Menu) Move pointer_tap on the menu driver side 2015-11-02 01:17:06 +07:00
twinaphex 7ea6cb164e (Zarch) Free zui->ca upon exiting 2015-10-27 12:19:41 +01:00
twinaphex 07cb4fd445 Re-grab menu_stack pointer 2015-10-27 12:11:23 +01:00
twinaphex a9b9f20a32 Add if 0 around problematic code 2015-10-27 12:08:45 +01:00
twinaphex 179f624d8e Add something more to debug output 2015-10-27 11:52:12 +01:00
twinaphex 20250978b1 (Zarch) Show labels again 2015-10-27 11:42:54 +01:00
twinaphex 6826a3833e menu_entries_get_menu_stack_ptr - add idx parameter 2015-10-27 10:33:19 +01:00
twinaphex 0d89bca635 Start setting up menu_entries function so we can access
multiple stacks
2015-10-27 10:10:33 +01:00
twinaphex 88060f7142 (Zarch) Remove double entry in menu stack 2015-10-27 09:18:37 +01:00
twinaphex 1494437191 (Zarch) Cleanups 2015-10-27 07:56:32 +01:00
twinaphex ada6fc9258 (Zarch) Some refactors 2015-10-27 07:05:07 +01:00
twinaphex 240dc67e1b Update ID correctly according to menu entry 2015-10-27 07:03:02 +01:00
twinaphex 40313123dc (Zarch) Set default zarch tab 2015-10-27 06:22:50 +01:00
twinaphex 4afc123c84 (Zarch) Cleanups 2015-10-27 06:11:51 +01:00
twinaphex 9cae5d4493 (Zarch) Rename some variables 2015-10-27 05:45:24 +01:00
twinaphex e0bb45eda6 (Zarch) Cleanups 2015-10-27 05:23:45 +01:00
twinaphex 405e2fa370 Start hooking up saner gamepad controls 2015-10-27 04:34:16 +01:00
twinaphex dcd0abcfd0 (Zarch) Respect immediate mode code design better 2015-10-27 03:21:54 +01:00
Twinaphex c02f0c5342 Remove some unused variables 2015-10-26 22:45:12 +01:00
twinaphex 16976eac88 (Zarch) Load tab cleanups 2015-10-26 22:29:21 +01:00
twinaphex 774de49e4a Create zarch_zui_render_root_load_free 2015-10-26 22:13:30 +01:00
twinaphex a1effd5123 (Zarch) Fix 'Home' button 2015-10-26 22:01:22 +01:00
twinaphex ef21718235 (Zarch) Improve Load tab 2015-10-26 21:59:26 +01:00
twinaphex 9e2dc0745e Add param to dir_list_new_special 2015-10-26 21:30:58 +01:00
twinaphex 33f21a4b1f zarch_zui_push_quad - use existing array 2015-10-26 05:39:27 +01:00
twinaphex a4b1915b50 zarch_zui_snow is not dependent on zui struct now 2015-10-26 05:33:47 +01:00
twinaphex 6900744f35 Refactor zarch_zui_push_quad 2015-10-26 05:30:41 +01:00
twinaphex 030a64228e Refactor zarch_zui_snow 2015-10-26 05:28:20 +01:00
twinaphex cd17983fb7 (Zarch) Show all entries in 'Recent' 2015-10-25 09:22:00 +01:00
twinaphex 3d90049aea Render value path too in 'Recent' list 2015-10-25 07:50:13 +01:00
Jean-André Santoni 8558581d02 (ZUI) Implement mouse scrolling for the recent list 2015-10-25 12:12:09 +07:00
twinaphex 6e7f58e473 Add MENU_POINTER_ZARCH_X/MENU_POINTER_ZARCH_Y 2015-10-25 04:12:48 +01:00
twinaphex 15319928d5 Flesh out zarch_zui_input_state 2015-10-25 04:08:51 +01:00
twinaphex cdfc2ffd59 Implement MENU_POINTER_PRESSED 2015-10-25 04:04:46 +01:00
Twinaphex 1217e92e8d Implement zarch_zui_input_state 2015-10-25 03:49:35 +01:00
twinaphex 9fd6fac36a (Zarch) Fix menu mouse actions again 2015-10-25 03:38:59 +01:00
twinaphex 7878bd2339 (Zarch) Cleanups 2015-10-25 03:27:00 +01:00
twinaphex b900fcc0f7 (Zarch) Cleanups 2015-10-25 03:20:37 +01:00
twinaphex 87e9048e1f (Zarch) Rename temp variable 2015-10-25 03:14:08 +01:00
twinaphex 26cbe6a92b (Zarch) Reimplement Exit function 2015-10-25 03:11:26 +01:00
twinaphex 5bd555ca50 Create video_texture_unload 2015-10-25 02:33:23 +01:00
twinaphex 74b7e13ba9 (Zarch) Use GRfloat 2015-10-25 02:25:17 +01:00
twinaphex 6b8cfeb5d9 (Zarch) Namespace cleanups 2015-10-25 02:22:00 +01:00
twinaphex c089634f26 (Zarch) Namespace cleanups 2015-10-25 02:19:26 +01:00
twinaphex 2f28acb3a9 Should now show game in the background 2015-10-25 01:27:18 +02:00
Higor Eurípedes fe02757744 (zarch) Fix backgrounds in GLES builds 2015-10-24 19:57:37 -03:00
twinaphex 68e0054e92 (Zarch) Fix mouse button presses no longer working 2015-10-25 00:56:26 +02:00
twinaphex 5334d5c8a3 Refactor away zui_render 2015-10-24 23:48:53 +02:00
twinaphex a252e72350 (Zarch) Move frame_background 2015-10-24 23:44:34 +02:00
twinaphex ba811d89bf Refactor away zui_finish 2015-10-24 23:37:59 +02:00
twinaphex e230379fe0 Move input code to zarch_Iterate 2015-10-24 23:36:42 +02:00
twinaphex 4c47b7c83d Refactor away zui_begin 2015-10-24 23:34:59 +02:00
twinaphex eed81c349e (Zarch) Move zui_finish to zarch_frame 2015-10-24 23:21:18 +02:00
twinaphex fa82818ad2 (Zarch) Remember last header selection 2015-10-24 23:13:11 +02:00
twinaphex a3adec9417 Can now toggle tabs with gamepad 2015-10-24 23:08:44 +02:00
twinaphex 7ce1cf873b (Zarch) Start trying to implement gamepad controls for changing the
header
2015-10-24 22:46:36 +02:00
twinaphex 56b43f3b6f (Zarch) Better pad highlighting color 2015-10-24 21:11:07 +02:00
twinaphex 94fb20c226 (Zarch) Have differently colored highlighted item when pad selects something 2015-10-24 20:14:55 +02:00
twinaphex 9e00fcd419 Can now load content from Recent menu with the mouse 2015-10-24 08:25:01 +02:00
twinaphex d35cf6867c Start implementing gamepad controls based on menu entries 2015-10-24 08:19:56 +02:00