Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
location.qc File Reference
#include "location.qh"
Include dependency graph for location.qc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 spawnfunc (info_location)
 spawnfunc (target_location)
void target_push_init (entity this)

Function Documentation

◆ spawnfunc() [1/2]

spawnfunc ( info_location )

Definition at line 15 of file location.qc.

16{
17 this.message = this.netname;
18 spawnfunc_target_location(this);
19}
string netname
Definition powerups.qc:20
string message
Definition powerups.qc:19

References message, and netname.

◆ spawnfunc() [2/2]

spawnfunc ( target_location )

Definition at line 5 of file location.qc.

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}
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

References g_locations, IL_PUSH(), and target_push_init().

◆ target_push_init()

void target_push_init ( entity this)

Definition at line 894 of file jumppads.qc.

895{
896 this.mangle = this.angles;
897 setorigin(this, this.origin);
898 target_push_link(this);
899}
vector origin
ent angles
Definition ent_cs.qc:121
void target_push_link(entity this)
Definition jumppads.qc:887
vector mangle
Definition subs.qh:51

References angles, entity(), mangle, origin, and target_push_link().

Referenced by spawnfunc(), spawnfunc(), spawnfunc(), and spawnfunc().