|
UFO: Alien Invasion
|


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 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, and TEST_Init().
|
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_t::id, LIST_Foreach, LIST_IsEmpty(), mapDef_t::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_t::cvars, DOUBLEQUOTE, mapDef_t::gameTypes, i, gametype_t::id, mapDef_t::id, level, LIST_Foreach, LIST_IsEmpty(), mapCount, mapDef_t::mapTheme, MAX_CLIENTS, mapDef_t::maxAliens, cvarlist_t::name, gametype_t::num_cvars, Q_streq, SV_Map(), SV_ShutdownGameProgs(), Sys_Milliseconds(), TEAM_ALIEN, TEAM_CIVILIAN, TEAM_MAX_HUMAN, mapDef_t::teams, testCountSpawnpointsGetNumteamValueForUFO(), and cvarlist_t::value.
Referenced by testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo().
|
protected |
Definition at line 304 of file test_game.cpp.
References Com_Printf(), Cvar_Set(), mapDef_t::id, level, mapCount, mapDef_t::mapTheme, mapDef_t::maxAliens, 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_t::aircraft, Com_GetRandomMapAssemblyNameForCraft(), Com_Printf(), Cvar_Set(), mapDef_t::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_t::ufos.
Referenced by testCountSpawnpointsForMapWithAssembly().
|
protected |
Definition at line 406 of file test_game.cpp.
References mapDef_t::campaign, Com_Printf(), mapDef_t::id, mapDef_t::multiplayer, Q_streq, mapDef_t::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().