Tomasz Zieliński
|
d8c93cb222
|
Protect every access to zone tiles with a mutex
|
2024-03-27 06:16:48 +01:00 |
|
Tomasz Zieliński
|
9d620b924d
|
Implement TODO
|
2024-03-26 07:55:18 +01:00 |
|
Tomasz Zieliński
|
0b8dc02d2b
|
Clean up duplicated code
|
2024-03-24 18:04:33 +01:00 |
|
Tomasz Zieliński
|
c6a9d94630
|
Fix crash with empty zone
|
2024-03-24 17:25:30 +01:00 |
|
Tomasz Zieliński
|
2e8801084d
|
Clean up RMG logs
|
2024-02-25 11:40:01 +01:00 |
|
Tomasz Zieliński
|
af3c6450a7
|
Update comments
|
2024-02-04 08:56:45 +01:00 |
|
Tomasz Zieliński
|
e6f0afd586
|
Tweaking parameters, cleanup
|
2024-02-02 15:50:33 +01:00 |
|
Tomasz Zieliński
|
178f960533
|
First working version
|
2024-02-02 14:27:32 +01:00 |
|
Ivan Savenko
|
e67e4430ba
|
Removed most of non-const static fields in lib. Reduced header includes.
|
2024-01-19 13:55:22 +02:00 |
|
Alexander Wilms
|
cca08e29da
|
Remove duplicate semicolons
|
2024-01-16 19:02:39 +00:00 |
|
Alexander Wilms
|
f3277b7953
|
Define each identifier in a dedicated statement
|
2024-01-10 00:22:23 +00:00 |
|
Tomasz Zieliński
|
c909bd766e
|
Merge remote-tracking branch 'origin/develop' into fix_rmg_teams
# Conflicts:
# lib/rmg/CMapGenOptions.cpp
# lib/rmg/CMapGenOptions.h
|
2023-11-07 20:54:04 +01:00 |
|
Ivan Savenko
|
3634fb2158
|
Remove int <=> Identifier comparisons
|
2023-11-03 16:03:29 +02:00 |
|
Tomasz Zieliński
|
07dac8b6d4
|
Works more or less
|
2023-10-28 20:30:38 +02:00 |
|
Ivan Savenko
|
ec8d31bbfc
|
First step at unifying game identifiers code
|
2023-08-25 13:38:01 +03:00 |
|
Tomasz Zieliński
|
3889193a48
|
Reorganize namespaces
|
2023-07-07 16:32:17 +02:00 |
|
Tomasz Zieliński
|
64e8b9b2b9
|
Smarter scaling for forces between zones.
|
2023-06-23 21:43:12 +02:00 |
|
Tomasz Zieliński
|
25707b6d5e
|
Place zones in order given by template. Yields better results in a number of cases.
|
2023-06-18 20:23:25 +02:00 |
|
Tomasz Zieliński
|
65d10cf9f2
|
+ Handle Wide Connections
+ Possibly hide fictive and repulsive connections, needs testing
|
2023-06-17 19:09:38 +02:00 |
|
Tomasz Zieliński
|
2603e11f48
|
Simplify and correct ZonePlacer main loop, make sure to save optimal solution at every step.
|
2023-06-14 14:07:31 +02:00 |
|
Tomasz Zieliński
|
aa16f57b8a
|
Remove unused variables
|
2023-05-20 14:28:18 +02:00 |
|
Tomasz Zieliński
|
71f882d5ba
|
Refactored Functions.cpp, removed unused function.
|
2023-05-20 07:55:28 +02:00 |
|
Tomasz Zieliński
|
73d9f5bd0a
|
Parallel RMG works fine for maps without water.
|
2023-05-19 20:30:15 +02:00 |
|
Tomasz Zieliński
|
80b5c53815
|
Place quest artifacts after all the treasures are already created.
|
2023-04-23 10:08:16 +02:00 |
|
Tomasz Zieliński
|
88c436691d
|
Simplify logs
|
2023-04-20 16:26:06 +02:00 |
|
Tomasz Zieliński
|
09b493681b
|
More iterations, higher gravity constant for better results.
|
2023-04-20 16:13:30 +02:00 |
|
Tomasz Zieliński
|
55d7d7b9b5
|
Fix coefficients to make dead code actually be used sometimes.
|
2023-04-20 12:44:32 +02:00 |
|
Tomasz Zieliński
|
00d7901e59
|
Add another placement technique - swap two misplaced zones. Don't move same zones in consecutive iterations.
|
2023-04-20 12:24:57 +02:00 |
|
Tomasz Zieliński
|
c34b1cd713
|
Fix warning-as-errors.
|
2023-04-19 08:45:23 +02:00 |
|
Tomasz Zieliński
|
d841655c1d
|
Scale fuzzy edges with map size.
|
2023-04-18 22:34:26 +02:00 |
|
Tomasz Zieliński
|
15592c3aff
|
Change metric to create more interesting zone shapes.
|
2023-04-18 22:01:51 +02:00 |
|
Tomasz Zieliński
|
39154737a5
|
Use std::optional instead of boost::optional.
|
2023-04-18 19:34:54 +02:00 |
|
Tomasz Zieliński
|
6551585f96
|
Start with low stifness to let zones pass through each other - typical temperature fall.
(cherry picked from commit 435b9f7881 )
|
2023-04-18 19:21:33 +02:00 |
|
Tomasz Zieliński
|
8d5cd6d072
|
Randomize starting positions a bit so zones don't fall exactly on the grid.
(cherry picked from commit 33eb28b570 )
|
2023-04-18 19:21:28 +02:00 |
|
Tomasz Zieliński
|
fc91152da7
|
Fixed zones getting actually randomized after construction. Tweaks to algorithm, now it's considerably better.
(cherry picked from commit c13019059f )
|
2023-04-18 19:21:19 +02:00 |
|
Tomasz Zieliński
|
2d7a819939
|
Parameters which work well for Jebus - accessible desert and Blue placed away from Red
(cherry picked from commit 42c6127c79 )
|
2023-04-18 19:21:13 +02:00 |
|
Tomasz Zieliński
|
494f4eaa3f
|
Simple solution that works - by ChatGPT :)
(cherry picked from commit 7c6e4bc2fe )
|
2023-04-18 19:21:06 +02:00 |
|
Tomasz Zieliński
|
a1f094776f
|
Use fixed starting positions for now.
(cherry picked from commit 43c51805f5 )
|
2023-04-18 19:20:57 +02:00 |
|
Tomasz Zieliński
|
7d2745fda6
|
Simplified target function comparison.
(cherry picked from commit 809f6344ff )
|
2023-04-18 19:20:50 +02:00 |
|
Tomasz Zieliński
|
48c11f661b
|
Fix zone attraction
(cherry picked from commit 164ecaea60 )
|
2023-04-18 19:20:40 +02:00 |
|
Tomasz Zieliński
|
3f83eaafc4
|
Fix distance check
(cherry picked from commit 319f289dc4 )
|
2023-04-18 19:20:32 +02:00 |
|
Tomasz Zieliński
|
64adc9983d
|
- Fixes for corectness
- Space apart starting zones of players
(cherry picked from commit 80be12ac68 )
|
2023-04-18 19:20:23 +02:00 |
|
Tomasz Zieliński
|
09d50a5e9f
|
First draft that kinda works.
(cherry picked from commit 7dd5a9c15d )
|
2023-04-18 19:20:12 +02:00 |
|
Konstantin
|
7a5775a9f9
|
vcmi: use std::optional
|
2023-04-17 00:43:13 +03:00 |
|
Konstantin
|
7bfb37df4d
|
vcmi: modernize lib/rmg
|
2023-02-14 02:50:39 +03:00 |
|
Ivan Savenko
|
1e37e66e6c
|
Replaced Terrain::BORDER and WRONG with NONE
|
2023-01-10 20:09:09 +02:00 |
|
Ivan Savenko
|
4f3ea0d1d9
|
Renamed Terrain.h/cpp -> TerrainHandler.h/cpp
|
2023-01-10 00:01:35 +02:00 |
|
Ivan Savenko
|
e1799379dd
|
Terrain/Road/River handler are now in compileable state
|
2023-01-10 00:01:35 +02:00 |
|
Ivan Savenko
|
1468f6aded
|
Converted terrainTypeHandler into proper handler class
|
2023-01-10 00:01:35 +02:00 |
|
Nordsoft91
|
785787e454
|
Merge branch 'develop' into interface-builder
|
2022-12-24 21:56:29 +04:00 |
|