Laserlicht
|
bf0fcaadb7
|
fix rmg underground
|
2025-08-29 21:22:45 +02:00 |
|
Ivan Savenko
|
118029b2ba
|
Merge pull request #5964 from Laserlicht/levels
multilevel support
|
2025-08-14 11:03:42 +03:00 |
|
Tomasz Zieliński
|
07a6474117
|
Move road randomizer to separate file
|
2025-08-01 20:43:40 +02:00 |
|
Tomasz Zieliński
|
3bfd714d3f
|
Merge branch 'develop' into randomize_optional_roads
|
2025-08-01 20:05:03 +02:00 |
|
Laserlicht
|
ecfe09f6b1
|
multilevel support
|
2025-08-01 02:21:44 +02:00 |
|
Ivan Savenko
|
829739da24
|
Reduce usage of implicit conversions to int
|
2025-04-27 14:57:31 +03:00 |
|
Tomasz Zieliński
|
85f019b136
|
Ensure all trees are connected together
|
2025-03-20 21:37:58 +01:00 |
|
Tomasz Zieliński
|
863e469b4d
|
+ Remove roads from wide connections BEFORE graph is generated
+ Explain all requirements in a commeny
|
2025-03-20 21:37:14 +01:00 |
|
Tomasz Zieliński
|
237f6ebb1c
|
Make sure that connection road is set to same value for both zones
|
2025-03-20 17:30:37 +01:00 |
|
Tomasz Zieliński
|
6327e268f3
|
Simplified and correct algorithm
|
2025-03-19 19:43:03 +01:00 |
|
Tomasz Zieliński
|
f4233aa2fd
|
First draft of new algorithm that deliberately links zones with towns
|
2025-03-19 17:25:45 +01:00 |
|
Tomasz Zieliński
|
2d3892845b
|
Remove multiple connections without checking graph
|
2025-03-14 20:28:27 +01:00 |
|
Tomasz Zieliński
|
5d410a4243
|
Use vstd::contains
|
2025-03-14 20:14:57 +01:00 |
|
Tomasz Zieliński
|
d94b2f05eb
|
Handle multiple connections between pair of zones
|
2025-03-14 20:07:25 +01:00 |
|
Tomasz Zieliński
|
7814d4ae8e
|
Clenaup
|
2025-03-14 15:05:24 +01:00 |
|
Tomasz Zieliński
|
11ecb05bca
|
Fix connections not getting actually updated
|
2025-03-14 14:37:33 +01:00 |
|
Tomasz Zieliński
|
f0971dfdd6
|
First implementation of random connections
|
2025-03-14 11:03:28 +01:00 |
|
Tomasz Zieliński
|
1def86a3ec
|
Move main town to the tile with highest distance to water shore
|
2025-03-09 18:46:59 +01:00 |
|
Ivan Savenko
|
645b95ba02
|
Renamed LibClasses * VLC to GameLibrary * LIBRARY
|
2025-02-21 16:54:56 +00:00 |
|
Ivan Savenko
|
2362c6da21
|
Fixes for multiple new issues from Sonar
|
2025-02-21 15:57:39 +00:00 |
|
Tomasz Zieliński
|
a7fa3c7d8b
|
Ignore new connections for zone placement.
|
2024-07-30 05:07:05 +02:00 |
|
Ivan Savenko
|
4aa73b40c9
|
Split CTownHandler into smaller chunks
|
2024-07-21 18:21:48 +00:00 |
|
Ivan Savenko
|
63bcf7d83c
|
Replaced most of usages of CRandomGenerator with vstd::RNG in library
|
2024-07-16 13:13:07 +00:00 |
|
Alexander Wilms
|
02e429e973
|
Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
|
2024-06-24 03:47:19 +02:00 |
|
Ivan Savenko
|
3bea383b59
|
Merge branch 'vcmi/beta' into 'vcmi/develop'
|
2024-06-21 12:58:36 +00:00 |
|
Ivan Savenko
|
2d0bd94135
|
Fix rmg generation if player list is not continuous
|
2024-06-17 13:35:58 +00:00 |
|
Ivan Savenko
|
7461df161c
|
lib now uses shared_ptr for entities. Removed manual memory management.
|
2024-05-17 15:04:05 +00:00 |
|
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 |
|