|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "platforms.qh"Go to the source code of this file.
Functions | |
| void | generic_plat_blocked (entity this, entity blocker) |
| 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_hit_bottom (entity this) |
| void | plat_hit_top (entity this) |
| void | plat_outside_touch (entity this, entity toucher) |
| void | plat_reset (entity this) |
| void | plat_spawn_inside_trigger (entity this) |
| void | plat_target_use (entity this, entity actor, entity trigger) |
| void | plat_trigger_use (entity this, entity actor, entity trigger) |
| void | plat_use (entity this, entity actor, entity trigger) |
| bool | set_platmovetype (entity e, string s) |
Variables | |
| float | platmovetype_end_default |
| float | platmovetype_start_default |
| string | sound1 |
| string | sound2 |
Definition at line 3 of file platforms.qc.
References Damage(), DAMAGE_NO, dmg, DMG_NOWEP, dmgtime, dmgtime2, entity(), IS_DEAD, and time.
Referenced by spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and spawnfunc().
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 70 of file platforms.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, entity(), noise1, state, STATE_BOTTOM, and VOL_BASE.
Referenced by plat_go_down().
Definition at line 61 of file platforms.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, entity(), ltime, nextthink, noise1, plat_go_down(), setthink, state, STATE_TOP, and VOL_BASE.
Referenced by plat_go_up().
Definition at line 111 of file platforms.qc.
References enemy, entity(), GetResource(), IS_PLAYER, plat_go_down(), STATE_TOP, and toucher.
Definition at line 188 of file platforms.qc.
References entity(), plat_target_use(), plat_trigger_use(), plat_use(), pos1, pos2, Q3COMPAT_COMMON, SendFlags, SF_TRIGGER_RESET, state, STATE_BOTTOM, STATE_UP, targetname, and use.
Referenced by spawnfunc().
Definition at line 21 of file platforms.qc.
References absmax, absmin, entity(), MOVETYPE_NONE, objerror, plat_center_touch(), PLAT_LOW_TRIGGER, set_movetype(), settouch, SOLID_TRIGGER, spawn, spawnflags, and vector.
Referenced by plat_delayedinit().
Definition at line 176 of file platforms.qc.
References entity(), ltime, nextthink, plat_go_up(), state, STATE_TOP, and STATE_UP.
Referenced by plat_reset().
Definition at line 130 of file platforms.qc.
References entity(), getthink, and plat_go_down().
Referenced by plat_reset().
Definition at line 168 of file platforms.qc.
References entity(), func_null(), objerror, plat_go_down(), state, STATE_UP, and use.
Referenced by plat_reset().
Definition at line 209 of file platforms.qc.
References argv(), cubic_speedfunc_is_sane(), entity(), objerror, stof(), and tokenize_console.
Referenced by spawnfunc(), and spawnfunc().
| float platmovetype_end_default |
Definition at line 208 of file platforms.qc.
Referenced by spawnfunc(), and train_next().
| float platmovetype_start_default |
Definition at line 208 of file platforms.qc.
Referenced by spawnfunc(), and train_next().
| string sound1 |
Definition at line 186 of file platforms.qc.
Referenced by spawnfunc().
| string sound2 |
Definition at line 186 of file platforms.qc.
Referenced by spawnfunc().