Xonotic
|
Go to the source code of this file.
Functions | |
void | door_blocked (entity this, entity blocker) |
bool | door_check_keys (entity door, entity player) |
void | door_damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
void | door_fire (entity this, entity actor, entity trigger) |
void | door_generic_plat_blocked (entity this, entity blocker) |
void | door_go_down (entity this) |
void | door_go_up (entity this, entity actor, entity trigger) |
void | door_hit_bottom (entity this) |
void | door_hit_top (entity this) |
void | door_init_startopen (entity this) |
void | door_reset (entity this) |
void | door_spawnfield (entity this, vector fmins, vector fmaxs) |
void | door_touch (entity this, entity toucher) |
void | door_trigger_touch (entity this, entity toucher) |
void | door_use (entity this, entity actor, entity trigger) |
void | LinkDoors (entity this) |
bool | LinkDoors_isconnected (entity e1, entity e2, entity pass) |
entity | LinkDoors_nextent (entity cur, entity near, entity pass) |
Variables | |
float | door_finished |
Definition at line 28 of file door.qc.
References classname, Damage(), DAMAGE_NO, DAMAGE_YES, dmg, DMG_NOWEP, DOOR_CRUSH, door_go_down(), door_go_up(), IS_DEAD, NULL, spawnflags, state, STATE_DOWN, and wait.
Referenced by door_reset().
Definition at line 155 of file door.qc.
References entity(), IS_PLAYER, PS, and time.
Referenced by door_trigger_touch().
void door_damage | ( | entity | this, |
entity | inflictor, | ||
entity | attacker, | ||
float | damage, | ||
int | deathtype, | ||
.entity | weaponentity, | ||
vector | hitloc, | ||
vector | force | ||
) |
Definition at line 263 of file door.qc.
References DAMAGE_NO, DEATH_ISSPECIAL, door_use(), GetResource(), HITTYPE_SPLASH, itemkeys, NOSPLASH, NULL, owner, RES_HEALTH, SetResourceExplicit(), spawnflags, and TakeResource().
Referenced by door_reset().
Definition at line 211 of file door.qc.
References door_go_down(), door_go_up(), DOOR_ROTATING_BIDIR, DOOR_ROTATING_BIDIR_IN_DOWN, DOOR_TOGGLE, entity(), NULL, objerror(), owner, spawnflags, state, STATE_BOTTOM, STATE_DOWN, STATE_TOP, and STATE_UP.
Referenced by door_use().
Definition at line 313 of file door.qc.
References Damage(), DAMAGE_NO, DAMAGE_YES, dmg, DMG_NOWEP, DOOR_CRUSH, IS_DEAD, spawnflags, state, STATE_DOWN, and wait.
Definition at line 109 of file door.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, DAMAGE_YES, door_hit_bottom(), max_health, noise2, pos1, RES_HEALTH, SetResourceExplicit(), speed, state, STATE_DOWN, SUB_CalcMove(), takedamage, TSPEED_LINEAR, and VOL_BASE.
Referenced by door_blocked(), door_fire(), and door_hit_top().
Definition at line 123 of file door.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, door_hit_top(), ltime, message, nextthink, noise2, pos2, speed, state, STATE_TOP, STATE_UP, SUB_CalcMove(), SUB_UseTargets(), TSPEED_LINEAR, VOL_BASE, and wait.
Referenced by door_blocked(), and door_fire().
Definition at line 102 of file door.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, noise1, state, STATE_BOTTOM, and VOL_BASE.
Referenced by door_go_down().
Definition at line 85 of file door.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, classname, door_go_down(), DOOR_TOGGLE, ltime, nextthink, noise1, setthink, spawnflags, state, STATE_TOP, VOL_BASE, and wait.
Referenced by door_go_up().
Definition at line 602 of file door.qc.
References origin, pos1, pos2, setorigin(), and SF_TRIGGER_UPDATE.
Referenced by door_reset().
Definition at line 613 of file door.qc.
References classname, DAMAGE_YES, dmg, door_blocked(), DOOR_CRUSH, door_damage(), door_init_startopen(), DOOR_NONSOLID, DOOR_START_OPEN, door_touch(), door_use(), EF_LOWPRECISION, effects, entity(), fabs(), func_null(), GetField_fullspawndata(), GetResource(), InitializeEntity(), ITEM_KEY_BIT, itemkeys, items, LinkDoors(), lip, ltime, max(), max_health, message, move_time, movedir, MOVETYPE_PUSH, NET_HANDLE, nextthink, noise, noise1, noise2, noise3, origin, pos1, pos2, precache_sound(), q3compat, ReadString, RES_HEALTH, set_movetype(), setorigin(), setthink, SF_TRIGGER_INIT, SF_TRIGGER_RESET, SF_TRIGGER_UPDATE, size, solid, SOLID_BSP, SOLID_NOT, sounds, spawnflags, SPAWNFLAGS_GOLD_KEY, SPAWNFLAGS_SILVER_KEY, spawnfunc(), speed, state, STATE_BOTTOM, strzone(), takedamage, time, use, velocity, and wait.
Definition at line 380 of file door.qc.
References door_trigger_touch(), entity(), MOVETYPE_NONE, set_movetype(), SOLID_TRIGGER, and vector().
Referenced by LinkDoors().
Definition at line 294 of file door.qc.
References centerprint(), IS_CLIENT, IS_PLAYER, owner, and time.
Referenced by door_reset().
Definition at line 358 of file door.qc.
References door_check_keys(), door_finished, door_use(), GetResource(), IS_CLIENT, IS_DEAD, NULL, owner, RES_HEALTH, and time.
Referenced by door_spawnfield().
Definition at line 255 of file door.qc.
References door_fire(), and owner.
Referenced by door_damage(), door_reset(), and door_trigger_touch().
Definition at line 429 of file door.qc.
References absmax, absmin, classname, DOOR_DONT_LINK, door_spawnfield(), enemy, entity(), etos(), FindConnectedComponent(), GetResource(), items, LinkDoors_isconnected(), LinkDoors_nextent(), lip, LOG_TRACE, ltime, message, model, NULL, origin, owner, pos1, pos2, REGISTER_NET_LINKED, RES_HEALTH, SetResourceExplicit(), SF_TRIGGER_INIT, SF_TRIGGER_RESET, SF_TRIGGER_UPDATE, size, spawnflags, speed, state, targetname, to, vector(), wait, WriteByte(), WriteCoord(), WriteShort(), and WriteString().
Referenced by door_reset().
Definition at line 413 of file door.qc.
Referenced by LinkDoors().
Definition at line 405 of file door.qc.
References classname, DOOR_DONT_LINK, and find().
Referenced by LinkDoors().
float door_finished |
Definition at line 284 of file door.qc.
Referenced by door_trigger_touch().