|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "speed.qh"Go to the source code of this file.
Macros | |
| #define | ARRAY_AS_VECTOR(a) |
| #define | VECTOR_TO_ARRAY(a, e) |
Functions | |
| spawnfunc (target_speed) | |
| vector | target_speed_calculatevelocity (entity this, float speed, entity pushed_entity) |
| void | target_speed_link (entity this) |
| void | target_speed_reset (entity this) |
| bool | target_speed_send (entity this, entity to, float sf) |
| void | target_speed_use (entity this, entity actor, entity trigger) |
| #define ARRAY_AS_VECTOR | ( | a | ) |
Definition at line 5 of file speed.qc.
Referenced by target_speed_calculatevelocity().
| #define VECTOR_TO_ARRAY | ( | a, | |
| e ) |
Definition at line 6 of file speed.qc.
Referenced by target_speed_calculatevelocity().
| spawnfunc | ( | target_speed | ) |
Definition at line 155 of file speed.qc.
References active, ACTIVE_ACTIVE, generic_netlinked_setactive(), GetField_fullspawndata(), speed, target_speed_link(), target_speed_reset(), target_speed_use(), and use.
Definition at line 7 of file speed.qc.
References ARRAY_AS_VECTOR, boolean, copysign(), entity(), fabs(), max(), normalize(), spawnflags, speed, SPEED_ADD, SPEED_LAUNCHER, SPEED_NEGATIVE_X, SPEED_NEGATIVE_Y, SPEED_NEGATIVE_Z, SPEED_PERCENTAGE, SPEED_POSITIVE_X, SPEED_POSITIVE_Y, SPEED_POSITIVE_Z, STAT, vector, VECTOR_TO_ARRAY, and vlen().
Referenced by target_speed_use().
Definition at line 182 of file speed.qc.
References entity(), Net_LinkEntity(), and target_speed_send().
Referenced by spawnfunc().
Definition at line 141 of file speed.qc.
References active, ACTIVE_ACTIVE, and entity().
Referenced by spawnfunc().
Definition at line 170 of file speed.qc.
References active, entity(), MSG_ENTITY, spawnflags, speed, targetname, WriteByte(), WriteCoord(), WriteHeader, WriteShort(), and WriteString().
Referenced by target_speed_link().
Definition at line 133 of file speed.qc.
References active, ACTIVE_ACTIVE, entity(), speed, target_speed_calculatevelocity(), target_speed_use(), this, and void.
Referenced by spawnfunc(), and target_speed_use().