Xonotic
|
Go to the source code of this file.
Typedefs | |
using | spawn_evalfunc_t = vector(entity this, entity player, entity spot, vector current) |
Functions | |
entity | SelectSpawnPoint (entity this, bool anypoint) |
entity | Spawn_FilterOutBadSpots (entity this, entity firstspot, float mindist, float teamcheck, bool targetcheck) |
bool | SpawnEvent_Send (entity this, entity to, int sf) |
spawnfunc (info_player_deathmatch) | |
void | spawnpoint_use (entity this, entity actor, entity trigger) |
STATIC_INIT (g_spawnpoints) | |
Definition at line 27 of file spawnpoints.qh.
Definition at line 329 of file spawnpoints.qc.
References autocvar_g_spawn_furthest, autocvar_g_spawn_useallspawns, autocvar_spawn_debug, BIT, classname, entity(), error(), find(), g_spawnpoints, GotoNextMap(), have_team_spawns, have_team_spawns_forteams, IL_EACH, IL_FIRST, NULL, prev, random(), some_spawn_has_been_used, Spawn_FilterOutBadSpots(), Spawn_WeightedPoint(), team, testspawn_checked, and testspawn_point.
Referenced by buff_Respawn(), Damage(), ka_RespawnBall(), PutObserverInServer(), and PutPlayerInServer().
entity Spawn_FilterOutBadSpots | ( | entity | this, |
entity | firstspot, | ||
float | mindist, | ||
float | teamcheck, | ||
bool | targetcheck | ||
) |
Definition at line 281 of file spawnpoints.qc.
References entity(), NULL, and Spawn_ScoreAll().
Referenced by SelectSpawnPoint(), and trigger_race_checkpoint_verify().
Definition at line 32 of file spawnpoints.qc.
References autocvar_g_spawn_alloweffects, etof(), IS_SPEC, owner, and WriteByte().
Referenced by PutPlayerInServer().
spawnfunc | ( | info_player_deathmatch | ) |
Definition at line 166 of file spawnpoints.qc.
References g_spawnpoints, IL_PUSH(), and relocate_spawnpoint().
Definition at line 65 of file spawnpoints.qc.
References have_team_spawns, some_spawn_has_been_used, team, and teamplay.
Referenced by relocate_spawnpoint().
STATIC_INIT | ( | g_spawnpoints | ) |
bool autocvar_g_spawn_alloweffects |
Definition at line 3 of file spawnpoints.qh.
Referenced by SpawnEvent_Send().
float autocvar_g_spawn_furthest |
Definition at line 4 of file spawnpoints.qh.
Referenced by SelectSpawnPoint().
bool autocvar_g_spawn_useallspawns |
Definition at line 5 of file spawnpoints.qh.
Referenced by link_spawnpoint(), SelectSpawnPoint(), and WinningCondition_RanOutOfSpawns().
bool autocvar_g_spawnpoints_auto_move_out_of_solid |
Definition at line 6 of file spawnpoints.qh.
Referenced by relocate_spawnpoint().
float autocvar_r_showbboxes |
Definition at line 7 of file spawnpoints.qh.
Referenced by relocate_spawnpoint().
IntrusiveList g_spawnpoints |
Definition at line 32 of file spawnpoints.qh.
Referenced by MoveToRandomLocationWithinBounds(), SelectSpawnPoint(), spawnfunc(), waypoint_unreachable(), and WinningCondition_RanOutOfSpawns().
int have_team_spawns |
Definition at line 16 of file spawnpoints.qh.
Referenced by GameRules_spawning_teams(), link_spawnpoint(), relocate_spawnpoint(), SelectSpawnPoint(), spawnpoint_use(), SV_OnEntityPreSpawnFunction(), and WinningCondition_RanOutOfSpawns().
int have_team_spawns_forteams |
Definition at line 17 of file spawnpoints.qh.
Referenced by relocate_spawnpoint(), and SelectSpawnPoint().
int restriction |
Definition at line 30 of file spawnpoints.qh.
bool some_spawn_has_been_used |
Definition at line 15 of file spawnpoints.qh.
Referenced by SelectSpawnPoint(), spawnpoint_use(), and WinningCondition_RanOutOfSpawns().
spawn_evalfunc_t spawn_evalfunc |
Definition at line 28 of file spawnpoints.qh.
Referenced by spawnfunc().
const int SPAWN_PRIO_GOOD_DISTANCE = 10 |
Definition at line 13 of file spawnpoints.qh.
Referenced by Spawn_Score().
const int SPAWN_PRIO_NEAR_TEAMMATE_FOUND = 200 |
Definition at line 10 of file spawnpoints.qh.
Referenced by MUTATOR_HOOKFUNCTION().
const int SPAWN_PRIO_NEAR_TEAMMATE_SAMETEAM = 100 |
Definition at line 11 of file spawnpoints.qh.
Referenced by MUTATOR_HOOKFUNCTION().
const int SPAWN_PRIO_RACE_PREVIOUS_SPAWN = 50 |
Definition at line 12 of file spawnpoints.qh.
Referenced by trigger_race_checkpoint_spawn_evalfunc().
float spawnpoint_nag |
Definition at line 20 of file spawnpoints.qh.
Referenced by relocate_spawnpoint().
vector spawnpoint_score |
Definition at line 19 of file spawnpoints.qh.