X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.h;h=d744d192d06db58c16097a3c2df53fdfaa3f1f2e;hb=76042e561d89b232f04cac8a431b5cd7b30a6b9d;hp=85bca0a8258a5f13aa067d14d3de5fba4ad5fb3c;hpb=33de52d9660ab86caafdd0ae4abb496dbc072778;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.h b/player.h index 85bca0a..d744d19 100644 --- a/player.h +++ b/player.h @@ -36,6 +36,7 @@ struct player_instance cam1, cam3; #endif +#if 0 v3f follow_pos, follow_angles, follow_pos_target, @@ -43,10 +44,33 @@ struct player_instance override_pos, override_angles, fpv_pos, - fpv_angles; + fpv_angles, + fpv_offset, + fpv_offset_target; float cam_position_override_strength, - cam_angles_override_strength; + cam_angles_override_strength, + cam_land_punch, + cam_land_punch_v; +#endif + + v3f fpv_offset, /* expressed relative to rigidbody */ + tpv_offset, + fpv_viewpoint, /* expressed relative to neck bone inverse final */ + fpv_offset_smooth, + fpv_viewpoint_smooth, + tpv_offset_smooth, + tpv_lpf, + cam_velocity_smooth; + + float cam_velocity_influence, + cam_velocity_coefficient, + cam_velocity_constant, + cam_velocity_coefficient_smooth, + cam_velocity_constant_smooth, + cam_velocity_influence_smooth, + cam_land_punch, + cam_land_punch_v; teleport_gate *gate_waiting;