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

Method getMapSizeXYZ

src/Savegame/SavedBattleGame.cpp:557–560  ·  view source on GitHub ↗

* Gets the map size in tiles. * @return The map size. */

Source from the content-addressed store, hash-verified

555 * @return The map size.
556 */
557int SavedBattleGame::getMapSizeXYZ() const
558{
559 return _mapsize_x * _mapsize_y * _mapsize_z;
560}
561
562/**
563 * Converts a tile index to coordinates.

Callers 13

nextStageMethod · 0.80
runMethod · 0.80
fuelPowerSourcesMethod · 0.80
explodePowerSourcesMethod · 0.80
animateMethod · 0.80
PathfindingMethod · 0.80
prepareDebriefingMethod · 0.80
endTurnMethod · 0.80
calculateSunShadingMethod · 0.80
calculateUnitLightingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected