|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "spawn.qh"Go to the source code of this file.
Functions | |
| void | initialize_field_db () |
| spawnfunc (target_spawn) | |
| bool | target_spawn_cancreate (entity this) |
| void | target_spawn_edit_entity (entity this, entity e, string msg, entity kt, entity t2, entity t3, entity t4, entity act, entity trigger) |
| void | target_spawn_helper_setmodel (entity this) |
| void | target_spawn_helper_setsize (entity this) |
| void | target_spawn_reset (entity this) |
| void | target_spawn_spawnfirst (entity this) |
| void | target_spawn_use (entity this, entity actor, entity trigger) |
| void | target_spawn_useon (entity e, entity this, entity actor, entity trigger) |
| void (entity this) target_spawn_spawnfunc | |
Variables | |
| entity | target_spawn_activator |
| float | target_spawn_count |
| float | target_spawn_id |
| float | target_spawn_initialized |
| float | target_spawn_spawnfunc_field |
| void initialize_field_db | ( | ) |
Definition at line 308 of file spawn.qc.
References db_get(), db_put(), next, prev, stov(), strcat(), target_spawn_initialized, target_spawn_spawnfunc_field, TemporaryDB, vector, and vtos().
Referenced by spawnfunc().
| spawnfunc | ( | target_spawn | ) |
Definition at line 342 of file spawn.qc.
References active, ACTIVE_ACTIVE, initialize_field_db(), InitializeEntity(), INITPRIO_LAST, message, strzone(), target_spawn_count, target_spawn_id, target_spawn_reset(), target_spawn_spawnfirst(), target_spawn_use(), and use.
Definition at line 252 of file spawn.qc.
References count, entity(), findfloat(), NULL, and target_spawn_id.
Referenced by target_spawn_use().
| void target_spawn_edit_entity | ( | entity | this, |
| entity | e, | ||
| string | msg, | ||
| entity | kt, | ||
| entity | t2, | ||
| entity | t3, | ||
| entity | t4, | ||
| entity | act, | ||
| entity | trigger ) |
Definition at line 36 of file spawn.qc.
References argv(), db_get(), entity(), etof, FIELD_FLOAT, FIELD_STRING, FIELD_VECTOR, ftos(), LOG_INFO, NULL, random(), stof(), stov(), strcat(), strlen, strstrofs, substring(), target_spawn_spawnfunc_field, TemporaryDB, time, tokenize_console, vector, and vtos().
Referenced by target_spawn_useon().
Definition at line 336 of file spawn.qc.
References active, ACTIVE_ACTIVE, and entity().
Referenced by spawnfunc().
Definition at line 301 of file spawn.qc.
References entity(), NULL, ON_MAPLOAD, spawnflags, target_spawn_activator, and target_spawn_use().
Referenced by spawnfunc().
Definition at line 271 of file spawn.qc.
References active, ACTIVE_ACTIVE, entity(), FOREACH_ENTITY_STRING, spawn, target, target_spawn_cancreate(), target_spawn_id, target_spawn_useon(), and targetname.
Referenced by spawnfunc(), and target_spawn_spawnfirst().
Definition at line 236 of file spawn.qc.
References entity(), find(), killtarget, message, NULL, target2, target3, target4, target_spawn_activator, target_spawn_edit_entity(), and targetname.
Referenced by target_spawn_use().
| entity target_spawn_activator |
Definition at line 22 of file spawn.qc.
Referenced by target_spawn_spawnfirst(), and target_spawn_useon().
| float target_spawn_count |
Definition at line 24 of file spawn.qc.
Referenced by spawnfunc().
| float target_spawn_id |
Definition at line 23 of file spawn.qc.
Referenced by spawnfunc(), target_spawn_cancreate(), and target_spawn_use().
| float target_spawn_initialized |
Definition at line 19 of file spawn.qc.
Referenced by initialize_field_db().
| float target_spawn_spawnfunc_field |
Definition at line 21 of file spawn.qc.
Referenced by initialize_field_db(), and target_spawn_edit_entity().