dd5edeff8c54dc28df8c9ff2aec564336ae4cea0
[carveJwlIkooP6JGAAIwe30JlM.git] / control_overlay.h
1 #pragma once
2
3 struct control_overlay
4 {
5 mdl_context mdl;
6 GLuint tex;
7
8 mdl_submesh *m_key,
9 *m_key_down,
10 *m_shift,
11 *m_shift_down,
12 *m_space,
13 *m_space_down,
14 *m_jump_ind,
15 *m_jump_text,
16 *m_text_jump,
17 *m_text_carve,
18 *m_text_crouch,
19 *m_text_shift,
20 *m_text_grab,
21 *m_stored_ind,
22 *m_text_stored,
23 *m_text_left,
24 *m_text_right,
25 *m_text_push,
26 *m_text_manual,
27 *m_text_front_flip, *m_text_back_flip,
28 *m_text_w, *m_text_s,
29 *m_lmb, *m_lmb_down,
30 *m_rmb, *m_rmb_down,
31 *m_mouse, *m_mouse_grabs,
32 *m_text_kickflip,
33 *m_text_treflip,
34 *m_text_shuvit,
35 *m_text_walk, *m_text_walk_lwr, *m_text_forward, *m_text_back,
36 *m_text_skate, *m_text_e, *m_text_glide, *m_text_camera,
37 *m_text_run, *m_text_look, *m_text_rewind, *m_text_respawn,
38
39 *m_ls,
40 *m_ls_circ_backflip, *m_ls_circ_frontflip,
41 *m_ls_circ_manual, *m_ls_circ_skate, *m_ls_circ_walk,
42 *m_rs,
43 *m_rs_circ_look, *m_rs_circ_grab,
44
45 *m_lb, *m_lb_down, *m_carve_l,
46 *m_rb, *m_rb_down, *m_carve_r,
47 *m_lt, *m_lt_act, *m_lt_run,
48 *m_rt, *m_rt_act, *m_rt_grab, *m_rt_crouch,
49
50 *m_y, *m_y_down, *m_text_y_walk, *m_text_y_walk_lwr, *m_text_y_glide,
51 *m_text_y_skate,
52 *m_b, *m_b_down, *m_text_b_kickflip, *m_text_b_push,
53 *m_x, *m_x_down, *m_text_x_treflip,
54 *m_a, *m_a_down, *m_text_a_shuvit, *m_text_a_jump, *m_text_a_jump_mid,
55
56 *m_dpad, *m_dpad_w, *m_dpad_n, *m_dpad_e, *m_dpad_s,
57 *m_text_dw_rewind, *m_text_de_camera, *m_text_dn_respawn,
58
59 *m_met, *m_met_r, *m_met_l, *m_met_l_down, *m_met_r_down,
60 *m_text_met_menu,
61
62 *m_key_menu, *m_key_menu_down, *m_text_menu;
63 i32 enabled;
64 }
65 extern control_overlay;
66
67 void control_overlay_render(void);
68 void control_overlay_init(void);