*/
camera cam;
struct player_cam_controller cam_control;
-
- v3f cam_override_pos;
- v3f cam_override_angles;
- float cam_override_fov;
- float cam_override_strength;
f32 cam_trackshake;
float cam_velocity_influence,
struct board_pose board_pose;
- /*
- * Replay
- * -------------------------------------------------
- */
- replay_buffer replay;
-
/*
* Subsystems
* -------------------------------------------------
*/
VG_STATIC
-void (*_player_system_register[])(void) =
-{
+void (*_player_system_register[])(void) = {
player__walk_register,
player__skate_register,
NULL,
};
VG_STATIC
-void (*_player_bind[])( player_instance *player ) =
-{
+void (*_player_bind[])( player_instance *player ) = {
player__walk_bind,
player__skate_bind,
NULL,
};
VG_STATIC
-void (*_player_reset[])( player_instance *player, ent_spawn *rp ) =
-{
+void (*_player_reset[])( player_instance *player, ent_spawn *rp ) = {
player__walk_reset,
player__skate_reset,
NULL,
};
VG_STATIC
-void (*_player_pre_update[])( player_instance *player ) =
-{
+void (*_player_pre_update[])( player_instance *player ) = {
player__walk_pre_update,
player__skate_pre_update,
NULL,
};
VG_STATIC
-void( *_player_update[])( player_instance *player ) =
-{
+void( *_player_update[])( player_instance *player ) = {
player__walk_update,
player__skate_update,
player__dead_update,
};
VG_STATIC
-void( *_player_post_update[])( player_instance *player ) =
-{
+void( *_player_post_update[])( player_instance *player ) = {
player__walk_post_update,
player__skate_post_update,
NULL,
};
VG_STATIC
-void( *_player_im_gui[])( player_instance *player ) =
-{
+void( *_player_im_gui[])( player_instance *player ) = {
player__walk_im_gui,
player__skate_im_gui,
NULL,
};
VG_STATIC
-void( *_player_animate[])( player_instance *player, player_animation *dest ) =
-{
+void( *_player_animate[])( player_instance *player, player_animation *dest ) = {
player__walk_animate,
player__skate_animate,
player__dead_animate,
};
VG_STATIC
-void( *_player_post_animate[])( player_instance *player ) =
-{
+void( *_player_post_animate[])( player_instance *player ) = {
player__walk_post_animate,
player__skate_post_animate,
player__dead_post_animate,
player__drive_post_animate
};
-VG_STATIC
-void( *_player_store_state[] )( player_instance *player ) =
-{
- NULL,
- NULL,
- NULL,
- NULL
-};
-
-VG_STATIC
-void( *_player_load_state_lerp[] )( player_instance *player,
- void *A, void *B, f32 t ) =
-{
- NULL,
- NULL,
- NULL,
- NULL
-};
-
PLAYER_API void player__debugtext( int size, const char *fmt, ... );
PLAYER_API void player__create( player_instance *inst );
PLAYER_API void player__use_avatar( player_instance *player,