Xonotic
|
Go to the source code of this file.
Functions | |
void | plat_center_touch (entity this, entity toucher) |
void | plat_crush (entity this, entity blocker) |
void | plat_go_down (entity this) |
void | plat_go_up (entity this) |
void | plat_outside_touch (entity this, entity toucher) |
void | plat_trigger_use (entity this, entity actor, entity trigger) |
Variables | |
float | dmg |
float | dmgtime |
float | dmgtime2 |
float | phase |
const int | PLAT_LOW_TRIGGER = BIT(0) |
Definition at line 90 of file platforms.qc.
References enemy, GetResource(), IS_DEAD, IS_PLAYER, plat_go_up(), RES_HEALTH, STATE_BOTTOM, and STATE_TOP.
Referenced by plat_spawn_inside_trigger().
Definition at line 138 of file platforms.qc.
References CRUSH, Damage(), DAMAGE_NO, dmg, DMG_NOWEP, IS_DEAD, plat_go_down(), plat_go_up(), spawnflags, state, STATE_DOWN, and STATE_UP.
Definition at line 76 of file platforms.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, noise, plat_hit_bottom(), pos2, speed, state, STATE_DOWN, SUB_CalcMove(), TSPEED_LINEAR, and VOL_BASE.
Referenced by plat_crush(), plat_hit_top(), plat_outside_touch(), plat_trigger_use(), and plat_use().
Definition at line 83 of file platforms.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, noise, plat_hit_top(), pos1, speed, state, STATE_UP, SUB_CalcMove(), TSPEED_LINEAR, and VOL_BASE.
Referenced by plat_center_touch(), and plat_crush().
Definition at line 111 of file platforms.qc.
References enemy, entity(), GetResource(), IS_PLAYER, plat_go_down(), RES_HEALTH, and STATE_TOP.
Definition at line 130 of file platforms.qc.
References getthink, and plat_go_down().
Referenced by plat_reset().
float dmg |
Definition at line 6 of file platforms.qh.
Referenced by assault_objective_decrease_use(), buff_Vengeance_DelayedDamage(), CL_ExteriorWeaponentity_Think(), door_blocked(), door_generic_plat_blocked(), door_reset(), generic_plat_blocked(), instagib_countdown(), plat_crush(), spawnfunc(), STATIC_INIT(), and train_next().
float dmgtime |
Definition at line 7 of file platforms.qh.
Referenced by generic_plat_blocked(), and train_next().
float dmgtime2 |
Definition at line 8 of file platforms.qh.
Referenced by generic_plat_blocked(), and train_next().
float phase |
Definition at line 10 of file platforms.qh.
Definition at line 4 of file platforms.qh.
Referenced by plat_spawn_inside_trigger().