this structure is cleared as each map is entered More...
#include <g_local.h>
Data Fields | |
int | framenum |
float | time |
char | mapname [MAX_QPATH] |
char | nextmap [MAX_QPATH] |
qboolean | routed |
qboolean | day |
qboolean | hurtAliens |
float | intermissionTime |
int | winningTeam |
float | roundstartTime |
int | numplayers |
int | activeTeam |
int | nextEndRound |
int | actualRound |
pathing_t | pathingMap |
int | randomSpawn |
byte | num_alive [MAX_TEAMS] |
byte | num_spawned [MAX_TEAMS] |
byte | num_spawnpoints [MAX_TEAMS] |
byte | num_2x2spawnpoints [MAX_TEAMS] |
byte | num_kills [MAX_TEAMS][MAX_TEAMS] |
byte | num_stuns [MAX_TEAMS][MAX_TEAMS] |
this structure is cleared as each map is entered
Definition at line 106 of file g_local.h.
Definition at line 126 of file g_local.h.
Referenced by AI_Run(), G_ActionCheckForCurrentTeam(), G_CheckForceEndRound(), G_ClientDisconnect(), G_ClientEndRound(), G_ClientSpawn(), G_EventEndRound(), G_GetActiveTeam(), G_GetNextActiveTeam(), G_GetStartingTeam(), G_MatchEndCheck(), G_MatchIsRunning(), G_MoraleBehaviour(), G_ReactionFireCanBeEnabled(), G_ReactionFireIsPossible(), G_ShootGrenade(), and G_SpawnEntities().
the current running round counter
Definition at line 128 of file g_local.h.
Referenced by G_ClientEndRound(), G_MissionThink(), G_MissionTouch(), and G_SpawnEntities().
Definition at line 114 of file g_local.h.
Referenced by G_MatchSendResults(), and G_SpawnEntities().
the current frame (10fps)
Definition at line 107 of file g_local.h.
Referenced by AI_Run(), G_CheckForceEndRound(), G_ClientEndRound(), G_PhysicsRun(), G_PhysicsStep(), and G_RunFrame().
Definition at line 115 of file g_local.h.
Referenced by G_SpawnEntities(), and SP_alien_start().
the seconds to wait until the game will be closed. This value is relative to level.time
Definition at line 118 of file g_local.h.
Referenced by G_MatchDoEnd(), G_MatchEndCheck(), G_MatchEndTrigger(), and G_MatchIsRunning().
char level_locals_t::mapname[MAX_QPATH] |
the server name (base1, etc)
Definition at line 111 of file g_local.h.
Referenced by G_GetStartingTeam(), and G_SpawnEntities().
Definition at line 127 of file g_local.h.
Referenced by G_CheckForceEndRound(), and G_ClientEndRound().
char level_locals_t::nextmap[MAX_QPATH] |
Definition at line 112 of file g_local.h.
Referenced by G_MatchSendResults(), and SP_worldspawn().
byte level_locals_t::num_2x2spawnpoints[MAX_TEAMS] |
the number of spawn points for 2x2 units in the map per team
Definition at line 137 of file g_local.h.
Referenced by G_Actor2x2Spawn().
byte level_locals_t::num_alive[MAX_TEAMS] |
the number of alive actors per team
Definition at line 134 of file g_local.h.
Referenced by Destroy_Breakable(), G_ActorDieOrStun(), G_ActorRevitalise(), G_CheckVis(), G_ClientGetFreeSpawnPointForActorSize(), G_GetNextActiveTeam(), G_MatchSendResults(), G_Morale(), and G_SendInvisible().
byte level_locals_t::num_kills[MAX_TEAMS][MAX_TEAMS] |
the amount of kills per team, the first dimension contains the attacker team, the second the victim team
Definition at line 138 of file g_local.h.
Referenced by G_ActorDie(), and G_MatchSendResults().
byte level_locals_t::num_spawned[MAX_TEAMS] |
the number of spawned actors per team
Definition at line 135 of file g_local.h.
Referenced by G_ActorSpawnIsAllowed(), G_ClientGetFreeSpawnPointForActorSize(), G_MatchSendResults(), and G_Morale().
byte level_locals_t::num_spawnpoints[MAX_TEAMS] |
the number of spawn points in the map per team
Definition at line 136 of file g_local.h.
Referenced by G_ActorSpawn(), G_GetTeam(), G_SetTeamForPlayer(), G_SpawnEntities(), and SP_player_start().
byte level_locals_t::num_stuns[MAX_TEAMS][MAX_TEAMS] |
the amount of stuns per team, the first dimension contains the attacker team, the second the victim team
Definition at line 139 of file g_local.h.
Referenced by G_ActorStun(), and G_MatchSendResults().
Definition at line 125 of file g_local.h.
Referenced by G_ClientBegin(), G_ClientDisconnect(), and G_MatchEndCheck().
This is where the data for TUS used to move and actor locations go
Definition at line 130 of file g_local.h.
Referenced by AI_CheckForMissionTargets(), AI_CivilianCalcBestAction(), AI_FighterCalcBestAction(), AI_PrepBestAction(), AI_TurnIntoDirection(), AIL_positionshoot(), G_ClientMove(), G_MoveCalc(), and pos3L_goto().
can be set via worldspawn to force random spawn point order for each team
Definition at line 132 of file g_local.h.
Referenced by G_ClientGetFreeSpawnPoint(), and SP_worldspawn().
the time the team started the round
Definition at line 122 of file g_local.h.
Referenced by G_CheckForceEndRound(), G_ClientEndRound(), and G_RunFrame().
Definition at line 113 of file g_local.h.
Referenced by G_RunFrame().
float level_locals_t::time |
seconds the game is running already calculated through framenum * SERVER_FRAME_SECONDS
Definition at line 108 of file g_local.h.
Referenced by G_CheckFlood(), G_CheckForceEndRound(), G_ClientEndRound(), G_ClientMove(), G_MatchDoEnd(), G_MatchEndTrigger(), G_PhysicsThink(), and G_RunFrame().
the team that won this match
Definition at line 121 of file g_local.h.
Referenced by G_MatchDoEnd(), and G_MatchEndTrigger().