Xonotic
|
#include "defs.qh"
Go to the source code of this file.
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 | dest | ||
) |
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().
void | ( | entity | this | ) |
string curvetarget |
Definition at line 56 of file subs.qh.
Referenced by train_next().
float delay |
Definition at line 38 of file subs.qh.
Referenced by dompoint_captured(), dompointthink(), round_handler_Init(), round_handler_Think(), SUB_UseTargets_Ex(), and trigger_keylock_touch().
vector destvec |
Definition at line 35 of file subs.qh.
Referenced by SUB_CalcMove_controller_think().
vector destvec2 |
Definition at line 36 of file subs.qh.
Referenced by SUB_CalcMove_controller_think().
vector finalangle |
Definition at line 30 of file subs.qh.
Referenced by SUB_CalcAngleMove(), and SUB_CalcAngleMoveDone().
vector finaldest |
Definition at line 30 of file subs.qh.
Referenced by SUB_CalcMove(), SUB_CalcMove_Bezier(), SUB_CalcMove_controller_think(), and SUB_CalcMoveDone().
float itemkeys |
Definition at line 61 of file subs.qh.
Referenced by door_damage(), door_reset(), and trigger_keylock_touch().
string killtarget |
Definition at line 48 of file subs.qh.
Referenced by DelayThink(), SUB_UseTargets_Ex(), trigger_keylock_touch(), and WarpZone_Projectile_Touch().
float lip |
Definition at line 40 of file subs.qh.
Referenced by CheatImpulse(), CheatsAllowed(), CopyBody(), door_reset(), LinkDoors(), and train_next().
vector mangle |
Definition at line 51 of file subs.qh.
Referenced by Portal_Think(), Portal_Touch(), Teleport_Touch(), train_next(), and trigger_push_findtarget().
entity move_controller |
Definition at line 68 of file subs.qh.
Referenced by SUB_CalcMove_Bezier().
string platmovetype |
Definition at line 43 of file subs.qh.
Referenced by SUB_CalcMove_Bezier(), and train_next().
float platmovetype_end |
Definition at line 44 of file subs.qh.
Referenced by SUB_CalcMove(), SUB_CalcMove_Bezier(), SUB_CalcMove_controller_think(), and train_next().
float platmovetype_start |
Definition at line 44 of file subs.qh.
Referenced by SUB_CalcMove(), SUB_CalcMove_Bezier(), SUB_CalcMove_controller_think(), and train_next().
vector pos1 |
Definition at line 50 of file subs.qh.
Referenced by _StartItem(), door_go_down(), door_init_startopen(), door_reset(), LinkDoors(), plat_go_up(), plat_reset(), train_next(), vehicle_initialize(), and vehicles_spawn().
vector pos2 |
Definition at line 50 of file subs.qh.
Referenced by door_go_up(), door_init_startopen(), door_reset(), LinkDoors(), plat_go_down(), plat_reset(), train_next(), vehicle_initialize(), and vehicles_spawn().
float sounds |
Definition at line 42 of file subs.qh.
Referenced by door_reset(), and trigger_keylock_touch().
float speed |
Definition at line 41 of file subs.qh.
Referenced by conveyor_think(), CSQC_Demo_Camera(), door_go_down(), door_go_up(), door_reset(), func_ladder_think(), HUD_Physics(), HUD_StrafeHUD(), LinkDoors(), Monster_Think(), plat_go_down(), plat_go_up(), sys_phys_fixspeed(), Teleport_Touch(), train_next(), and trigger_push_findtarget().
float state |
Definition at line 32 of file subs.qh.
Referenced by _StartItem(), door_blocked(), door_fire(), door_generic_plat_blocked(), door_go_down(), door_go_up(), door_hit_bottom(), door_hit_top(), door_reset(), DropBall(), GiveBall(), GrapplingHook_Stop(), GrapplingHookThink(), HUD_Mod_KH(), Item_Reset(), LinkDoors(), ModalController_switchState(), Monster_Attack_Leap(), Monster_Attack_Leap_Check(), Monster_Attack_Melee(), Monster_Dead(), Monster_Move(), plat_crush(), plat_go_down(), plat_go_up(), plat_hit_bottom(), plat_hit_top(), plat_reset(), plat_use(), train_next(), and viewmodel_draw().
float t_length |
Definition at line 33 of file subs.qh.
Referenced by AnimateDomPoint(), and dom_controlpoint_setup().
float t_width |
Definition at line 33 of file subs.qh.
Referenced by AnimateDomPoint(), and dom_controlpoint_setup().
string target3 |
Definition at line 54 of file subs.qh.
Referenced by DelayThink(), and SUB_UseTargets_Ex().
string target4 |
Definition at line 55 of file subs.qh.
Referenced by DelayThink(), and SUB_UseTargets_Ex().
float target_random |
Definition at line 57 of file subs.qh.
Referenced by SUB_UseTargets_Ex(), train_next(), and train_next_find().
const int TSPEED_END = 2 |
Definition at line 73 of file subs.qh.
Referenced by SUB_CalcAngleMove(), SUB_CalcMove(), and SUB_CalcMove_Bezier().
const int TSPEED_LINEAR = 0 |
Definition at line 71 of file subs.qh.
Referenced by door_go_down(), door_go_up(), plat_go_down(), plat_go_up(), SUB_CalcAngleMove(), SUB_CalcMove(), SUB_CalcMove_Bezier(), and train_next().
const int TSPEED_START = 1 |
Definition at line 72 of file subs.qh.
Referenced by SUB_CalcAngleMove(), SUB_CalcMove(), and SUB_CalcMove_Bezier().
const int TSPEED_TIME = -1 |
Definition at line 70 of file subs.qh.
Referenced by SUB_CalcAngleMove(), SUB_CalcMove(), SUB_CalcMove_Bezier(), and train_wait().
float wait |
Definition at line 39 of file subs.qh.
Referenced by dom_controlpoint_setup(), dompoint_captured(), dompointthink(), door_blocked(), door_generic_plat_blocked(), door_go_up(), door_hit_top(), door_reset(), Item_RespawnThink(), ka_TouchEvent(), LinkDoors(), ons_GeneratorThink(), round_handler_Reset(), round_handler_Spawn(), round_handler_Think(), train_next(), train_wait(), and trigger_keylock_touch().