Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
animation.qh
Go to the documentation of this file.
1
#pragma once
2
3
float
autocvar_menu_animations
= 0.2;
4
5
CLASS
(
Animation
,
Object
)
6
METHOD
(
Animation
, configureAnimation,
void
(
Animation
this
,
entity
,
void
(
entity
,
float
),
float
,
float
,
float
,
float
));
7
METHOD
(
Animation
, update,
void
(
Animation
this
,
float
,
float
,
float
));
8
METHOD
(
Animation
, setTimeStartEnd,
void
(
Animation
this
,
float
,
float
));
9
METHOD
(
Animation
, setTimeStartDuration,
void
(
Animation
this
,
float
,
float
));
10
METHOD
(
Animation
, setValueStartEnd,
void
(
Animation
this
,
float
,
float
));
11
METHOD
(
Animation
, setObjectSetter,
void
(
Animation
this
,
entity
,
void
(
entity
,
float
)));
12
METHOD
(
Animation
, tick,
void
(
Animation
this
,
float
));
13
METHOD
(
Animation
, calcValue,
float
(
Animation
this
,
float
,
float
,
float
,
float
));
14
METHOD
(
Animation
, stopAnim,
void
(
Animation
this
));
15
METHOD
(
Animation
, resumeAnim,
void
(
Animation
this
));
16
METHOD
(
Animation
, finishAnim,
void
(
Animation
this
));
17
ATTRIB
(
Animation
,
object
,
entity
);
18
void
setterDummy
(
Animation
this
,
float
) {}
19
ATTRIB
(
Animation
, setter,
void
(
Animation
this
,
float
),
setterDummy
);
20
ATTRIB
(
Animation
,
value
,
float
, 0);
21
ATTRIB
(
Animation
,
startTime
,
float
, 0);
22
ATTRIB
(
Animation
,
duration
,
float
, 0);
23
ATTRIB
(
Animation
,
startValue
,
float
, 0);
24
ATTRIB
(
Animation
,
delta
,
float
, 0);
25
ATTRIB
(
Animation
,
stopped
,
float
,
false
);
26
ATTRIB
(
Animation
,
finished
,
float
,
false
);
27
ENDCLASS
(
Animation
)
autocvar_menu_animations
float autocvar_menu_animations
Definition
animation.qh:3
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Animation
Definition
animdecide.qh:10
Animation::value
float value
Definition
animation.qh:20
Animation::setterDummy
void setterDummy(Animation this, float)
Definition
animation.qh:18
Animation::startTime
float startTime
Definition
animation.qh:21
Animation::duration
float duration
Definition
animation.qh:22
Animation::ATTRIB
ATTRIB(Animation, object, entity)
Animation::delta
float delta
Definition
animation.qh:24
Animation::finished
float finished
Definition
animation.qh:26
Animation::startValue
float startValue
Definition
animation.qh:23
Animation::stopped
float stopped
Definition
animation.qh:25
Object
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
METHOD
#define METHOD(cname, name, prototype)
Definition
oo.qh:269
ATTRIB
#define ATTRIB(...)
Definition
oo.qh:148
menu
anim
animation.qh
Generated on
for Xonotic QuakeC by
1.14.0