-static mdl_header *menu_model;
-static glmesh menu_glmesh;
-static m4x3f menu_mdl_mtx;
-static float menu_opacity = 0.0f;
-static float menu_input_cooldown = 0.0f;
-static float menu_fov_target = 97.0f;
-static v2f menu_extra_angles;
-
-static int menu_loc = 1,
- menu_loc_last = 1;
-static u32 menu_page = 0;
-
-static int cl_menu = 0,
- cl_menu_go_away = 0;
-static int cl_playermdl_id = 0;
-
-static const char *playermodels[] = { "ch_new", "ch_jordan", "ch_outlaw" };
-
-static void menu_btn_paused( int event );
-static void menu_btn_quit( int event );
-static void menu_btn_skater( int event );
-static void menu_btn_map( int event );
-static void menu_btn_map_a( int event );
-static void menu_btn_map_b( int event );
-static void menu_btn_map_c( int event );
-static void menu_btn_fuckoff( int event );
+VG_STATIC mdl_context menu_model;
+VG_STATIC glmesh menu_glmesh;
+VG_STATIC m4x3f menu_mdl_mtx;
+VG_STATIC float menu_opacity = 0.0f;
+VG_STATIC float menu_input_cooldown = 0.0f;
+VG_STATIC float menu_fov_target = 97.0f;
+VG_STATIC v2f menu_extra_angles;
+
+VG_STATIC int menu_loc = 0xb,
+ menu_loc_last = 1;
+VG_STATIC u32 menu_page = 0;
+
+VG_STATIC int cl_menu = 0,
+ cl_menu_go_away = 0;
+
+VG_STATIC const char *playermodels[] = { "ch_new", "ch_jordan", "ch_outlaw" };
+
+vg_tex2d tex_menu = { .path = "textures/menu.qoi",.flags = VG_TEXTURE_NEAREST };
+
+VG_STATIC void menu_btn_paused( int event );
+VG_STATIC void menu_btn_quit( int event );
+VG_STATIC void menu_btn_skater( int event );
+VG_STATIC void menu_btn_map( int event );
+VG_STATIC void menu_btn_map_a( int event );
+VG_STATIC void menu_btn_map_b( int event );
+VG_STATIC void menu_btn_map_c( int event );
+VG_STATIC void menu_btn_fuckoff( int event );
+VG_STATIC void menu_btn_reset( int event );