1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Zone shapes & terrains work nicely.

This commit is contained in:
DjWarmonger
2014-05-24 14:06:08 +02:00
parent 27dcf70b1a
commit d2fd71d087
7 changed files with 126 additions and 38 deletions

View File

@ -154,10 +154,13 @@ void CMapGenerator::genZones()
CZonePlacer placer(this);
placer.placeZones(mapGenOptions, &rand);
placer.assignZones(mapGenOptions);
int i = 0;
int part_w = w/player_per_side;
int part_h = h/player_per_side;
for(auto const it : zones)
{
CRmgTemplateZone * zone = it.second;