Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
location.qc
Go to the documentation of this file.
1#include "location.qh"
2#ifdef SVQC
3void target_push_init(entity this);
4
5spawnfunc(target_location)
6{
7 // location name in netname
8 // eventually support: count, teamgame selectors, line of sight?
9
10 target_push_init(this);
11
12 IL_PUSH(g_locations, this);
13}
14
15spawnfunc(info_location)
16{
17 this.message = this.netname;
18 spawnfunc_target_location(this);
19}
20#endif
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string netname
Definition powerups.qc:20
string message
Definition powerups.qc:19
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
void target_push_init(entity this)
Definition jumppads.qc:894
IntrusiveList g_locations
Definition location.qh:4
#define spawnfunc(id)
Definition spawnfunc.qh:96