Properly support team field on trigger_multiple
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / spawnpoints.qh
1 #pragma once
2
3 // spawnpoint prios
4 const int SPAWN_PRIO_NEAR_TEAMMATE_FOUND = 200;
5 const int SPAWN_PRIO_NEAR_TEAMMATE_SAMETEAM = 100;
6 const int SPAWN_PRIO_RACE_PREVIOUS_SPAWN = 50;
7 const int SPAWN_PRIO_GOOD_DISTANCE = 10;
8
9 .vector spawnpoint_score;
10 float spawnpoint_nag;
11 bool SpawnEvent_Send(entity this, entity to, int sf);
12 entity Spawn_FilterOutBadSpots(entity this, entity firstspot, float mindist, float teamcheck);
13 entity SelectSpawnPoint(entity this, bool anypoint);
14 spawnfunc(info_player_deathmatch);
15 void spawnpoint_use(entity this, entity actor, entity trigger);