UFO: Alien Invasion
Loading...
Searching...
No Matches
level_locals_t Struct Reference

this structure is cleared as each map is entered More...

#include <g_local.h>

Collaboration diagram for level_locals_t:
Collaboration graph

Data Fields

int framenum
float time
char mapname [MAX_QPATH]
char * mapEndCommand
bool routed
bool day
bool hurtAliens
bool nextMapSwitch
float intermissionTime
int winningTeam
float roundstartTime
int numplayers
int activeTeam
int teamOfs
int nextEndRound
int actualRound
pathing_tpathingMap
int noRandomSpawn
int noEquipment
int initialAlienActorsSpawned
unsigned num_spawned [MAX_TEAMS]
unsigned num_kills [MAX_TEAMS+1][MAX_TEAMS]
unsigned num_stuns [MAX_TEAMS+1][MAX_TEAMS]
byte num_alive [MAX_TEAMS]
byte num_spawnpoints [MAX_TEAMS]
byte num_2x2spawnpoints [MAX_TEAMS]
Edictai_waypointList

Detailed Description

this structure is cleared as each map is entered

Definition at line 80 of file g_local.h.

Field Documentation

◆ activeTeam

int level_locals_t::activeTeam

Definition at line 101 of file g_local.h.

◆ actualRound

int level_locals_t::actualRound

the current running round counter

Definition at line 104 of file g_local.h.

◆ ai_waypointList

Edict* level_locals_t::ai_waypointList

Definition at line 118 of file g_local.h.

◆ day

bool level_locals_t::day

Definition at line 88 of file g_local.h.

◆ framenum

int level_locals_t::framenum

the current frame (10fps)

Definition at line 81 of file g_local.h.

◆ hurtAliens

bool level_locals_t::hurtAliens

Definition at line 89 of file g_local.h.

◆ initialAlienActorsSpawned

int level_locals_t::initialAlienActorsSpawned

Definition at line 111 of file g_local.h.

◆ intermissionTime

float level_locals_t::intermissionTime

the seconds to wait until the game will be closed. This value is relative to level.time

See also
G_MatchDoEnd

Definition at line 93 of file g_local.h.

◆ mapEndCommand

char* level_locals_t::mapEndCommand

Definition at line 86 of file g_local.h.

◆ mapname

char level_locals_t::mapname[MAX_QPATH]

the server name (base1, etc)

Definition at line 85 of file g_local.h.

◆ nextEndRound

int level_locals_t::nextEndRound

Definition at line 103 of file g_local.h.

◆ nextMapSwitch

bool level_locals_t::nextMapSwitch

trigger the nextmap command when ending the match

Definition at line 90 of file g_local.h.

◆ noEquipment

int level_locals_t::noEquipment

can be set via worldspawn to force the players to collect their equipment in the map

Definition at line 109 of file g_local.h.

◆ noRandomSpawn

int level_locals_t::noRandomSpawn

can be set via worldspawn to force random spawn point order for each team

Definition at line 108 of file g_local.h.

◆ num_2x2spawnpoints

byte level_locals_t::num_2x2spawnpoints[MAX_TEAMS]

the number of spawn points for 2x2 units in the map per team

Definition at line 117 of file g_local.h.

◆ num_alive

byte level_locals_t::num_alive[MAX_TEAMS]

the number of alive actors per team

Definition at line 115 of file g_local.h.

◆ num_kills

unsigned level_locals_t::num_kills[MAX_TEAMS+1][MAX_TEAMS]

the amount of kills per team, the first dimension contains the attacker team, the second the victim team

Definition at line 113 of file g_local.h.

◆ num_spawned

unsigned level_locals_t::num_spawned[MAX_TEAMS]

the number of spawned actors per team

Definition at line 112 of file g_local.h.

◆ num_spawnpoints

byte level_locals_t::num_spawnpoints[MAX_TEAMS]

the number of spawn points in the map per team

Definition at line 116 of file g_local.h.

◆ num_stuns

unsigned level_locals_t::num_stuns[MAX_TEAMS+1][MAX_TEAMS]

the amount of stuns per team, the first dimension contains the attacker team, the second the victim team

Definition at line 114 of file g_local.h.

◆ numplayers

int level_locals_t::numplayers

Definition at line 100 of file g_local.h.

◆ pathingMap

pathing_t* level_locals_t::pathingMap

This is where the data for TUS used to move and actor locations go

Definition at line 106 of file g_local.h.

◆ roundstartTime

float level_locals_t::roundstartTime

the time the team started the turn

Definition at line 97 of file g_local.h.

◆ routed

bool level_locals_t::routed

Definition at line 87 of file g_local.h.

◆ teamOfs

int level_locals_t::teamOfs

Definition at line 102 of file g_local.h.

◆ time

float level_locals_t::time

seconds the game is running already calculated through framenum * SERVER_FRAME_SECONDS

Definition at line 82 of file g_local.h.

◆ winningTeam

int level_locals_t::winningTeam

the team that won this match

Definition at line 96 of file g_local.h.


The documentation for this struct was generated from the following file: