From: hgn Date: Wed, 26 Jul 2023 07:43:49 +0000 (+0100) Subject: spawn revision and bad ideas removed X-Git-Url: https://harrygodden.com/git/?a=commitdiff_plain;h=d6dc880325aed6461ce18fe6ef20a204ef46cb5b;p=carveJwlIkooP6JGAAIwe30JlM.git spawn revision and bad ideas removed --- diff --git a/addon.c b/addon.c index 5c9578f..67f2f6b 100644 --- a/addon.c +++ b/addon.c @@ -209,7 +209,9 @@ VG_STATIC void addon_print_info( addon_reg *reg ){ } VG_STATIC void addon_mount_finish( addon_reg *reg ){ +#if 0 addon_print_info( reg ); +#endif addon_system.registry_count ++; } diff --git a/maps_src/mp_spawn/main.mdl b/maps_src/mp_spawn/main.mdl index 4d9629f..3aa6cfb 100644 Binary files a/maps_src/mp_spawn/main.mdl and b/maps_src/mp_spawn/main.mdl differ diff --git a/player_common.c b/player_common.c index 3711405..87d9056 100644 --- a/player_common.c +++ b/player_common.c @@ -203,11 +203,13 @@ VG_STATIC void player__cam_iterate( player_instance *player ){ v3_muladds( tpv_offset, cc->cam_velocity_smooth, -0.025f, tpv_offset ); v3_add( tpv_origin, tpv_offset, tpv_pos ); +#if 0 f32 t; v3f n; if( spherecast_world( world_current_instance(), tpv_origin, tpv_pos, 0.2f, &t, n ) != -1 ){ v3_lerp( tpv_origin, tpv_pos, t, tpv_pos ); } +#endif /* * Blend cameras