|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "door_secret.qh"Go to the source code of this file.
Functions | |
| void | fd_secret_damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
| void | fd_secret_done (entity this) |
| void | fd_secret_move1 (entity this) |
| void | fd_secret_move2 (entity this) |
| void | fd_secret_move3 (entity this) |
| void | fd_secret_move4 (entity this) |
| void | fd_secret_move5 (entity this) |
| void | fd_secret_move6 (entity this) |
| void | fd_secret_use (entity this, entity actor, entity trigger) |
| void | secret_blocked (entity this, entity blocker) |
| void | secret_reset (entity this) |
| void | secret_touch (entity this, entity toucher) |
| spawnfunc (func_door_secret) | |
Variables | |
| float | door_finished |
| void fd_secret_damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 63 of file door_secret.qc.
References entity(), fd_secret_use(), NULL, and vector.
Referenced by spawnfunc().
Definition at line 121 of file door_secret.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, DAMAGE_YES, DOOR_SECRET_YES_SHOOT, entity(), noise3, SetResourceExplicit(), spawnflags, takedamage, and VOL_BASE.
Referenced by fd_secret_move6().
Definition at line 69 of file door_secret.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, entity(), fd_secret_move2(), ltime, nextthink, noise3, setthink, and VOL_BASE.
Referenced by fd_secret_use().
Definition at line 78 of file door_secret.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, dest2, entity(), fd_secret_move3(), noise2, speed, SUB_CalcMove(), TSPEED_LINEAR, and VOL_BASE.
Referenced by fd_secret_move1().
Definition at line 86 of file door_secret.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, DOOR_SECRET_OPEN_ONCE, entity(), fd_secret_move4(), ltime, nextthink, noise3, setthink, spawnflags, VOL_BASE, and wait.
Referenced by fd_secret_move2().
Definition at line 98 of file door_secret.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, dest1, entity(), fd_secret_move5(), noise2, speed, SUB_CalcMove(), TSPEED_LINEAR, and VOL_BASE.
Referenced by fd_secret_move3().
Definition at line 106 of file door_secret.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, entity(), fd_secret_move6(), ltime, nextthink, noise3, setthink, and VOL_BASE.
Referenced by fd_secret_move4().
Definition at line 114 of file door_secret.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, entity(), fd_secret_done(), noise2, oldorigin, speed, SUB_CalcMove(), TSPEED_LINEAR, and VOL_BASE.
Referenced by fd_secret_move5().
Definition at line 11 of file door_secret.qc.
References _sound, active, ACTIVE_ACTIVE, ATTEN_NORM, bot_attack, CH_TRIGGER_SINGLE, dest1, dest2, DOOR_SECRET_1ST_DOWN, DOOR_SECRET_1ST_LEFT, entity(), fabs(), fd_secret_move1(), g_bot_targets, IL_PUSH(), ltime, makevectors, mangle, message, nextthink, noise1, noise2, oldorigin, origin, SetResourceExplicit(), size, spawnflags, speed, SUB_CalcMove(), SUB_UseTargets(), t_length, t_width, TSPEED_LINEAR, v_forward, v_right, v_up, velocity, and VOL_BASE.
Referenced by fd_secret_damage(), and spawnfunc().
Definition at line 135 of file door_secret.qc.
References door_finished, entity(), and time.
Referenced by spawnfunc().
Definition at line 169 of file door_secret.qc.
References active, ACTIVE_ACTIVE, DAMAGE_YES, DOOR_SECRET_YES_SHOOT, entity(), func_null(), nextthink, oldorigin, SetResourceExplicit(), setthink, spawnflags, and takedamage.
Referenced by spawnfunc().
Definition at line 150 of file door_secret.qc.
References active, ACTIVE_ACTIVE, centerprint(), door_finished, entity(), IS_CLIENT, message, noise, play2(), time, and toucher.
Referenced by spawnfunc().
| spawnfunc | ( | func_door_secret | ) |
Definition at line 199 of file door_secret.qc.
References active, ACTIVE_ACTIVE, angles, classname, DAMAGE_YES, dmg, DOOR_SECRET_YES_SHOOT, EF_LOWPRECISION, effects, fd_secret_damage(), fd_secret_use(), InitMovingBrushTrigger(), mangle, noise, noise1, noise2, noise3, oldorigin, origin, precache_sound(), secret_blocked(), secret_reset(), secret_touch(), setblocked, SetResourceExplicit(), settouch, sounds, spawnflags, speed, takedamage, targetname, use, and wait.
| float door_finished |
Definition at line 133 of file door_secret.qc.