mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-13 11:40:38 +02:00
Experiment: fractalize RMG zones before placing important objects. The downside is that it won't be possible to draw road as straight line anymore.
This commit is contained in:
parent
368401ca07
commit
69c58c6c25
@ -1432,9 +1432,9 @@ bool CRmgTemplateZone::fill(CMapGenerator* gen)
|
|||||||
|
|
||||||
addAllPossibleObjects (gen);
|
addAllPossibleObjects (gen);
|
||||||
|
|
||||||
|
fractalize(gen);
|
||||||
placeMines(gen);
|
placeMines(gen);
|
||||||
createRequiredObjects(gen);
|
createRequiredObjects(gen);
|
||||||
fractalize(gen); //after required objects are created and linked with their own paths
|
|
||||||
createTreasures(gen);
|
createTreasures(gen);
|
||||||
|
|
||||||
logGlobal->infoStream() << boost::format ("Zone %d filled successfully") %id;
|
logGlobal->infoStream() << boost::format ("Zone %d filled successfully") %id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user