6 /** primary framegroup animation (strength = 1 - lerpfrac - lerpfrac3 - lerpfrac4) */
8 /** secondary framegroup animation (strength = lerpfrac) */
10 /** tertiary framegroup animation (strength = lerpfrac3) */
12 /** quaternary framegroup animation (strength = lerpfrac4) */
15 /** strength of framegroup blend */
17 /** strength of framegroup blend */
19 /** strength of framegroup blend */
22 /** start time of framegroup animation */
24 /** start time of framegroup animation */
26 /** start time of framegroup animation */
28 /** start time of framegroup animation */
33 // player animation state
35 .int animstate_startframe;
36 .int animstate_numframes;
37 .float animstate_framerate;
38 .float animstate_starttime;
39 .float animstate_endtime;
40 /** whether to repeat */
41 .bool animstate_looping;
42 /** true for one cycle, then changed to false */
43 .bool animstate_override;
45 void anim_set(entity e, vector anim, bool looping, bool override, bool restart);
46 #define setanim(...) anim_set(__VA_ARGS__)
47 void anim_update(entity e);
48 #define updateanim(...) anim_update(__VA_ARGS__)