|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "subs.qh"Go to the source code of this file.
Variables | |
| float | friction |
| float | platmovetype_turn |
Definition at line 393 of file subs.qc.
References entity(), max(), RoundPerfectVector(), and vlen().
Referenced by func_breakable_look_destroyed(), func_breakable_look_restore(), and SetBrushEntityModel().
Definition at line 577 of file subs.qc.
References entity(), modelindex, MOVETYPE_PUSH, objerror, set_movetype(), SetBrushEntityModel(), solid, and SOLID_BSP.
Referenced by spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and spawnfunc().
Definition at line 565 of file subs.qc.
References entity(), model, MOVETYPE_NONE, set_movetype(), SetBrushEntityModel(), SetMovedir(), solid, and SOLID_BSP.
Definition at line 553 of file subs.qc.
References entity(), model, modelindex, MOVETYPE_NONE, set_movetype(), SetBrushEntityModel(), SetMovedir(), solid, and SOLID_TRIGGER.
Referenced by spawnfunc().
Definition at line 443 of file subs.qc.
References autocvar_loddebug, entity(), lodmodelindex0, lodmodelindex1, lodmodelindex2, modelindex, NearestPointOnBox(), vdist, and vector.
Referenced by LODmodel_attach().
Definition at line 469 of file subs.qc.
References entity(), lodmodelindex0, and modelindex.
Referenced by LODmodel_attach().
Definition at line 474 of file subs.qc.
References autocvar_loddebug, entity(), fexists(), find(), getSendEntity, LOD_customize(), LOD_uncustomize(), loddistance1, loddistance2, lodmodel1, lodmodel2, lodmodelindex0, lodmodelindex1, lodmodelindex2, lodtarget1, lodtarget2, maxs, mins, modelindex, NULL, SetCustomizer(), targetname, and vector.
Referenced by SetBrushEntityModel().
Definition at line 420 of file subs.qc.
References ApplyMinMaxScaleAngles(), entity(), InitializeEntity(), INITPRIO_FINDTARGET, LODmodel_attach(), maxs, mins, model, origin, and vector.
Referenced by func_breakable_setup(), g_clientmodel_init(), g_model_init(), InitMovingBrushTrigger(), InitSolidBSPTrigger(), InitTrigger(), spawnfunc(), and spawnfunc().
Definition at line 540 of file subs.qc.
References angles, entity(), makevectors, movedir, normalize(), and v_forward.
Referenced by InitSolidBSPTrigger(), InitTrigger(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and spawnfunc().
| spawnfunc | ( | info_null | ) |
| void SUB_CalcAngleMove | ( | entity | this, |
| vector | destangle, | ||
| float | tspeedtype, | ||
| float | tspeed, | ||
| void(entity this) | func ) |
Definition at line 347 of file subs.qc.
References angles, angles_y, avelocity, entity(), finalangle, floor(), ltime, nextthink, objerror, setthink, SUB_CalcAngleMoveDone(), TSPEED_END, TSPEED_LINEAR, TSPEED_START, TSPEED_TIME, vector, and vlen().
Referenced by door_rotating_go_down(), door_rotating_go_up(), SUB_CalcAngleMoveEnt(), and train_wait().
Definition at line 336 of file subs.qc.
References angles, avelocity, entity(), finalangle, nextthink, and SUB_CalcAngleMoveDone().
Referenced by SUB_CalcAngleMove(), and SUB_CalcAngleMoveDone().
| void SUB_CalcAngleMoveEnt | ( | entity | ent, |
| vector | destangle, | ||
| float | tspeedtype, | ||
| float | tspeed, | ||
| void(entity this) | func ) |
Definition at line 387 of file subs.qc.
References entity(), SUB_CalcAngleMove(), and vector.
| void SUB_CalcMove | ( | entity | this, |
| vector | tdest, | ||
| float | tspeedtype, | ||
| float | tspeed, | ||
| void(entity this) | func ) |
Definition at line 267 of file subs.qc.
References entity(), 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 button_fire(), button_return(), door_go_down(), door_go_up(), fd_secret_move2(), fd_secret_move4(), fd_secret_move6(), fd_secret_use(), 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 204 of file subs.qc.
References entity(), finaldest, getthink, ltime, move_controller, MOVETYPE_NONE, new_pure, nextthink, NULL, objerror, origin, platmovetype, platmovetype_end, platmovetype_start, set_movetype(), setthink, SUB_CalcMove_controller_setbezier(), SUB_CalcMove_controller_think(), SUB_CalcMoveDone(), SUB_NullThink(), time, TSPEED_END, TSPEED_LINEAR, TSPEED_START, TSPEED_TIME, vector, 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 174 of file subs.qc.
References entity(), org, and vector.
Referenced by SUB_CalcMove_Bezier().
Definition at line 190 of file subs.qc.
Definition at line 114 of file subs.qc.
References animstate_endtime, animstate_starttime, cubic_speedfunc(), destvec, destvec2, entity(), finaldest, floor(), getthink, nextthink, NULL, origin, owner, PHYS_INPUT_FRAMETIME, platmovetype_end, platmovetype_start, setthink, time, vectoangles(), and vector.
Referenced by SUB_CalcMove_Bezier().
Definition at line 94 of file subs.qc.
References entity(), finaldest, nextthink, SUB_CalcMoveDone(), and velocity.
Referenced by SUB_CalcMove(), SUB_CalcMove_Bezier(), and SUB_CalcMoveDone().
| void SUB_CalcMoveEnt | ( | entity | ent, |
| vector | tdest, | ||
| float | tspeedtype, | ||
| float | tspeed, | ||
| void(entity this) | func ) |
Definition at line 321 of file subs.qc.
References entity(), SUB_CalcMove(), and vector.
Definition at line 105 of file subs.qc.
References entity(), frametime, and move_controller.
Referenced by door_blocked().
Definition at line 3 of file subs.qc.
References entity().
Referenced by pong_ball_reset(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and SUB_CalcMove_Bezier().
Definition at line 77 of file subs.qc.
References entity(), setthink, and SUB_SetFade_Think().
Referenced by LaunchDebris(), Monster_Dead_Fade(), PlayerDamage(), Portal_Remove(), respawn(), and spiderbot_blowup().
Definition at line 57 of file subs.qc.
References alpha, entity(), 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 entity(), and IS_CLIENT.
Referenced by SUB_SetFade_Think().
| float friction |
Definition at line 23 of file subs.qc.
Referenced by SUB_Friction().
| float platmovetype_turn |
Definition at line 113 of file subs.qc.
Referenced by plat_send(), spawnfunc(), train_send(), and train_wait().