X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=inline;f=player.h;h=d744d192d06db58c16097a3c2df53fdfaa3f1f2e;hb=76042e561d89b232f04cac8a431b5cd7b30a6b9d;hp=c9f13f729bd8953220694f15f5ac22419f9fd99a;hpb=e3bf80ff27b675f5e7f87dcebd16fab6fe08df7a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.h b/player.h index c9f13f7..d744d19 100644 --- a/player.h +++ b/player.h @@ -28,11 +28,49 @@ struct player_instance camera_mode; float camera_type_blend; +#if 0 struct { v3f co, angles; } cam1, cam3; +#endif + +#if 0 + v3f follow_pos, + follow_angles, + follow_pos_target, + follow_angles_target, + override_pos, + override_angles, + fpv_pos, + fpv_angles, + fpv_offset, + fpv_offset_target; + + float cam_position_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;