MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Load

Method Load

engine/Poseidon/UI/Map/UIMap.cpp:228–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228void MapTypeInfo::Load(const ParamEntry& cls)
229{
230 icon = GlobLoadTexture(GetPictureName(cls >> "icon"));
231 color = GetPackedColor(cls >> "color");
232 size = cls >> "size";
233}
234
235CStatic* CreateStaticMap(ControlsContainer* parent, int idc, const ParamEntry& cls)
236{

Callers 14

CHeadMethod · 0.45
RetryMissionMethod · 0.45
LoadCampaignsMethod · 0.45
BeginModdedJoinMethod · 0.45
ApplyModdedJoinMethod · 0.45
LoadMissionFunction · 0.45
DisplayGetReadyMethod · 0.45
ExportWMFFunction · 0.45
LoadWeaponsMethod · 0.45
UIMapMain.cppFile · 0.45
ParseCutsceneFunction · 0.45
CStaticMapMethod · 0.45

Calls 3

GlobLoadTextureFunction · 0.85
GetPictureNameFunction · 0.85
GetPackedColorFunction · 0.85

Tested by

no test coverage detected