Ivan Savenko
|
62595cb039
|
Split massive CMap.h a bit
|
2023-05-31 23:01:57 +03:00 |
|
Tomasz Zieliński
|
cd9bd491e0
|
Add option for single-thread generation. Still doesn't guarantee excactly identical maps :?
|
2023-05-24 18:02:11 +02:00 |
|
Tomasz Zieliński
|
f3c795462f
|
Remove comment which break the build
|
2023-05-20 17:08:44 +02:00 |
|
Tomasz Zieliński
|
4e927f644d
|
Missing precompiled header
|
2023-05-20 15:41:03 +02:00 |
|
Tomasz Zieliński
|
b2b2798214
|
Use boost::thread instead of std::thread
|
2023-05-20 14:43:05 +02:00 |
|
Tomasz Zieliński
|
aa16f57b8a
|
Remove unused variables
|
2023-05-20 14:28:18 +02:00 |
|
Tomasz Zieliński
|
a8b882e5bb
|
Remove another pragma
|
2023-05-20 14:16:18 +02:00 |
|
Tomasz Zieliński
|
e25448e7cd
|
Fix build on macos
|
2023-05-20 14:00:03 +02:00 |
|
Tomasz Zieliński
|
91baa65c8c
|
Remove no longer needed synchronization that also fails to compile.
|
2023-05-20 13:15:46 +02:00 |
|
Tomasz Zieliński
|
219e897db0
|
Added missing files.
|
2023-05-20 12:02:30 +02:00 |
|
Tomasz Zieliński
|
67c0fbc240
|
Merge remote-tracking branch 'origin/develop' into parellel_rmg
# Conflicts:
# lib/rmg/modificators/WaterProxy.cpp
|
2023-05-20 11:59:39 +02:00 |
|
Tomasz Zieliński
|
15b254fded
|
Give every Zone its own RNG
|
2023-05-20 11:46:32 +02:00 |
|
Tomasz Zieliński
|
5da8c96214
|
Fix include paths
|
2023-05-20 11:45:08 +02:00 |
|
Tomasz Zieliński
|
cf0515dcd3
|
Moved Modificators to separate folder
|
2023-05-20 10:17:37 +02:00 |
|
Tomasz Zieliński
|
5f99facd8f
|
Optimization - don't add multiple copies of Modificators which only need one instance.
|
2023-05-20 09:58:08 +02:00 |
|
Tomasz Zieliński
|
71f882d5ba
|
Refactored Functions.cpp, removed unused function.
|
2023-05-20 07:55:28 +02:00 |
|
Tomasz Zieliński
|
c27b8383e7
|
Cleanup
|
2023-05-20 07:23:00 +02:00 |
|
Tomasz Zieliński
|
02586214a1
|
Synchronize ConnectionPlacers
|
2023-05-20 07:06:27 +02:00 |
|
Tomasz Zieliński
|
72f8facc82
|
Fixed deadlock in WaterAdopter
|
2023-05-19 20:49:01 +02:00 |
|
Tomasz Zieliński
|
73d9f5bd0a
|
Parallel RMG works fine for maps without water.
|
2023-05-19 20:30:15 +02:00 |
|
Ivan Savenko
|
cb8201876b
|
Merge pull request #1822 from rilian-la-te/spell-mechanics-v3
Bonus refactoring, part3 (save-incompatible)
|
2023-05-09 13:10:04 +03:00 |
|
Konstantin P
|
057a33c508
|
SpellSchool: use identifier instead of int
Needs redifinition of MAGIC_SCHOOL_SKILL in all mods
|
2023-05-07 20:37:32 +03:00 |
|
Tomasz Zieliński
|
19010dd834
|
Not needed
|
2023-05-07 09:15:20 +02:00 |
|
Tomasz Zieliński
|
966a24d27e
|
Protect public access to Modificators with another mutex.
|
2023-05-07 08:24:08 +02:00 |
|
Tomasz Zieliński
|
a58094aefe
|
Thread pool kinda works.
|
2023-05-07 07:48:12 +02:00 |
|
nordsoft
|
58aed364bf
|
Don't place non-sailing boats in RMG
|
2023-05-07 03:24:52 +04:00 |
|
Tomasz Zieliński
|
3d25c2c6dc
|
Fix thread pool closing
|
2023-05-06 19:47:28 +02:00 |
|
Tomasz Zieliński
|
a8545935c3
|
ThreadPool implementation. It runs, but dies from race conditions.
|
2023-05-06 18:54:19 +02:00 |
|
Tomasz Zieliński
|
a952a9e279
|
Remove unused code
|
2023-05-06 12:22:01 +02:00 |
|
Tomasz Zieliński
|
d22ec0ee0c
|
Move Modificator to separate file.
|
2023-05-06 10:49:18 +02:00 |
|
Tomasz Zieliński
|
eb50ae3aa7
|
- Pre-distribute max number of Prisons
- Minor refactor for artifact and hero pool management
|
2023-05-05 10:30:36 +02:00 |
|
Tomasz Zieliński
|
d137f7157c
|
Merge remote-tracking branch 'origin/develop' into parellel_rmg
# Conflicts:
# lib/rmg/CZonePlacer.h
# lib/rmg/TreasurePlacer.h
|
2023-05-05 09:00:44 +02:00 |
|
Tomasz Zieliński
|
35ec720555
|
Forget objects that were already replaced iwth an artifact.
|
2023-05-05 07:16:38 +02:00 |
|
Konstantin
|
86f5d6de69
|
vcmi: modernize headers
|
2023-04-30 13:35:54 +03:00 |
|
Tomasz Zieliński
|
d325051213
|
Some working version, needs corrections still.
|
2023-04-29 11:46:03 +02:00 |
|
Tomasz Zieliński
|
3c9599657b
|
Use new artifact interface
|
2023-04-25 16:20:36 +02:00 |
|
Tomasz Zieliński
|
208adf1dd6
|
Don't use boost::format
|
2023-04-25 16:14:09 +02:00 |
|
Tomasz Zieliński
|
a9a3c456f1
|
Add new files
|
2023-04-23 10:12:53 +02:00 |
|
Tomasz Zieliński
|
bc4d6bb7ee
|
Remove unused code.
|
2023-04-23 10:08:30 +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 435b9f78819b7bd282fc45ac8297ca12aaec5c87)
|
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 33eb28b570e132f63d7aaa451a732f3d0c9a10d6)
|
2023-04-18 19:21:28 +02:00 |
|