-//#define VG_STATIC static
-#define VG_STATIC
-#define VG_FRAMEBUFFER_RESIZE 1
-#include "vg/vg.h"
-#include "submodules/anyascii/impl/c/anyascii.c"
-
-#define RESET_MAX_TIME 45.0
-VG_STATIC v3f TEMP_BOARD_0, TEMP_BOARD_1;
-
-enum menu_controller_type
-{
- k_menu_controller_type_keyboard,
- k_menu_controller_type_xbox,
- k_menu_controller_type_playstation,
- k_menu_controller_type_steam,
- k_menu_controller_type_steam_deck
-};
-
-VG_STATIC enum menu_controller_type menu_display_controller;
-
-typedef struct ray_hit ray_hit;
-struct ray_hit
-{
- float dist;
- u32 *tri;
- v3f pos, normal;
-};
-
-VG_STATIC float
- k_friction_lat = 12.0f,
- k_friction_resistance = 0.01f,
-
- k_max_push_speed = 16.0f,
- k_push_accel = 10.0f,
- k_push_cycle_rate = 8.0f,
-
- k_steer_ground = 2.5f,
- k_steer_air = 3.6f,
-
- k_jump_charge_speed = (1.0f/0.4f),
- k_jump_force = 5.0f,
-
- k_pitch_limit = 1.5f,
- k_look_speed = 2.0f,
-
- k_cog_spring = 0.2f,
- k_cog_damp = 0.02f,
- k_cog_mass_ratio = 0.9f,
-
- k_mmthrow_scale = 6.0f,
- k_mmcollect_lat = 2.0f,
- k_mmcollect_vert = 0.0f,
- k_mmdecay = 12.0f,
- k_spring_angular = 1.0f,
-
- k_spring_force = 300.0f,
- k_spring_dampener = 5.0f,
-
- k_grind_spring = 50.0f,
- k_grind_aligment = 10.0f,
- k_grind_dampener = 5.0f,
-
- k_surface_spring = 100.0f,
- k_surface_dampener = 40.0f,
- k_manul_spring = 200.0f,
- k_manul_dampener = 30.0f,
- k_board_interia = 8.0f,
-
- k_grind_decayxy = 30.0f,
- k_grind_axel_min_vel = 1.0f,
- k_grind_axel_max_angle = 0.95f, /* cosine(|a|) */
- k_grind_axel_max_vangle = 0.4f,
- k_grind_max_friction = 3.0f,
- k_grind_max_edge_angle = 0.97f,
-
- k_board_length = 0.45f,
- k_board_width = 0.13f,
- k_board_end_radius = 0.1f,
- k_board_radius = 0.14f, /* 0.07 */
-
- k_grind_balance = -40.0f;
-
-VG_STATIC float
- k_walkspeed = 10.0f,
- k_airspeed = 1.2f,
- k_stopspeed = 4.0f,
- k_walk_accel = 10.0f,
- k_walk_air_accel = 7.0f,
- k_walk_friction = 10.0f,
- k_walk_step_height = 0.2f;