Tomasz Zieliński
|
64e8b9b2b9
Smarter scaling for forces between zones.
|
2 years ago |
Tomasz Zieliński
|
25707b6d5e
Place zones in order given by template. Yields better results in a number of cases.
|
2 years ago |
Tomasz Zieliński
|
65d10cf9f2
+ Handle Wide Connections
|
2 years ago |
Tomasz Zieliński
|
2603e11f48
Simplify and correct ZonePlacer main loop, make sure to save optimal solution at every step.
|
2 years ago |
Tomasz Zieliński
|
aa16f57b8a
Remove unused variables
|
2 years ago |
Tomasz Zieliński
|
71f882d5ba
Refactored Functions.cpp, removed unused function.
|
2 years ago |
Tomasz Zieliński
|
73d9f5bd0a
Parallel RMG works fine for maps without water.
|
2 years ago |
Tomasz Zieliński
|
80b5c53815
Place quest artifacts after all the treasures are already created.
|
2 years ago |
Tomasz Zieliński
|
88c436691d
Simplify logs
|
2 years ago |
Tomasz Zieliński
|
09b493681b
More iterations, higher gravity constant for better results.
|
2 years ago |
Tomasz Zieliński
|
55d7d7b9b5
Fix coefficients to make dead code actually be used sometimes.
|
2 years ago |
Tomasz Zieliński
|
00d7901e59
Add another placement technique - swap two misplaced zones. Don't move same zones in consecutive iterations.
|
2 years ago |
Tomasz Zieliński
|
c34b1cd713
Fix warning-as-errors.
|
2 years ago |
Tomasz Zieliński
|
d841655c1d
Scale fuzzy edges with map size.
|
2 years ago |
Tomasz Zieliński
|
15592c3aff
Change metric to create more interesting zone shapes.
|
2 years ago |
Tomasz Zieliński
|
39154737a5
Use std::optional instead of boost::optional.
|
2 years ago |
Tomasz Zieliński
|
6551585f96
Start with low stifness to let zones pass through each other - typical temperature fall.
|
2 years ago |
Tomasz Zieliński
|
8d5cd6d072
Randomize starting positions a bit so zones don't fall exactly on the grid.
|
2 years ago |
Tomasz Zieliński
|
fc91152da7
Fixed zones getting actually randomized after construction. Tweaks to algorithm, now it's considerably better.
|
2 years ago |
Tomasz Zieliński
|
2d7a819939
Parameters which work well for Jebus - accessible desert and Blue placed away from Red
|
2 years ago |
Tomasz Zieliński
|
494f4eaa3f
Simple solution that works - by ChatGPT :)
|
2 years ago |
Tomasz Zieliński
|
a1f094776f
Use fixed starting positions for now.
|
2 years ago |
Tomasz Zieliński
|
7d2745fda6
Simplified target function comparison.
|
2 years ago |
Tomasz Zieliński
|
48c11f661b
Fix zone attraction
|
2 years ago |
Tomasz Zieliński
|
3f83eaafc4
Fix distance check
|
2 years ago |
Tomasz Zieliński
|
64adc9983d
- Fixes for corectness
|
2 years ago |
Tomasz Zieliński
|
09d50a5e9f
First draft that kinda works.
|
2 years ago |
Konstantin
|
7a5775a9f9
vcmi: use std::optional
|
2 years ago |
Konstantin
|
7bfb37df4d
vcmi: modernize lib/rmg
|
2 years ago |
Ivan Savenko
|
1e37e66e6c
Replaced Terrain::BORDER and WRONG with NONE
|
2 years ago |