|
aa02d5787a
|
Better solution for rmg crash fix
|
2024-01-19 17:26:51 +02:00 |
|
|
789c96d9b0
|
Fixed binding lambda to a reference to a temporary on stack
|
2024-01-19 16:17:59 +02:00 |
|
|
66efb07e52
|
More
|
2024-01-17 07:45:53 +01:00 |
|
|
a568a9b3fb
|
Fix lambda capture
|
2024-01-17 07:26:51 +01:00 |
|
|
253f1dc7e6
|
Refactor duplicated code as suggested by SonarCloud
|
2024-01-17 07:18:14 +01:00 |
|
|
afc9bd908c
|
Unused capture
|
2024-01-16 17:38:36 +01:00 |
|
|
71844d4d92
|
Unban artifacts if RMG fails to place Seer Hut (unlikely)
|
2024-01-16 17:15:35 +01:00 |
|
|
0273d9c36b
|
Remove unused variable
|
2024-01-15 07:59:50 +01:00 |
|
|
285bafdbf4
|
Do not ban heroes in Prisons, they might be rehired after they are defeated.
Restore hero to pool if Prison fails to be placed.
|
2024-01-15 07:41:29 +01:00 |
|
|
ebf2055afc
|
- Unban hero if related Prison is destroyed during map generation
- Move prison counter to PrisonHeroPlacer
|
2023-12-24 09:36:26 +01:00 |
|
|
b0f0e9caa8
|
Merge remote-tracking branch 'origin/beta' into random_prison_distributor
|
2023-12-24 06:46:18 +01:00 |
|
|
d5f9de5beb
|
Definitive solution for Corpse
|
2023-12-21 12:29:45 +01:00 |
|
|
e22f6dd07e
|
Fix for choosing most specific templates. Also seems to fix the Prisons.
|
2023-12-21 09:58:39 +01:00 |
|
|
ad82eff225
|
Final and perfect treasue nd obstacle density
|
2023-12-19 09:24:43 +01:00 |
|
|
c701d42781
|
Multiple optimizations to avoid copying and allocating tiles for rmg::Area
|
2023-12-18 13:52:03 +01:00 |
|
|
bfea30e318
|
Optimization tweaks
|
2023-12-13 22:12:16 +01:00 |
|
|
2d3b8ee866
|
Increased amount of generated treasure piles without increasing density
|
2023-12-12 12:50:27 +01:00 |
|
|
e5f60f063c
|
- Check full object area for minimum distance requirement
- Add option to optimize both for max distance and custom weight
|
2023-12-12 07:40:54 +01:00 |
|
|
109139c913
|
Build fix
|
2023-12-11 08:27:57 +01:00 |
|
|
8fe6a103cd
|
- Move Hero / Prison distribution to separate modificator
- Protect rolling and banning hero with mutex
|
2023-12-11 07:37:23 +01:00 |
|
|
7fa01a3497
|
Fix for randomly banning or exceeding limits of zone objects
|
2023-12-07 17:41:09 +01:00 |
|
|
6cd19b81dd
|
Working fir for Corpse issue:
- Do not place guard next to blockVis object, if possible
- Do not place two blockVis objects next to each other
|
2023-12-06 20:49:28 +01:00 |
|
|
03fa75c51e
|
Some refactoring, commiting current state after tests
|
2023-12-06 09:49:41 +01:00 |
|
|
34338f4eaa
|
Remove few more implicit conversions
|
2023-11-15 15:55:19 +02:00 |
|
|
8346d71c98
|
Remove more subID access
|
2023-11-01 14:44:05 +02:00 |
|
|
5b10b457cf
|
Fix code review suggestions
|
2023-10-11 00:47:19 +02:00 |
|
|
bb238f9b72
|
New quests work
|
2023-10-10 23:44:29 +02:00 |
|
|
1460541ee5
|
New limiter based quests
|
2023-10-10 23:44:29 +02:00 |
|
|
3ea7988883
|
Treasure placement uses random templates now
|
2023-09-30 23:06:38 +02:00 |
|
|
c1c13cfafb
|
Pandora and events work as rewardable object
|
2023-09-15 15:29:41 +02:00 |
|
|
ef3f0174dd
|
Rewardable seer hut and quest gate
|
2023-09-13 01:40:07 +02:00 |
|
|
344593e891
|
vcmi: made some CSpell properties private
There are getters for it.
|
2023-08-23 17:53:08 +03:00 |
|
|
0be3d6911c
|
Merge pull request #2236 from vcmi/limit_seer_huts
Create only a single seer hut for every artifact we have
|
2023-07-22 08:17:03 +02:00 |
|
|
65d10cf9f2
|
+ Handle Wide Connections
+ Possibly hide fictive and repulsive connections, needs testing
|
2023-06-17 19:09:38 +02:00 |
|
|
30f81297c3
|
Create only a single seer hut for every artifact we have.
|
2023-06-17 08:45:10 +02:00 |
|
|
58661fc8ec
|
Moved DwellingInstanceConstructor to a new file
|
2023-06-16 17:59:50 +03:00 |
|
|
77b58bc66d
|
Cleaned up object constructors to reduce duplicated code
|
2023-06-16 17:59:50 +03:00 |
|
|
c52b5d3bd0
|
Merge pull request #2216 from vcmi/water_prison_tavern
Water Prison & Tavern
|
2023-06-16 16:30:05 +02:00 |
|
|
f1356dd5bf
|
Merge remote-tracking branch 'origin/develop' into water_prison_tavern
|
2023-06-14 20:58:02 +02:00 |
|
|
ce25ed4de2
|
Fix crash which coudl occur if we can't add any Seer Hut to RMG pool (Fear template).
|
2023-06-14 20:50:14 +02:00 |
|
|
e1f8ae94ac
|
+ Do not limit treasures to make space for more treasures if there are none ;eft
+ Make sure RMG won't get stuck in infinite loop for weird treasure values (eg. 0).
|
2023-06-12 22:15:59 +02:00 |
|
|
3d3c97bf93
|
Fix potential infinite loop
|
2023-06-12 20:32:58 +02:00 |
|
|
b65870f31e
|
A bunch of magic formulas to assure nice balance of blocked areas and obstacles on every template
|
2023-06-10 14:57:25 +02:00 |
|
|
682e9ae297
|
Unused variable
|
2023-06-08 20:05:51 +02:00 |
|
|
52d33fc7a6
|
Generate all treasures of certain value beforehand and try to place them all, don't interrupt at first failure.
|
2023-06-08 19:51:21 +02:00 |
|
|
d92ac6bcbe
|
Do not exceed rolled treasure value - matches OH3.
|
2023-06-08 19:23:23 +02:00 |
|
|
3e9e6aab2b
|
Fix prison distribution
|
2023-06-07 15:08:50 +02:00 |
|
|
7922d8be16
|
Prison from HoTA will be placed on water.
|
2023-06-07 13:00:24 +02:00 |
|
|
e98a50b45a
|
Merge pull request #2123 from Warzyw647/rmg-split-enum-monster-strength
Refactor enums and add zone monster strength "none" in rmg
|
2023-06-06 20:40:35 +02:00 |
|
|
1e9eea30e1
|
Merge remote-tracking branch 'soundsgood/CArtHandler-rework' into develop
|
2023-06-05 18:53:17 +03:00 |
|