diff options
Diffstat (limited to 'src/game/client/gc_anim.h')
| -rw-r--r-- | src/game/client/gc_anim.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/game/client/gc_anim.h b/src/game/client/gc_anim.h index 115f7353..f6e9aac3 100644 --- a/src/game/client/gc_anim.h +++ b/src/game/client/gc_anim.h @@ -1,14 +1,14 @@ -struct animstate +struct ANIM_STATE { - keyframe body; - keyframe back_foot; - keyframe front_foot; - keyframe attach; + ANIM_KEYFRAME body; + ANIM_KEYFRAME back_foot; + ANIM_KEYFRAME front_foot; + ANIM_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); +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); |