about summary refs log tree commit diff
path: root/src/game/client/gc_anim.h
blob: 115f735383fce93be91a785931b502861b2eb9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

struct animstate
{
	keyframe body;
	keyframe back_foot;
	keyframe front_foot;
	keyframe attach;
};

void anim_seq_eval(sequence *seq, float time, keyframe *frame);
void anim_eval(animation *anim, float time, animstate *state);
void anim_add_keyframe(keyframe *seq, keyframe *added, float amount);
void anim_add(animstate *state, animstate *added, float amount);
void anim_eval_add(animstate *state, animation *anim, float time, float amount);