UFO: Alien Invasion
|
#include <q_shared.h>
Data Fields | |
char * | id |
char * | mapTheme |
linkedList_t * | params |
char * | description |
char * | victoryCondition |
float | victoryBonusPerAlien |
char * | missionBriefing |
char * | size |
char * | civTeam |
bool | multiplayer |
int | teams |
linkedList_t * | gameTypes |
bool | campaign |
bool | singleplayer |
int | hwclass |
int | maxAliens |
bool | hurtAliens |
linkedList_t * | terrains |
linkedList_t * | populations |
linkedList_t * | cultures |
bool | storyRelated |
int | timesAlreadyUsed |
linkedList_t * | ufos |
linkedList_t * | aircraft |
char * | onwin |
char * | onlose |
Definition at line 461 of file q_shared.h.
linkedList_t* mapDef_s::aircraft |
Type of allowed aircraft on the map
Definition at line 492 of file q_shared.h.
Referenced by CP_CreateBattleParameters(), GAME_MP_StartServer_f(), GAME_SK_MapInfo(), TEST_F(), and GameTest::testCountSpawnpointsForMapWithAssembly().
bool mapDef_s::campaign |
available in campaign mode?
Definition at line 480 of file q_shared.h.
Referenced by Com_ParseMapDefinition(), TEST_F(), and GameTest::testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo().
char* mapDef_s::civTeam |
the civilian team to use for this map - this can also be nullptr
Definition at line 471 of file q_shared.h.
Referenced by CP_CreateCivilianTeam(), GAME_SK_SetMissionParameters(), and TEST_F().
linkedList_t* mapDef_s::cultures |
culture strings this map is useable for
Definition at line 488 of file q_shared.h.
Referenced by CP_HarvestMissionGo(), CP_MapIsSelectable(), CP_ReconMissionGroundGo(), NAT_ScriptSanityCheck(), and TEST_F().
char* mapDef_s::description |
the description to show in the menus
Definition at line 466 of file q_shared.h.
Referenced by Com_ParseMapDefinition(), GAME_CP_InitMissionBriefing(), GAME_SK_InitMissionBriefing(), GEO_GetMissionText(), and TEST_F().
linkedList_t* mapDef_s::gameTypes |
gametype strings this map is useable for
Definition at line 476 of file q_shared.h.
Referenced by GAME_MP_MapInfo(), GAME_MP_UpdateGametype_f(), TEST_F(), and GameTest::testCountSpawnpointsForMapInMultiplayerMode().
bool mapDef_s::hurtAliens |
hurt the aliens on spawning them - e.g. for ufocrash missions
Definition at line 484 of file q_shared.h.
int mapDef_s::hwclass |
skip this map everywhere if hwclass is higher than that of the pc
Definition at line 482 of file q_shared.h.
Referenced by Com_ParseMapDefinition().
char* mapDef_s::id |
script file id
Definition at line 463 of file q_shared.h.
Referenced by Com_GetMapDefinitionByID(), Com_ParseMapDefinition(), CP_AttackUFOCarrier_f(), CP_ChooseMap(), CP_CreateBattleParameters(), CP_SaveMapDefStatXML(), MIS_SaveXML(), skipTest(), TEST_F(), GameTest::testCountSpawnpointsForMap(), GameTest::testCountSpawnpointsForMapInMultiplayerMode(), GameTest::testCountSpawnpointsForMapInSingleplayerMode(), GameTest::testCountSpawnpointsForMapWithAssembly(), GameTest::testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo(), UI_MapInfo(), UI_RequestMapList_f(), and UI_SelectMap_f().
char* mapDef_s::mapTheme |
bsp or ump base filename (without extension and day or night char)
Definition at line 464 of file q_shared.h.
Referenced by BATTLE_Start(), Com_ParseMapDefinition(), CP_CreateBattleParameters(), GAME_MP_StartServer_f(), GAME_SK_MapInfo(), GAME_SK_Start_f(), TEST_F(), GameTest::testCountSpawnpointsForMapInMultiplayerMode(), GameTest::testCountSpawnpointsForMapInSingleplayerMode(), UI_MapInfo(), UI_MapInfoGetNext(), UI_RequestMapList_f(), and UI_SelectMap_f().
int mapDef_s::maxAliens |
Number of spawning points on the map
Definition at line 483 of file q_shared.h.
Referenced by Com_ParseMapDefinition(), GAME_MP_MapInfo(), GAME_SK_MapInfo(), MIS_CreateAlienTeam(), TEST_F(), GameTest::testCountSpawnpointsForMapInMultiplayerMode(), and GameTest::testCountSpawnpointsForMapInSingleplayerMode().
char* mapDef_s::missionBriefing |
the mission briefing description
Definition at line 469 of file q_shared.h.
Referenced by GAME_CP_InitMissionBriefing(), and GAME_SK_InitMissionBriefing().
bool mapDef_s::multiplayer |
is this map multiplayer ready at all
Definition at line 474 of file q_shared.h.
Referenced by Com_ParseMapDefinition(), GAME_MP_MapInfo(), GAME_MP_StartServer_f(), GAME_MP_UpdateGametype_f(), TEST_F(), GameTest::testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo(), and UI_RequestMapList_f().
char* mapDef_s::onlose |
trigger command after you've lost a battle
Definition at line 498 of file q_shared.h.
Referenced by CP_ExecuteMissionTrigger().
char* mapDef_s::onwin |
Definition at line 497 of file q_shared.h.
Referenced by CP_ExecuteMissionTrigger().
linkedList_t* mapDef_s::params |
in case of ump file, the assembly to use
Definition at line 465 of file q_shared.h.
Referenced by BATTLE_Start(), Com_ParseMapDefinition(), GAME_MP_StartServer_f(), GAME_SK_Start_f(), TEST_F(), GameTest::testCountSpawnpointsForMap(), and UI_MapInfo().
linkedList_t* mapDef_s::populations |
population strings this map is useable for
Definition at line 487 of file q_shared.h.
Referenced by CP_HarvestMissionGo(), CP_MapIsSelectable(), CP_ReconMissionGroundGo(), NAT_ScriptSanityCheck(), and TEST_F().
bool mapDef_s::singleplayer |
is this map available in singleplayer games?
Definition at line 481 of file q_shared.h.
Referenced by Com_ParseMapDefinition(), GAME_SK_MapInfo(), TEST_F(), GameTest::testCountSpawnpointsForMapWithAssemblyAndAircraftAndUfo(), and UI_RequestMapList_f().
char* mapDef_s::size |
small, medium, big
Definition at line 470 of file q_shared.h.
bool mapDef_s::storyRelated |
Is this a mission story related?
Definition at line 489 of file q_shared.h.
Referenced by AM_Check_f(), AM_Go(), AM_Go_f(), CP_MapIsSelectable(), MIS_GetModel(), and NAT_ScriptSanityCheck().
int mapDef_s::teams |
multiplayer teams
Definition at line 475 of file q_shared.h.
Referenced by GAME_MP_StartServer_f(), and GameTest::testCountSpawnpointsForMapInMultiplayerMode().
linkedList_t* mapDef_s::terrains |
terrain strings this map is useable for
Definition at line 486 of file q_shared.h.
Referenced by CP_HarvestMissionGo(), CP_MapIsSelectable(), CP_ReconMissionGroundGo(), NAT_ScriptSanityCheck(), and TEST_F().
int mapDef_s::timesAlreadyUsed |
Number of times the map has already been used
Definition at line 490 of file q_shared.h.
Referenced by CP_ChooseMap(), CP_LoadMapDefStatXML(), CP_ResetCampaignData(), CP_SaveMapDefStatXML(), and TEST_F().
linkedList_t* mapDef_s::ufos |
Type of allowed UFOs on the map
Definition at line 491 of file q_shared.h.
Referenced by CP_CreateBattleParameters(), CP_MapIsSelectable(), GAME_MP_StartServer_f(), GAME_SK_MapInfo(), NAT_ScriptSanityCheck(), TEST_F(), and GameTest::testCountSpawnpointsForMapWithAssemblyAndAircraft().
float mapDef_s::victoryBonusPerAlien |
for missions other than "kill all aliens", the bonus value to use for each alien killed and stunned
Definition at line 468 of file q_shared.h.
Referenced by CP_HandleNationData().
char* mapDef_s::victoryCondition |
the mission briefing victory condition
Definition at line 467 of file q_shared.h.
Referenced by GAME_CP_InitMissionBriefing(), and GAME_SK_InitMissionBriefing().