.persistent = 1
});
+ vg_convar_push( (struct vg_convar){
+ .name = "cl_fov",
+ .data = &g_fov_option,
+ .data_type = k_convar_dtype_f32,
+ .opt_f32 = { .clamp = 0 },
+ .persistent = 1
+ });
+
vg_info(" Copyright . . . -----, ,----- ,---. .---. \n" );
vg_info(" 2021-2022 |\\ /| | / | | | | /| \n" );
vg_info(" | \\ / | +-- / +----- +---' | / | \n" );
world_audio_init();
/* 'systems' are completely loaded now */
- strcpy( world.world_name, "models/mp_dev.mdl" );
+ strcpy( world.world_name, "maps/mp_mtzero.mdl" );
world_load();
vg_console_load_autos();
}
m4x4f world_4x4;
m4x3_expand( camera_mtx_inverse, world_4x4 );
- static float fov = 97.0f;
+ static float fov = 60.0f;
+
+ float fov_target = vg_lerpf( 90.0f, 110.0f, g_fov_option );
- float fov_target = 108.0f;
if( player.phys.on_board )
- fov_target = 118.0f;
+ fov_target = vg_lerpf( 97.0f, 135.0f, g_fov_option );
if( cl_menu )
fov_target = menu_fov_target;
VG_STATIC void vg_ui(void)
{
+ menu_crap_ui();
+
#if 0
if( lightedit )
{