4510835e125d7509d00cf62f117a04927a9cd70f
[carveJwlIkooP6JGAAIwe30JlM.git] / player_common.h
1 #ifndef PLAYER_COMMON_H
2 #define PLAYER_COMMON_H
3
4 #include "player_api.h"
5
6 static float
7 k_cam_spring = 20.0f,
8 k_cam_damp = 6.7f,
9 k_cam_punch = -1.0f,
10 k_cam_shake_strength = 0.0001f,
11 k_cam_shake_trackspeed = 0.2f;
12
13 static i32 k_player_debug_info = 0;
14 static ui_rect g_player_debugger;
15
16 static void player_look( v3f angles, float speed );
17 static void player__cam_iterate(void);
18 static struct player_board
19 *player_get_player_board( struct player_instance *player );
20 static struct player_model
21 *player_get_player_model( struct player_instance *player );
22 static f32 player_get_heading_yaw(void);
23
24 #endif /* PLAYER_COMMON_H */