UFO: Alien Invasion
|
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 * | 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_t * | pathingMap |
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] |
Edict * | ai_waypointList |
int level_locals_s::activeTeam |
Definition at line 101 of file g_local.h.
Referenced by AI_PlayerRun(), G_ActionCheckForCurrentTeam(), G_CheckForceEndRound(), G_ClientDisconnect(), G_ClientEndRound(), G_ClientStartMatch(), G_EventEndRound(), G_GetActiveTeam(), G_GetNextActiveTeam(), G_GetStartingTeam(), G_MatchEndCheck(), G_MatchIsRunning(), G_MissionThink(), G_ReactionFireCanBeEnabled(), G_ShootGrenade(), G_SpawnEntities(), G_SpawnField(), ReactionFire::isEnemy(), TEST_F(), and Think_SmokeAndFire().
int level_locals_s::actualRound |
the current running round counter
Definition at line 104 of file g_local.h.
Referenced by G_ClientEndRound(), G_GetEarnedExperience(), G_MissionThink(), G_MissionTouch(), G_SpawnEntities(), G_SpawnField(), and Think_SmokeAndFire().
Edict* level_locals_s::ai_waypointList |
Definition at line 118 of file g_local.h.
Referenced by AI_CheckForMissionTargets(), AIL_waypoints(), and G_AddToWayPointList().
bool level_locals_s::day |
Definition at line 88 of file g_local.h.
Referenced by G_SpawnEntities(), and Touch_NextMapTrigger().
int level_locals_s::framenum |
the current frame (10fps)
Definition at line 81 of file g_local.h.
Referenced by AI_Run(), G_CheckForceEndRound(), G_ClientEndRound(), and G_RunFrame().
bool level_locals_s::hurtAliens |
Definition at line 89 of file g_local.h.
Referenced by AI_SetStats(), and G_SpawnEntities().
int level_locals_s::initialAlienActorsSpawned |
Definition at line 111 of file g_local.h.
Referenced by AI_CheckRespawn(), and AI_CreatePlayer().
float level_locals_s::intermissionTime |
the seconds to wait until the game will be closed. This value is relative to level.time
Definition at line 93 of file g_local.h.
Referenced by G_MatchDoEnd(), G_MatchEndCheck(), G_MatchEndTrigger(), and G_MatchIsRunning().
char* level_locals_s::mapEndCommand |
Definition at line 86 of file g_local.h.
Referenced by G_MatchDoEnd(), and Touch_NextMapTrigger().
char level_locals_s::mapname[MAX_QPATH] |
the server name (base1, etc)
Definition at line 85 of file g_local.h.
Referenced by G_GetStartingTeam(), G_SpawnEntities(), and SP_trigger_nextmap().
int level_locals_s::nextEndRound |
Definition at line 103 of file g_local.h.
Referenced by G_CheckForceEndRound(), and G_ClientEndRound().
bool level_locals_s::nextMapSwitch |
trigger the nextmap command when ending the match
Definition at line 90 of file g_local.h.
Referenced by G_MatchDoEnd(), and Touch_NextMapTrigger().
int level_locals_s::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.
Referenced by G_ClientReadInventory(), and SP_worldspawn().
int level_locals_s::noRandomSpawn |
can be set via worldspawn to force random spawn point order for each team
Definition at line 108 of file g_local.h.
Referenced by G_ClientGetFreeSpawnPoint(), and SP_worldspawn().
the number of spawn points for 2x2 units in the map per team
Definition at line 117 of file g_local.h.
Referenced by G_Actor2x2Spawn(), and GameTest::testCountSpawnpointsForMapInSingleplayerMode().
the number of alive actors per team
Definition at line 115 of file g_local.h.
Referenced by AI_CheckRespawn(), G_ActorModifyCounters(), G_CheckVis(), G_GetNextActiveTeam(), G_MatchSendResults(), G_Morale(), and G_SendInvisible().
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.
Referenced by G_ActorModifyCounters(), and G_MatchSendResults().
unsigned level_locals_s::num_spawned[MAX_TEAMS] |
the number of spawned actors per team
Definition at line 112 of file g_local.h.
Referenced by AI_CreatePlayer(), G_ActorModifyCounters(), G_ActorSpawnIsAllowed(), G_ClientGetFreeSpawnPointForActorSize(), G_MatchSendResults(), and G_Morale().
the number of spawn points in the map per team
Definition at line 116 of file g_local.h.
Referenced by G_ActorSpawn(), G_GetTeam(), G_SetTeamForPlayer(), G_SpawnEntities(), SP_player_start(), GameTest::testCountSpawnpointsForMapInMultiplayerMode(), and GameTest::testCountSpawnpointsForMapInSingleplayerMode().
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.
Referenced by G_ActorModifyCounters(), and G_MatchSendResults().
int level_locals_s::numplayers |
Definition at line 100 of file g_local.h.
Referenced by G_ClientBegin(), G_ClientDisconnect(), and G_MatchEndCheck().
pathing_t* level_locals_s::pathingMap |
This is where the data for TUS used to move and actor locations go
Definition at line 106 of file g_local.h.
Referenced by AI_CheckForMissionTargets(), AI_CivilianCalcActionScore(), AI_FighterCalcActionScore(), AI_FindMissionLocation(), AI_PanicCalcActionScore(), AI_PrepBestAction(), AI_TurnIntoDirection(), AIL_findweapons(), AIL_missiontargets(), AIL_positionapproach(), AIL_positionflee(), AIL_positionmission(), AIL_positionshoot(), AIL_positionwander(), AIL_see(), AIL_waypoints(), G_ActorMoveLength(), G_ClientMove(), G_FillDirectionTable(), G_FindPath(), G_MoveCalc(), G_SpawnEntities(), pos3L_distance(), and pos3L_goto().
float level_locals_s::roundstartTime |
the time the team started the turn
Definition at line 97 of file g_local.h.
Referenced by G_CheckForceEndRound(), G_ClientEndRound(), and G_RunFrame().
bool level_locals_s::routed |
Definition at line 87 of file g_local.h.
Referenced by G_RunFrame().
int level_locals_s::teamOfs |
Definition at line 102 of file g_local.h.
Referenced by G_ClientEndRound(), G_GetStartingTeam(), G_MissionThink(), and Think_SmokeAndFire().
float level_locals_s::time |
seconds the game is running already calculated through framenum * SERVER_FRAME_SECONDS
Definition at line 82 of file g_local.h.
Referenced by G_CheckFlood(), G_CheckForceEndRound(), G_ClientEndRound(), G_EdictsThink(), G_MatchDoEnd(), G_MatchEndTrigger(), and G_RunFrame().
int level_locals_s::winningTeam |
the team that won this match
Definition at line 96 of file g_local.h.
Referenced by G_MatchDoEnd(), and G_MatchEndTrigger().