X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_common.h;h=a83e39a10b5d3a605c8090857a2cdeb30e60bbb7;hb=09be4380a98386d6494946fbd3369458f8e7f267;hp=285a3dec0537e74c9c357ee320391ca3f42242d1;hpb=b8d9653b23cc9d09608e05f08020fb923b3305ac;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_common.h b/player_common.h index 285a3de..a83e39a 100644 --- a/player_common.h +++ b/player_common.h @@ -3,16 +3,20 @@ #include "player_api.h" -static v3f TEMP_TPV_EXTRA; /* TODO: what? */ - -VG_STATIC float +static float k_cam_spring = 20.0f, k_cam_damp = 6.7f, - k_cam_punch = -1.0f; + k_cam_punch = -1.0f, + k_cam_shake_strength = 0.0001f, + k_cam_shake_trackspeed = 0.2f; + +static i32 k_player_debug_info = 0; +static ui_rect g_player_debugger; VG_STATIC void player_look( player_instance *player, v3f angles ); VG_STATIC void player__cam_iterate( player_instance *player ); VG_STATIC void player_vector_angles( v3f angles, v3f v, float C, float k ); struct player_board *player_get_player_board( struct player_instance *player ); +struct player_model *player_get_player_model( struct player_instance *player ); #endif /* PLAYER_COMMON_H */