mapDef_s Struct Reference

#include <cl_shared.h>

Collaboration diagram for mapDef_s:
Collaboration graph
[legend]

Data Fields

char * id
char * map
char * param
char * description
char * size
qboolean multiplayer
int teams
linkedList_tgameTypes
int maxAliens
qboolean hurtAliens
linkedList_tterrains
linkedList_tpopulations
linkedList_tcultures
qboolean storyRelated
int timesAlreadyUsed
linkedList_tufos
linkedList_taircraft
char * onwin
char * onlose

Detailed Description

Definition at line 58 of file cl_shared.h.


Field Documentation

Type of allowed aircraft on the map

Definition at line 81 of file cl_shared.h.

Referenced by CL_ParseMapDefinition(), and GAME_SK_MapInfo().

culture strings this map is useable for

Definition at line 77 of file cl_shared.h.

Referenced by CL_ParseMapDefinition(), CP_HarvestMissionGo(), CP_MapIsSelectable(), CP_ReconMissionGroundGo(), and NAT_ScriptSanityCheck().

the description to show in the menus

Definition at line 63 of file cl_shared.h.

Referenced by CL_ParseMapDefinition(), MAP_GetMissionText(), and MAP_GetShortMissionText().

gametype strings this map is useable for

Definition at line 69 of file cl_shared.h.

Referenced by CL_ParseMapDefinition(), GAME_MP_ChangeGametype_f(), and GAME_MP_MapInfo().

hurt the aliens on spawning them - e.g. for ufocrash missions

Definition at line 73 of file cl_shared.h.

Referenced by CP_StartMissionMap(), GAME_MP_StartServer_f(), and GAME_SK_SetMissionParameters().

char* mapDef_s::id

bsp or ump base filename (without extension and day or night char)

Definition at line 61 of file cl_shared.h.

Referenced by CL_ParseMapDefinition(), CP_CreateBattleParameters(), CP_StartMissionMap(), GAME_MP_StartServer_f(), GAME_SK_MapInfo(), GAME_SK_Start_f(), UI_MapInfo(), UI_MapInfoGetNext(), and UI_SelectMap_f().

Number of spawning points on the map

Definition at line 72 of file cl_shared.h.

Referenced by CP_CreateAlienTeam().

is this map multiplayer ready at all

Definition at line 67 of file cl_shared.h.

Referenced by GAME_MP_ChangeGametype_f(), GAME_MP_MapInfo(), and GAME_MP_StartServer_f().

trigger command after you've lost a battle

Definition at line 87 of file cl_shared.h.

Referenced by CP_ExecuteMissionTrigger().

Note:
Don't end with ; - the trigger commands get the base index as parameter - see CP_ExecuteMissionTrigger - If you don't need the base index in your trigger command, you can seperate more commands with ; of course trigger command after you've won a battle

Definition at line 86 of file cl_shared.h.

Referenced by CP_ExecuteMissionTrigger().

in case of ump file, the assembly to use

Definition at line 62 of file cl_shared.h.

Referenced by CP_StartMissionMap(), GAME_MP_StartServer_f(), GAME_SK_Start_f(), and UI_MapInfo().

population strings this map is useable for

Definition at line 76 of file cl_shared.h.

Referenced by CL_ParseMapDefinition(), CP_HarvestMissionGo(), CP_MapIsSelectable(), CP_ReconMissionGroundGo(), and NAT_ScriptSanityCheck().

small, medium, big

Definition at line 64 of file cl_shared.h.

Is this a mission story related?

Definition at line 78 of file cl_shared.h.

Referenced by CL_GameAutoGo(), CP_MapIsSelectable(), GAME_CP_MissionAutoCheck_f(), MAP_GetMissionModel(), and NAT_ScriptSanityCheck().

multiplayer teams

Definition at line 68 of file cl_shared.h.

Referenced by GAME_MP_StartServer_f().

terrain strings this map is useable for

Definition at line 75 of file cl_shared.h.

Referenced by CL_ParseMapDefinition(), CP_HarvestMissionGo(), CP_MapIsSelectable(), CP_ReconMissionGroundGo(), and NAT_ScriptSanityCheck().

Number of times the map has already been used

Definition at line 79 of file cl_shared.h.

Referenced by CL_ResetSinglePlayerData(), CP_ChooseMap(), CP_LoadMapDefStatXML(), CP_LoadMissionsXML(), CP_SaveMapDefStatXML(), and CP_SaveMissionsXML().

Type of allowed UFOs on the map

Definition at line 80 of file cl_shared.h.

Referenced by CL_ParseMapDefinition(), CP_MapIsSelectable(), GAME_SK_MapInfo(), and NAT_ScriptSanityCheck().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2