prelim tricks
[carveJwlIkooP6JGAAIwe30JlM.git] / player.h
index c9f13f729bd8953220694f15f5ac22419f9fd99a..137a1ad056896fb33289b2f24a4aa2f408847bf4 100644 (file)
--- 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
     * -------------------------------------------------