MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setMapData

Method setMapData

src/Savegame/Tile.cpp:200–205  ·  view source on GitHub ↗

* Set the MapData references of part 0 to 3. * @param dat pointer to the data object * @param mapDataID * @param mapDataSetID * @param part the part number */

Source from the content-addressed store, hash-verified

198 * @param part the part number
199 */
200void Tile::setMapData(MapData *dat, int mapDataID, int mapDataSetID, int part)
201{
202 _objects[part] = dat;
203 _mapDataID[part] = mapDataID;
204 _mapDataSetID[part] = mapDataSetID;
205}
206
207/**
208 * get the MapData references of part 0 to 3.

Callers 4

loadMapResourcesMethod · 0.80
generateMapMethod · 0.80
loadMAPMethod · 0.80
runInventoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected