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

Method getMapData

src/Savegame/Tile.cpp:214–218  ·  view source on GitHub ↗

* get the MapData references of part 0 to 3. * @param mapDataID * @param mapDataSetID * @param part the part number * @return the object ID */

Source from the content-addressed store, hash-verified

212 * @return the object ID
213 */
214void Tile::getMapData(int *mapDataID, int *mapDataSetID, int part) const
215{
216 *mapDataID = _mapDataID[part];
217 *mapDataSetID = _mapDataSetID[part];
218}
219
220/**
221 * Gets whether this tile has no objects. Note that we can have a unit or smoke on this tile.

Callers 15

loadMapResourcesMethod · 0.45
prepareNewTurnMethod · 0.45
calculateModuleMapMethod · 0.45
getFootstepSoundMethod · 0.45
isInExitAreaMethod · 0.45
nextStageMethod · 0.45
runMethod · 0.45
canPlaceXCOMUnitMethod · 0.45
generateMapMethod · 0.45
loadMAPMethod · 0.45
fuelPowerSourcesMethod · 0.45
explodePowerSourcesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected