From 3705064b109580103a3d13f44693503da9927281 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 12 Jun 2008 12:09:34 +0000 Subject: renamed .h to .hpp in game because they are c++ headers --- src/game/client/gc_anim.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/game/client/gc_anim.hpp (limited to 'src/game/client/gc_anim.hpp') diff --git a/src/game/client/gc_anim.hpp b/src/game/client/gc_anim.hpp new file mode 100644 index 00000000..f6e9aac3 --- /dev/null +++ b/src/game/client/gc_anim.hpp @@ -0,0 +1,14 @@ + +struct ANIM_STATE +{ + ANIM_KEYFRAME body; + ANIM_KEYFRAME back_foot; + ANIM_KEYFRAME front_foot; + ANIM_KEYFRAME attach; +}; + +void anim_seq_eval(ANIM_SEQUENCE *seq, float time, ANIM_KEYFRAME *frame); +void anim_eval(ANIMATION *anim, float time, ANIM_STATE *state); +void anim_add_keyframe(ANIM_KEYFRAME *seq, ANIM_KEYFRAME *added, float amount); +void anim_add(ANIM_STATE *state, ANIM_STATE *added, float amount); +void anim_eval_add(ANIM_STATE *state, ANIMATION *anim, float time, float amount); -- cgit 1.4.1