|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Variables | |
| float | door_finished |
Definition at line 28 of file door.qc.
References classname, Damage(), DAMAGE_NO, dmg, DMG_NOWEP, DOOR_CRUSH, door_go_down(), door_go_up(), door_rotating_go_down(), door_rotating_go_up(), entity(), IS_DEAD, move_controller, NULL, Q3_DOOR_CRUSHER, Q3COMPAT_COMMON, spawnflags, state, STATE_DOWN, and SUB_CalcMovePause().
Referenced by spawnfunc(), and spawnfunc().
Definition at line 160 of file door.qc.
References entity(), IS_PLAYER, item_keys_keylist(), play2(), PS, Send_Notification(), 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 265 of file door.qc.
References DAMAGE_NO, DEATH_ISSPECIAL, door_use(), entity(), GetResource(), HITTYPE_SPLASH, itemkeys, NOSPLASH, NULL, owner, SetResourceExplicit(), spawnflags, TakeResource(), and vector.
Referenced by door_init_shared().
Definition at line 319 of file door.qc.
References Damage(), DAMAGE_NO, DAMAGE_YES, dmg, DMG_NOWEP, DOOR_CRUSH, door_rotating_go_down(), door_rotating_go_up(), entity(), IS_DEAD, spawnflags, state, STATE_DOWN, and wait.
Definition at line 114 of file door.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, DAMAGE_YES, door_hit_bottom(), entity(), max_health, noise2, pos1, SetResourceExplicit(), speed, state, STATE_DOWN, SUB_CalcMove(), takedamage, TSPEED_LINEAR, and VOL_BASE.
Referenced by door_blocked(), door_hit_top(), and door_use().
Definition at line 128 of file door.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, door_hit_top(), entity(), 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_use().
Definition at line 107 of file door.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, entity(), noise1, state, STATE_BOTTOM, and VOL_BASE.
Referenced by door_go_down().
Definition at line 90 of file door.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, classname, door_go_down(), door_rotating_go_down(), DOOR_TOGGLE, entity(), ltime, nextthink, noise1, setthink, spawnflags, state, STATE_TOP, VOL_BASE, and wait.
Referenced by door_go_up().
Definition at line 628 of file door.qc.
References BIT, entity(), itemkeys, spawnflags, SPAWNFLAGS_GOLD_KEY, and SPAWNFLAGS_SILVER_KEY.
Referenced by door_reset(), and spawnfunc().
Definition at line 667 of file door.qc.
References autocvar_sv_doors_always_open, DAMAGE_YES, dmg, DOOR_CRUSH, door_damage(), entity(), FindFileInMapPack(), GetField_fullspawndata(), GetResource(), items, lip, max_health, message, message2, noise, noise1, noise2, noise3, precache_sound(), q3compat, sounds, spawnflags, state, STATE_BOTTOM, strzone(), takedamage, targetname, and wait.
Referenced by spawnfunc(), and spawnfunc().
Definition at line 638 of file door.qc.
References entity(), origin, pos1, pos2, SendFlags, and SF_TRIGGER_UPDATE.
Referenced by spawnfunc().
| void door_link | ( | ) |
Definition at line 623 of file door.qc.
Referenced by LinkDoors().
Definition at line 649 of file door.qc.
References active, ACTIVE_ACTIVE, door_init_keys(), entity(), func_null(), nextthink, pos1, SendFlags, setthink, SF_TRIGGER_RESET, state, STATE_BOTTOM, and velocity.
Referenced by spawnfunc().
Definition at line 581 of file door.qc.
References classname, entity(), lip, ltime, model, MSG_ENTITY, origin, pos1, pos2, SF_TRIGGER_INIT, SF_TRIGGER_RESET, SF_TRIGGER_UPDATE, size, spawnflags, speed, state, trigger_common_write(), wait, WriteByte(), WriteCoord(), WriteHeader, WriteShort(), and WriteString().
Definition at line 401 of file door.qc.
References door_trigger_touch(), entity(), MOVETYPE_NONE, set_movetype(), settouch, SOLID_TRIGGER, and vector.
Referenced by LinkDoors().
Definition at line 296 of file door.qc.
References ACTIVE_ACTIVE, centerprint(), entity(), IS_CLIENT, IS_PLAYER, owner, play2(), time, and toucher.
Referenced by spawnfunc(), and spawnfunc().
Definition at line 364 of file door.qc.
References ACTIVE_ACTIVE, door_check_keys(), door_use(), entity(), FL_PROJECTILE, GetResource(), IS_CLIENT, IS_DEAD, NULL, owner, STATE_TOP, STATE_UP, and toucher.
Referenced by door_spawnfield().
Definition at line 216 of file door.qc.
References ACTIVE_ACTIVE, door_go_down(), door_go_up(), DOOR_ROTATING_BIDIR, DOOR_ROTATING_BIDIR_IN_DOWN, door_rotating_go_down(), door_rotating_go_up(), DOOR_TOGGLE, entity(), NULL, owner, spawnflags, state, STATE_BOTTOM, STATE_DOWN, STATE_TOP, and STATE_UP.
Referenced by door_damage(), door_trigger_touch(), spawnfunc(), and spawnfunc().
Definition at line 454 of file door.qc.
References absmax, absmin, DOOR_DONT_LINK, door_link(), door_spawnfield(), enemy, entity(), etos(), FindConnectedComponent(), GetResource(), items, LinkDoors_isconnected(), LinkDoors_nextent(), LOG_TRACE, message, NULL, owner, Q3COMPAT_COMMON, SetResourceExplicit(), spawnflags, targetname, team, and vector.
Referenced by spawnfunc(), and spawnfunc().
Definition at line 435 of file door.qc.
References entity(), pass, and Q3COMPAT_COMMON.
Referenced by LinkDoors().
Definition at line 426 of file door.qc.
References classname, DOOR_DONT_LINK, entity(), find(), pass, and Q3COMPAT_COMMON.
Referenced by LinkDoors().
| spawnfunc | ( | func_door | ) |
Definition at line 772 of file door.qc.
References active, ACTIVE_ACTIVE, autocvar_sv_doors_always_open, classname, dmg, door_blocked(), door_init_keys(), door_init_shared(), door_init_startopen(), DOOR_NONSOLID, door_reset(), DOOR_START_OPEN, door_touch(), door_use(), EF_LOWPRECISION, effects, fabs(), GetField_fullspawndata(), InitializeEntity(), InitMovingBrushTrigger(), INITPRIO_LINKDOORS, INITPRIO_SETLOCATION, LinkDoors(), lip, max(), movedir, origin, pos1, pos2, q3compat, setblocked, SetMovedir(), settouch, size, solid, SOLID_NOT, spawnflags, speed, team, use, and vector.
| float door_finished |
Definition at line 286 of file door.qc.
Referenced by secret_blocked(), and secret_touch().