|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
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, entity(), GetResource(), IS_DEAD, IS_PLAYER, plat_go_up(), STATE_BOTTOM, STATE_TOP, and toucher.
Referenced by plat_spawn_inside_trigger().
Definition at line 138 of file platforms.qc.
References CRUSH, Damage(), DAMAGE_NO, dmg, DMG_NOWEP, entity(), IS_DEAD, plat_go_down(), plat_go_up(), spawnflags, state, STATE_DOWN, and STATE_UP.
Referenced by spawnfunc().
Definition at line 76 of file platforms.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, entity(), 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, entity(), noise, plat_hit_top(), pos1, speed, state, STATE_UP, SUB_CalcMove(), TSPEED_LINEAR, and VOL_BASE.
Referenced by plat_center_touch(), plat_crush(), and plat_target_use().
Definition at line 111 of file platforms.qc.
References enemy, entity(), GetResource(), IS_PLAYER, plat_go_down(), STATE_TOP, and toucher.
Definition at line 130 of file platforms.qc.
References entity(), getthink, and plat_go_down().
Referenced by plat_reset().
| float dmg |
Definition at line 6 of file platforms.qh.
| float dmgtime |
Definition at line 7 of file platforms.qh.
Referenced by generic_plat_blocked(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and train_send().
| float dmgtime2 |
Definition at line 8 of file platforms.qh.
Referenced by generic_plat_blocked(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and spawnfunc().
| float phase |
Definition at line 10 of file platforms.qh.
Referenced by multivibrator_send().
Definition at line 4 of file platforms.qh.
Referenced by plat_spawn_inside_trigger().