|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "train.qh"Go to the source code of this file.
Functions | |
| void | func_train_find (entity this) |
| spawnfunc (func_train) | |
| void | train_link (entity this) |
| void | train_next (entity this) |
| entity | train_next_find (entity this) |
| float | train_send (entity this, entity to, float sf) |
| void | train_use (entity this, entity actor, entity trigger) |
| void | train_wait (entity this) |
Variables | |
| entity | future_target |
| float | train_wait_turning |
Definition at line 201 of file train.qc.
References entity(), future_target, ltime, nextthink, objerror, setthink, spawnflags, target, target_random, train_link(), TRAIN_NEEDACTIVATION, train_next(), and train_next_find().
Referenced by spawnfunc().
| spawnfunc | ( | func_train | ) |
Definition at line 229 of file train.qc.
References dmg, dmgtime, dmgtime2, EF_LOWPRECISION, effects, func_train_find(), generic_plat_blocked(), InitializeEntity(), InitMovingBrushTrigger(), INITPRIO_FINDTARGET, message, message2, mins, noise, objerror, platmovetype, platmovetype_end, platmovetype_end_default, platmovetype_start, platmovetype_start_default, platmovetype_turn, precache_sound(), set_platmovetype(), setblocked, spawnflags, speed, target, time, TRAIN_NEEDACTIVATION, TRAIN_TURN, train_use(), use, and view_ofs.
Definition at line 187 of file train.qc.
References entity().
Referenced by func_train_find().
Definition at line 83 of file train.qc.
References _sound, ATTEN_IDLE, CH_TRIGGER_SINGLE, entity(), find(), future_target, noise, NULL, objerror, platmovetype_end, platmovetype_end_default, platmovetype_start, platmovetype_start_default, spawnflags, SUB_CalcMove(), SUB_CalcMove_Bezier(), target, target_random, targetname, TRAIN_CURVE, train_next_find(), train_wait(), TSPEED_LINEAR, vector, view_ofs, VOL_BASE, and wait.
Referenced by dynlight_find_path(), func_train_find(), train_use(), and train_wait().
Definition at line 66 of file train.qc.
References entity(), find(), NULL, RandomSelection_AddEnt, RandomSelection_chosen_ent, RandomSelection_Init(), target, target_random, and targetname.
Referenced by func_train_find(), and train_next().
Definition at line 143 of file train.qc.
References curvetarget, dmg, dmgtime, entity(), height, lip, mangle, model, MSG_ENTITY, platmovetype, platmovetype_turn, pos1, pos2, SF_TRIGGER_INIT, SF_TRIGGER_RESET, size, spawnflags, speed, state, trigger_common_write(), view_ofs, wait, WriteByte(), WriteHeader, WriteShort(), and WriteString().
Definition at line 192 of file train.qc.
References entity(), find(), func_null(), future_target, ltime, nextthink, NULL, setthink, targetname, train_next(), and use.
Referenced by spawnfunc(), and train_wait().
Definition at line 8 of file train.qc.
References ang, CH_TRIGGER_SINGLE, enemy, entity(), find(), func_null(), future_target, ltime, MSG_BROADCAST, nextthink, noise, NULL, origin, platmovetype_turn, setthink, spawnflags, stopsoundto(), SUB_CalcAngleMove(), SUB_UseTargets(), targetname, time, TRAIN_CURVE, TRAIN_NEEDACTIVATION, train_next(), train_use(), train_wait(), train_wait_turning, TSPEED_TIME, use, vectoangles(), vector, view_ofs, and wait.
Referenced by train_next(), and train_wait().
| entity future_target |
Definition at line 3 of file train.qc.
Referenced by func_train_find(), train_next(), train_use(), and train_wait().
| float train_wait_turning |
Definition at line 2 of file train.qc.
Referenced by train_wait().