|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "button.qh"Go to the source code of this file.
Functions | |
| void | button_blocked (entity this, entity blocker) |
| void | button_damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
| void | button_done (entity this) |
| void | button_fire (entity this) |
| void | button_reset (entity this) |
| void | button_return (entity this) |
| void | button_setactive (entity this, int astate) |
| void | button_touch (entity this, entity toucher) |
| void | button_use (entity this, entity actor, entity trigger) |
| void | button_wait (entity this) |
| spawnfunc (func_button) | |
Variables | |
| float | activation_time |
| float | wait_remaining |
Definition at line 78 of file button.qc.
References entity().
Referenced by spawnfunc().
| void button_damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 142 of file button.qc.
References active, ACTIVE_ACTIVE, BUTTON_DONTACCUMULATEDMG, button_fire(), DEATH_ISSPECIAL, enemy, entity(), GetResource(), HITTYPE_SPLASH, NOSPLASH, spawnflags, TakeResource(), and vector.
Referenced by spawnfunc().
Definition at line 57 of file button.qc.
References entity(), state, and STATE_BOTTOM.
Referenced by button_return().
Definition at line 84 of file button.qc.
References _sound, activation_time, ATTEN_NORM, button_wait(), CH_TRIGGER, DAMAGE_NO, entity(), max_health, noise, pos2, SetResourceExplicit(), speed, state, STATE_TOP, STATE_UP, SUB_CalcMove(), takedamage, time, TSPEED_LINEAR, and VOL_BASE.
Referenced by button_damage(), button_touch(), and button_use().
Definition at line 101 of file button.qc.
References activation_time, active, ACTIVE_ACTIVE, DAMAGE_YES, entity(), frame, func_null(), GetResource(), max_health, nextthink, pos1, SetResourceExplicit(), setthink, state, STATE_BOTTOM, takedamage, velocity, and wait_remaining.
Referenced by spawnfunc().
Definition at line 62 of file button.qc.
References activation_time, active, ACTIVE_ACTIVE, button_done(), DAMAGE_YES, entity(), frame, GetResource(), pos1, speed, state, STATE_DOWN, SUB_CalcMove(), takedamage, TSPEED_LINEAR, and wait_remaining.
Referenced by button_setactive(), and button_wait().
Definition at line 13 of file button.qc.
References activation_time, active, ACTIVE_ACTIVE, ACTIVE_NOT, ACTIVE_TOGGLE, button_return(), entity(), ltime, nextthink, setthink, time, wait, and wait_remaining.
Referenced by spawnfunc().
Definition at line 126 of file button.qc.
References active, ACTIVE_ACTIVE, button_fire(), enemy, entity(), and toucher.
Referenced by spawnfunc().
Definition at line 117 of file button.qc.
References active, ACTIVE_ACTIVE, button_fire(), enemy, and entity().
Referenced by spawnfunc().
Definition at line 45 of file button.qc.
References button_return(), enemy, entity(), frame, ltime, nextthink, NULL, setthink, state, STATE_TOP, SUB_UseTargets(), and wait.
Referenced by button_fire().
| spawnfunc | ( | func_button | ) |
Definition at line 180 of file button.qc.
References button_blocked(), button_damage(), button_reset(), button_setactive(), button_touch(), button_use(), DAMAGE_YES, drag_undraggable(), EF_LOWPRECISION, effects, fabs(), FL_NOTARGET, flags, GetResource(), InitMovingBrushTrigger(), lip, max_health, movedir, noise, origin, pos1, pos2, precache_sound(), q3compat, setblocked, SetMovedir(), settouch, size, speed, takedamage, use, and wait.
| float activation_time |
Definition at line 11 of file button.qc.
Referenced by button_fire(), button_reset(), button_return(), and button_setactive().
| float wait_remaining |
Definition at line 10 of file button.qc.
Referenced by button_reset(), button_return(), and button_setactive().