4 #include "solid_draw.h"
5 #include "game_common.h"
7 /*---------------------------------------------------------------------------*/
18 struct game_tilt tilt; /* Floor rotation */
19 struct game_view view; /* Current view */
21 int goal_e; /* Goal enabled flag */
22 float goal_k; /* Goal animation */
24 int jump_e; /* Jumping enabled flag */
25 int jump_b; /* Jump-in-progress flag */
26 float jump_dt; /* Jump duration */
28 float fade_k; /* Fade in/out level */
29 float fade_d; /* Fade in/out direction */
32 /* FIXME: this is just for POSE_* constants. */
33 #include "game_client.h"
35 void game_draw(const struct game_draw *, int, float);
37 /*---------------------------------------------------------------------------*/
41 float alpha; /* Interpolation factor */
45 struct game_tilt tilt[2];
46 struct game_view view[2];
52 void game_lerp_init(struct game_lerp *, struct game_draw *);
53 void game_lerp_free(struct game_lerp *);
54 void game_lerp_copy(struct game_lerp *);
55 void game_lerp_apply(struct game_lerp *, struct game_draw *);
57 /*---------------------------------------------------------------------------*/