minor changes to be on track with vg revision
[carveJwlIkooP6JGAAIwe30JlM.git] / player_api.h
1 #ifndef PLAYER_API_H
2 #define PLAYER_API_H
3
4 #include "model.h"
5 #include "camera.h"
6 #include "entity.h"
7
8 #define PLAYER_API static
9 typedef struct player_instance player_instance;
10 typedef struct player_pose player_pose;
11
12 struct player_pose{
13 enum player_pose_type {
14 k_player_pose_type_ik, /* regular IK animation */
15 k_player_pose_type_fk_2,
16 }
17 type;
18
19 v3f root_co;
20 v4f root_q;
21
22 mdl_keyframe keyframes[32];
23
24 struct player_board_pose {
25 f32 lean;
26 }
27 board;
28 };
29
30 #endif /* PLAYER_API_H */