+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 );
+
+struct menu_button
+{
+ const char *name;
+ u32 areas;
+
+ void (*fn_press)(int event);
+ int links[4];
+ mdl_node *pnode;
+
+ float falpha, fsize;
+}
+static menu_buttons[] =
+{
+/*0*/{"text_paused", 1, menu_btn_paused },
+/*1*/{"text_quit", 9, menu_btn_quit, {3,-1,4,2}},
+/*2*/{"text_skater", 3, menu_btn_skater, {3,1,4,-1}},
+/*3*/{"text_map", 5, menu_btn_map, {-1,-1,2,-1}},
+/*4*/{"text_about_game", 1, NULL, {2,-1,-1,-1}},
+/*5*/{"skater_left", 2, NULL, {-1,-1,-1,-1}},
+/*6*/{"skater_right", 2, NULL, {-1,-1,-1,-1}},
+/*7*/{"map_a", 4, menu_btn_map_a,{8, -1, 9, 9 }},
+/*8*/{"map_b", 4, menu_btn_map_b,{-1,7,7,-1}},
+/*9*/{"map_c", 4, menu_btn_map_c,{7,7,-1,8}},
+/*a*/{"g_map", 5, NULL },
+/*b*/{"g_controls", 1, NULL },
+/*c*/{"text_quitty", 8, NULL },
+/*d*/{"text_yes", 8, menu_btn_fuckoff },
+};
+
+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_paused( int event )
+{
+
+}
+
+static void menu_btn_fuckoff( int event )
+{
+ glfwSetWindowShouldClose( vg.window, 1 );
+}
+
+static void menu_btn_quit( int event )
+{
+ menu_page = 0x8;
+ menu_loc = 0xd;
+}
+
+static void menu_btn_map( int event )
+{
+ menu_page = 0x4;
+ menu_loc = 7;
+}
+
+static void menu_btn_skater( int event )
+{
+ menu_page = 0x2;
+}