UFO: Alien Invasion
|
Inherits Test.
Protected Member Functions | |
void | testCountSpawnpointsForMap (bool verbose, const mapDef_t *md) |
void | testCountSpawnpointsForMapWithAssembly (bool verbose, const mapDef_t *md, const char *asmName) |
void | testCountSpawnpointsForMapWithAssemblyAndAircraft (bool verbose, const mapDef_t *md, const char *asmName, const char *aircraft) |
void | testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo (bool verbose, const mapDef_t *md, const char *asmName, const char *aircraft, const char *ufo) |
void | testCountSpawnpointsForMapInSingleplayerMode (bool verbose, const mapDef_t *md, const char *asmName, const char *aircraft, const char *ufo) |
void | testCountSpawnpointsForMapInMultiplayerMode (bool verbose, const mapDef_t *md, const char *asmName, const char *aircraft, const char *ufo) |
int | testCountSpawnpointsGetNumteamValueForAircraft (const char *aircraft) |
int | testCountSpawnpointsGetNumteamValueForUFO (const char *ufo) |
int | testCountSpawnpointsGetNum2x2ValueForAircraft (const char *aircraft) |
void | SetUp () |
void | TearDown () |
Static Protected Member Functions | |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
Definition at line 39 of file test_game.cpp.
|
inlineprotected |
Definition at line 69 of file test_game.cpp.
|
inlinestaticprotected |
Definition at line 41 of file test_game.cpp.
References rstate_s::active_texunit, com_networkPool, Com_ParseScripts(), CVAR_ARCHIVE, Cvar_Get(), CVAR_NOSET, CVAR_SERVERINFO, Cvar_Set(), DOUBLEQUOTE, MASTER_SERVER, masterserver_url, Mem_CreatePool, port, PORT_SERVER, r_state, sv_genericPool, sv_maxclients, TEST_Init(), and rstate_s::texunits.
|
inlineprotected |
Definition at line 73 of file test_game.cpp.
References SV_ShutdownGameProgs().
|
inlinestaticprotected |
Definition at line 55 of file test_game.cpp.
References TEST_Shutdown().
Definition at line 525 of file test_game.cpp.
References Com_Printf(), mapDef_s::id, LIST_Foreach, LIST_IsEmpty(), mapDef_s::params, Q_streq, TEST_ExistsProperty(), TEST_GetStringProperty(), and testCountSpawnpointsForMapWithAssembly().
|
protected |
Definition at line 180 of file test_game.cpp.
References Com_Printf(), csi, Cvar_Set(), gametype_s::cvars, DOUBLEQUOTE, mapDef_s::gameTypes, csi_s::gts, i, gametype_s::id, mapDef_s::id, level, LIST_Foreach, LIST_IsEmpty(), mapCount, mapDef_s::mapTheme, MAX_CLIENTS, mapDef_s::maxAliens, cvarlist_s::name, gametype_s::num_cvars, level_locals_s::num_spawnpoints, csi_s::numGTs, Q_streq, SV_Map(), SV_ShutdownGameProgs(), Sys_Milliseconds(), TEAM_ALIEN, TEAM_CIVILIAN, TEAM_MAX_HUMAN, mapDef_s::teams, testCountSpawnpointsGetNumteamValueForUFO(), and cvarlist_s::value.
Referenced by testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo().
|
protected |
Definition at line 304 of file test_game.cpp.
References Com_Printf(), Cvar_Set(), mapDef_s::id, level, mapCount, mapDef_s::mapTheme, mapDef_s::maxAliens, level_locals_s::num_2x2spawnpoints, level_locals_s::num_spawnpoints, SV_Map(), SV_ShutdownGameProgs(), Sys_Milliseconds(), TEAM_ALIEN, TEAM_CIVILIAN, TEAM_PHALANX, testCountSpawnpointsGetNum2x2ValueForAircraft(), testCountSpawnpointsGetNumteamValueForAircraft(), and testCountSpawnpointsGetNumteamValueForUFO().
Referenced by testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo().
|
protected |
Definition at line 488 of file test_game.cpp.
References mapDef_s::aircraft, Com_GetRandomMapAssemblyNameForCraft(), Com_Printf(), Cvar_Set(), mapDef_s::id, LIST_Foreach, LIST_IsEmpty(), Q_streq, TEST_ExistsProperty(), TEST_GetStringProperty(), and testCountSpawnpointsForMapWithAssemblyAndAircraft().
Referenced by testCountSpawnpointsForMap().
|
protected |
Definition at line 453 of file test_game.cpp.
References Com_GetRandomMapAssemblyNameForCraft(), Com_Printf(), Cvar_Set(), LIST_Foreach, LIST_IsEmpty(), Q_streq, TEST_ExistsProperty(), TEST_GetStringProperty(), testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo(), and mapDef_s::ufos.
Referenced by testCountSpawnpointsForMapWithAssembly().
|
protected |
Definition at line 406 of file test_game.cpp.
References mapDef_s::campaign, Com_Printf(), mapDef_s::id, mapDef_s::multiplayer, Q_streq, mapDef_s::singleplayer, TEST_ExistsProperty(), TEST_GetStringProperty(), testCountSpawnpointsForMapInMultiplayerMode(), and testCountSpawnpointsForMapInSingleplayerMode().
Referenced by testCountSpawnpointsForMapWithAssemblyAndAircraft().
|
protected |
Definition at line 112 of file test_game.cpp.
References Q_streq, and Q_strnull().
Referenced by testCountSpawnpointsForMapInSingleplayerMode().
|
protected |
Definition at line 134 of file test_game.cpp.
References Q_streq, and Q_strnull().
Referenced by testCountSpawnpointsForMapInSingleplayerMode().
|
protected |
Definition at line 152 of file test_game.cpp.
References Q_streq, and Q_strnull().
Referenced by testCountSpawnpointsForMapInMultiplayerMode(), and testCountSpawnpointsForMapInSingleplayerMode().