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 |
Ivan Savenko
|
4f3ea0d1d9
Renamed Terrain.h/cpp -> TerrainHandler.h/cpp
|
2 years ago |
Ivan Savenko
|
e1799379dd
Terrain/Road/River handler are now in compileable state
|
2 years ago |
Ivan Savenko
|
1468f6aded
Converted terrainTypeHandler into proper handler class
|
2 years ago |
Nordsoft91
|
785787e454
Merge branch 'develop' into interface-builder
|
2 years ago |
nordsoft
|
53b2f68560
Serialize template
|
2 years ago |
nordsoft
|
5d1b5b6c9c
Throw an exception if empty zone is generated
|
2 years ago |
Tomasz Zieliński
|
f386f42166
Merge remote-tracking branch 'origin/develop' into terrain-rewrite
|
3 years ago |