-//#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
-
-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 int network_scores_updated = 0;
-
-VG_STATIC u32 utf8_byte0_byte_count( u8 char0 )
-{
- for( u32 k=2; k<4; k++ )
- {
- if( !(char0 & (0x80 >> k)) )
- return k;
- }