X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.h;h=137a1ad056896fb33289b2f24a4aa2f408847bf4;hb=b06394c241991d85211af98ed0a7f4d730fa13d4;hp=c9f13f729bd8953220694f15f5ac22419f9fd99a;hpb=e3bf80ff27b675f5e7f87dcebd16fab6fe08df7a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.h b/player.h index c9f13f7..137a1ad 100644 --- a/player.h +++ b/player.h @@ -28,11 +28,24 @@ struct player_instance camera_mode; float camera_type_blend; - struct - { - v3f co, angles; - } - cam1, cam3; + + 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; @@ -64,6 +77,9 @@ struct player_instance struct player_ragdoll ragdoll; vg_tex2d *playertex; + player_pose holdout_pose; + float holdout_time; + /* * Subsystems * -------------------------------------------------