add units in config files
This commit is contained in:
@@ -239,7 +239,7 @@ void Simulation::placeInitialStructures()
|
||||
const ParsedSurfaceMask psParsed =
|
||||
parseSurfaceMask(m_config.stations.playerStation.surfaceMask, Rotation::East);
|
||||
const int psAnchorX =
|
||||
m_config.world.regions.playerBufferWidth - psParsed.footprint.width();
|
||||
m_config.world.regions.playerBufferWidth_tiles - psParsed.footprint.width();
|
||||
const double psLevel = static_cast<double>(m_config.stations.playerStation.level);
|
||||
const float psHp = static_cast<float>(
|
||||
m_config.stations.playerStation.hpFormula.evaluate(psLevel));
|
||||
@@ -309,9 +309,9 @@ void Simulation::placeEnemyStationSet(int generation)
|
||||
const ParsedSurfaceMask esParsed =
|
||||
parseSurfaceMask(m_config.stations.enemyStation.surfaceMask, Rotation::East);
|
||||
|
||||
const int rightEdgeX = m_config.world.regions.playerBufferWidth
|
||||
+ m_config.world.regions.contestZoneWidth
|
||||
+ generation * m_config.world.push.pushExpandColumns;
|
||||
const int rightEdgeX = m_config.world.regions.playerBufferWidth_tiles
|
||||
+ m_config.world.regions.contestZoneWidth_tiles
|
||||
+ generation * m_config.world.push.pushExpandColumns_tiles;
|
||||
const int anchorX = rightEdgeX - esParsed.footprint.width();
|
||||
|
||||
const double genD = static_cast<double>(generation);
|
||||
|
||||
Reference in New Issue
Block a user