Xonotic
|
#include "subs.qh"
Go to the source code of this file.
Variables | |
float | friction |
float | platmovetype_turn |
void SUB_CalcAngleMove | ( | entity | this, |
vector | destangle, | ||
float | tspeedtype, | ||
float | tspeed, | ||
void(entity this) | func | ||
) |
Definition at line 331 of file subs.qc.
References angles, avelocity, finalangle, floor(), ltime, nextthink, objerror(), setthink, SUB_CalcAngleMoveDone(), TSPEED_END, TSPEED_LINEAR, TSPEED_START, TSPEED_TIME, vector(), and vlen().
Referenced by SUB_CalcAngleMoveEnt(), and train_wait().
Definition at line 320 of file subs.qc.
References angles, avelocity, finalangle, nextthink, and SUB_CalcAngleMoveDone().
Referenced by SUB_CalcAngleMove(), SUB_CalcAngleMoveDone(), and SUB_NullThink().
void SUB_CalcAngleMoveEnt | ( | entity | ent, |
vector | destangle, | ||
float | tspeedtype, | ||
float | tspeed, | ||
void(entity this) | func | ||
) |
Definition at line 371 of file subs.qc.
References anglemods(), angles, endsWith, entity(), find(), getSendEntity, InitializeEntity(), lodmodelindex0, lodmodelindex1, lodmodelindex2, makevectors, max(), maxs, mins, model, modelindex, movedir, MOVETYPE_NONE, MOVETYPE_PUSH, normalize(), NULL, objerror(), origin, set_movetype(), setorigin(), solid, SOLID_BSP, SOLID_TRIGGER, SUB_CalcAngleMove(), targetname, v_forward, vdist, vector(), and vlen().
void SUB_CalcMove | ( | entity | this, |
vector | tdest, | ||
float | tspeedtype, | ||
float | tspeed, | ||
void(entity this) | func | ||
) |
Definition at line 256 of file subs.qc.
References finaldest, ltime, nextthink, objerror(), origin, platmovetype_end, platmovetype_start, setthink, SUB_CalcMove_Bezier(), SUB_CalcMoveDone(), TSPEED_END, TSPEED_LINEAR, TSPEED_START, TSPEED_TIME, vector(), velocity, and vlen().
Referenced by door_go_down(), door_go_up(), plat_go_down(), plat_go_up(), SUB_CalcMoveEnt(), and train_next().
void SUB_CalcMove_Bezier | ( | entity | this, |
vector | tcontrol, | ||
vector | tdest, | ||
float | tspeedtype, | ||
float | tspeed, | ||
void(entity this) | func | ||
) |
Definition at line 194 of file subs.qc.
References entity(), finaldest, getthink, ltime, move_controller, new_pure, nextthink, NULL, objerror(), origin, platmovetype, platmovetype_end, platmovetype_start, setthink, SUB_CalcMove_controller_setbezier(), SUB_CalcMove_controller_think(), SUB_CalcMoveDone(), SUB_NullThink(), time, TSPEED_END, TSPEED_LINEAR, TSPEED_START, TSPEED_TIME, velocity, and vlen().
Referenced by SUB_CalcMove(), and train_next().
void SUB_CalcMove_controller_setbezier | ( | entity | controller, |
vector | org, | ||
vector | control, | ||
vector | destin | ||
) |
Definition at line 166 of file subs.qc.
References setorigin().
Referenced by SUB_CalcMove_Bezier().
Definition at line 181 of file subs.qc.
References setorigin().
Definition at line 106 of file subs.qc.
References animstate_endtime, animstate_starttime, cubic_speedfunc(), destvec, destvec2, entity(), finaldest, floor(), getthink, nextthink, NULL, origin, owner, platmovetype_end, platmovetype_start, setthink, time, v, vectoangles(), and vector().
Referenced by SUB_CalcMove_Bezier().
Definition at line 94 of file subs.qc.
References finaldest, nextthink, setorigin(), SUB_CalcMoveDone(), and velocity.
Referenced by SUB_CalcMove(), SUB_CalcMove_Bezier(), SUB_CalcMoveDone(), and SUB_NullThink().
void SUB_CalcMoveEnt | ( | entity | ent, |
vector | tdest, | ||
float | tspeedtype, | ||
float | tspeed, | ||
void(entity this) | func | ||
) |
Definition at line 305 of file subs.qc.
References SUB_CalcMove().
Definition at line 3 of file subs.qc.
References entity(), spawnfunc(), SUB_CalcAngleMoveDone(), and SUB_CalcMoveDone().
Referenced by SUB_CalcMove_Bezier().
Definition at line 77 of file subs.qc.
References setthink, and SUB_SetFade_Think().
Referenced by Item_InitializeLoot(), Monster_Dead_Fade(), monster_dropitem(), PlayerDamage(), Portal_Remove(), respawn(), and thrown_wep_think().
Definition at line 57 of file subs.qc.
References alpha, fade_rate, frametime, nextthink, setthink, SUB_SetFade_Think(), SUB_VanishOrRemove(), and time.
Referenced by SUB_SetFade(), and SUB_SetFade_Think().
Definition at line 38 of file subs.qc.
References IS_CLIENT.
Referenced by SUB_SetFade_Think(), and thrown_wep_think().
float friction |
Definition at line 23 of file subs.qc.
Referenced by SUB_Friction().
float platmovetype_turn |
Definition at line 105 of file subs.qc.
Referenced by train_next(), and train_wait().