#include "player_common.h"
#include "player_walk.h"
#include "player_skate.h"
-//#include "player_dead.h"
+#include "player_dead.h"
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;
*input_js2v,
*input_jump,
*input_push,
+ *input_trick0,
+ *input_trick1,
+ *input_trick2,
*input_walk,
*input_walkh,
*input_walkv,
struct player_ragdoll ragdoll;
vg_tex2d *playertex;
+ player_pose holdout_pose;
+ float holdout_time;
+
/*
* Subsystems
* -------------------------------------------------
struct player_skate _skate;
struct player_walk _walk;
- //struct player_dead _dead;
+ struct player_dead _dead;
};
/*
{
player__walk_update,
player__skate_update,
- NULL
+ player__dead_update,
};
VG_STATIC
{
player__walk_animate,
player__skate_animate,
- NULL
+ player__dead_animate
};
VG_STATIC
{
player__walk_post_animate,
player__skate_post_animate,
- NULL
+ player__dead_post_animate
};
/* implementation */
#include "player_common.c"
#include "player_walk.c"
#include "player_skate.c"
-//#include "player_dead.c"
+#include "player_dead.c"
#endif /* PLAYER_H */