Level Locals (MW2): Difference between revisions
Aerosoul94 (talk | contribs) mNo edit summary |
Aerosoul94 (talk | contribs) mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 63: | Line 63: | ||
gentity_s *firstFreeEnt; | gentity_s *firstFreeEnt; | ||
gentity_s *lastFreeEnt; | gentity_s *lastFreeEnt; | ||
Turret *turrets; | |||
void *logFile; | void *logFile; | ||
int initializing; | int initializing; | ||
| Line 78: | Line 78: | ||
int bUpdateScoresForIntermission; | int bUpdateScoresForIntermission; | ||
bool teamHasRadar[4]; | bool teamHasRadar[4]; | ||
bool | bool teamRadarBlocked[4]; | ||
int manualNameChange; | int manualNameChange; | ||
int numConnectedClients; | int numConnectedClients; | ||
| Line 113: | Line 113: | ||
float compassMapWorldSize[2]; | float compassMapWorldSize[2]; | ||
float compassNorth[2]; | float compassNorth[2]; | ||
Vehicle *vehicles; | |||
int hudElemLastAssignedSoundId; | int hudElemLastAssignedSoundId; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 05:20, 26 December 2014
struct SpawnVar
{
bool spawnVarsValid;
int numSpawnVars;
char *spawnVars[64][2];
int numSpawnVarChars;
char spawnVarChars[2048];
};
struct cached_tag_mat_t
{
int time;
int entnum;
unsigned __int16 name;
float tagMat[4][3];
};
struct com_parse_mark_t
{
int lines;
const char *text;
int ungetToken;
int backup_lines;
const char *backup_text;
};
enum objectiveState_t
{
OBJST_EMPTY = 0x0,
OBJST_ACTIVE = 0x1,
OBJST_INVISIBLE = 0x2,
OBJST_DONE = 0x3,
OBJST_CURRENT = 0x4,
OBJST_FAILED = 0x5,
OBJST_NUMSTATES = 0x6,
};
struct objective_t
{
objectiveState_t state;
float origin[3];
int entNum;
int teamNum;
int icon;
};
struct trigger_info_t
{
unsigned __int16 entnum;
unsigned __int16 otherEntnum;
int useCount;
int otherUseCount;
};
struct level_locals_t
{
gclient_s *clients;
gentity_s *gentities;
int num_entities;
gentity_s *firstFreeEnt;
gentity_s *lastFreeEnt;
Turret *turrets;
void *logFile;
int initializing;
int clientSpawning;
objective_t objectives[32];
int maxclients;
int framenum;
int time;
int previousTime;
int frameTime;
int startTime;
int teamScores[4];
int lastTeammateHealthTime;
int bUpdateScoresForIntermission;
bool teamHasRadar[4];
bool teamRadarBlocked[4];
int manualNameChange;
int numConnectedClients;
int sortedClients[18];
char voteString[1024];
char voteDisplayString[1024];
int voteTime;
int voteExecuteTime;
int voteYes;
int voteNo;
int numVotingClients;
SpawnVar spawnVar;
int savepersist;
EntHandle droppedWeaponCue[32];
float fFogOpaqueDist;
float fFogOpaqueDistSqrd;
int currentPlayerClone;
trigger_info_t pendingTriggerList[256];
trigger_info_t currentTriggerList[256];
int pendingTriggerListSize;
int currentTriggerListSize;
int finished;
int bPlayerIgnoreRadiusDamage;
int bPlayerIgnoreRadiusDamageLatched;
int registerWeapons;
int bRegisterItems;
int currentEntityThink;
void *openScriptIOFileHandles[1];
void *openScriptIOFileBuffers[1];
com_parse_mark_t currentScriptIOLineMark;
cached_tag_mat_t cachedTagMat;
int scriptPrintChannel;
float compassMapUpperLeft[2];
float compassMapWorldSize[2];
float compassNorth[2];
Vehicle *vehicles;
int hudElemLastAssignedSoundId;
};