Xonotic
|
#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_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, IS_DEAD, and time.
Referenced by train_next().
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 70 of file platforms.qc.
References _sound, ATTEN_NORM, CH_TRIGGER_SINGLE, 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, 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(), RES_HEALTH, and STATE_TOP.
Definition at line 180 of file platforms.qc.
References plat_trigger_use(), plat_use(), pos1, pos2, setorigin(), SF_TRIGGER_RESET, state, STATE_BOTTOM, STATE_UP, targetname, and use.
Definition at line 21 of file platforms.qc.
References absmax, absmin, entity(), MOVETYPE_NONE, objerror(), plat_center_touch(), PLAT_LOW_TRIGGER, set_movetype(), SOLID_TRIGGER, spawn(), spawnflags, and vector().
Definition at line 130 of file platforms.qc.
References getthink, and plat_go_down().
Referenced by plat_reset().
Definition at line 168 of file platforms.qc.
References func_null(), objerror(), plat_go_down(), state, STATE_UP, and use.
Referenced by plat_reset().
Definition at line 201 of file platforms.qc.
References argv(), cubic_speedfunc_is_sane(), objerror(), stof(), and tokenize_console.
Referenced by train_next().
float platmovetype_end_default |
Definition at line 200 of file platforms.qc.
Referenced by train_next().
float platmovetype_start_default |
Definition at line 200 of file platforms.qc.
Referenced by train_next().
string sound1 |
Definition at line 178 of file platforms.qc.
string sound2 |
Definition at line 178 of file platforms.qc.