X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_common.h;h=529fc84173fa56d34475881b65e9b5a5015bf6ca;hb=99df437e740aa12d6e578d15bcf14140f648a6d1;hp=1b6ec71641950a08f2703ddb9346e08d968209ae;hpb=7fb317c87e6d6a0a2a0de714b278ff8763254657;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_common.h b/player_common.h index 1b6ec71..529fc84 100644 --- a/player_common.h +++ b/player_common.h @@ -3,7 +3,6 @@ #include "player_api.h" -static v3f TEMP_TPV_EXTRA; /* TODO: what? */ static float k_cam_spring = 20.0f, k_cam_damp = 6.7f, @@ -14,10 +13,11 @@ static float 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_look( v3f angles, float speed ); 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 ); +VG_STATIC float player_get_heading_yaw( player_instance *player ); #endif /* PLAYER_COMMON_H */