]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/anim/keyframe.qh
Merge branch 'master' into terencehill/scoreboard_panel_2
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / anim / keyframe.qh
1 #pragma once
2
3 #include "animation.qh"
4 CLASS(Keyframe, Animation)
5         METHOD(Keyframe, addEasing, entity(entity, float, float, float(float, float, float, float)));
6         METHOD(Keyframe, addAnim, void(entity, entity));
7         METHOD(Keyframe, calcValue, float(entity, float, float, float, float));
8         ATTRIB(Keyframe, currentChild, entity);
9         ATTRIB(Keyframe, firstChild, entity);
10         ATTRIB(Keyframe, lastChild, entity);
11 ENDCLASS(Keyframe)
12 entity makeHostedKeyframe(entity, void(entity, float), float, float, float);
13 entity makeKeyframe(entity, void(entity, float), float, float, float);
14 float getNewChildStart(entity);
15 float getNewChildDuration(entity, float);
16 float getNewChildValue(entity);