about summary refs log tree commit diff
path: root/src/game/client/gc_anim.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/gc_anim.hpp')
-rw-r--r--src/game/client/gc_anim.hpp14
1 files changed, 14 insertions, 0 deletions
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);