Ivan Savenko
|
62b564650d
|
Fix possibly hanging pointer to deleted CGObjectInstance
Was stored by CRemoveObjectOperation and accessed on destruction even
though it has been removed by the game
|
2024-05-13 16:19:14 +00:00 |
|
Ivan Savenko
|
f5824ccea4
|
Re-throw exception on RMG failure to prevent weird crashes later
|
2024-05-08 09:55:34 +00:00 |
|
Tomasz Zieliński
|
12da0196a0
|
Restrict reindexing to random maps
|
2024-04-03 20:05:35 +02:00 |
|
Tomasz Zieliński
|
d8c93cb222
|
Protect every access to zone tiles with a mutex
|
2024-03-27 06:16:48 +01:00 |
|
Ivan Savenko
|
87059be67b
|
Added range checks to values read from h3m.
Fixes reading of morale/luck values (-3..3) as unsigned leading to
overflow.
|
2024-02-05 21:27:55 +02:00 |
|
Ivan Savenko
|
e67e4430ba
|
Removed most of non-const static fields in lib. Reduced header includes.
|
2024-01-19 13:55:22 +02:00 |
|
Ivan Savenko
|
a15366f5a5
|
Make IObjectInterface::cb non-static
|
2024-01-19 13:55:21 +02:00 |
|
Tomasz Zieliński
|
71844d4d92
|
Unban artifacts if RMG fails to place Seer Hut (unlikely)
|
2024-01-16 17:15:35 +01:00 |
|
Tomasz Zieliński
|
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 |
|
Tomasz Zieliński
|
ee6c331bad
|
Merge remote-tracking branch 'origin/beta' into random_prison_distributor
|
2024-01-14 21:56:49 +01:00 |
|
Ivan Savenko
|
fd499e318d
|
Review suggestion
|
2024-01-14 15:36:29 +02:00 |
|
Ivan Savenko
|
ca2df49fbb
|
Block usage of preselected starting heroes for prisons in RMG
|
2024-01-13 14:08:36 +02:00 |
|
Tomasz Zieliński
|
ebf2055afc
|
- Unban hero if related Prison is destroyed during map generation
- Move prison counter to PrisonHeroPlacer
|
2023-12-24 09:36:26 +01:00 |
|
Tomasz Zieliński
|
8fe6a103cd
|
- Move Hero / Prison distribution to separate modificator
- Protect rolling and banning hero with mutex
|
2023-12-11 07:37:23 +01:00 |
|
Ivan Savenko
|
13763cad8e
|
Remove few more implicit conversions
|
2023-11-15 15:55:19 +02:00 |
|
Ivan Savenko
|
abad4b01ce
|
Remove explicit convesion to int in operators
|
2023-11-15 15:55:19 +02:00 |
|
Ivan Savenko
|
0842f5afee
|
Removed remaining usages of std::vector<bool>
|
2023-11-15 15:55:18 +02:00 |
|
Tomasz Zieliński
|
07dac8b6d4
|
Works more or less
|
2023-10-28 20:30:38 +02:00 |
|
nordsoft
|
03c099d4fd
|
First steps
|
2023-09-27 22:53:13 +02:00 |
|
Ivan Savenko
|
6f0108e462
|
Use ResourcePath for referencing texts and json's
|
2023-09-04 18:22:34 +03:00 |
|
Ivan Savenko
|
823ffa7a07
|
Always use ResourcePath for referencing images and animations
|
2023-09-04 18:22:34 +03:00 |
|
Ivan Savenko
|
e54287ea5d
|
Converted remaining identifier to new system
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
ec8d31bbfc
|
First step at unifying game identifiers code
|
2023-08-25 13:38:01 +03:00 |
|
Ivan Savenko
|
44d16b32fe
|
Use API identical to std classes where possible
|
2023-08-23 16:32:29 +03:00 |
|
DjWarmonger
|
71fe5c556f
|
Merge pull request #2203 from vcmi/remove_seed_info
Remove random seed from map description
|
2023-07-25 10:36:32 +02:00 |
|
Tomasz Zieliński
|
025b0814c8
|
+ Handled banning spells and artifacts
+ Rename allowedSpell => allowedSpells
|
2023-07-17 17:21:28 +02:00 |
|
Tomasz Zieliński
|
fbd1d728ec
|
Water heroes will now be correctly banned on random maps.
|
2023-07-17 16:23:34 +02:00 |
|
Tomasz Zieliński
|
a200e87640
|
Merge remote-tracking branch 'origin/develop' into ban_stuff_on_water_maps
|
2023-07-15 14:36:32 +02:00 |
|
Ivan Savenko
|
9acab48bc3
|
Merge pull request #2268 from SoundSSGood/CArtifactInstance-rework
CArtifact CArtifactInstance refactoring
|
2023-07-11 14:36:08 +03:00 |
|
Tomasz Zieliński
|
700d8459ac
|
Checking flags and conditions
|
2023-07-09 11:16:36 +02:00 |
|
Tomasz Zieliński
|
fabad20aa1
|
Compile fixes, cleanup
|
2023-07-08 10:21:36 +02:00 |
|
Tomasz Zieliński
|
730b36612c
|
Respect GUI settings for roads. By default, all road types are enabled.
|
2023-07-08 08:44:10 +02:00 |
|
SoundSSGood
|
fd9c7352a0
|
suggested changes
|
2023-07-03 22:54:03 +03:00 |
|
SoundSSGood
|
060aecc61c
|
CArtifact refactoring
|
2023-06-30 19:41:26 +03:00 |
|
DjWarmonger
|
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 |
|
Tomasz Zieliński
|
cbe1c4a07d
|
Remove random seed from map description.
|
2023-06-03 08:53:00 +02:00 |
|
Ivan Savenko
|
d6a357fd17
|
Split some map object files into smaller files. Reduced includes usage.
|
2023-06-02 21:47:37 +03:00 |
|
Ivan Savenko
|
62595cb039
|
Split massive CMap.h a bit
|
2023-05-31 23:01:57 +03:00 |
|
Warzyw647
|
bc4755a89a
|
Merge branch 'develop' into rmg-split-enum-monster-strength
|
2023-05-31 19:53:19 +02: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 |
|
Warzyw647
|
af3c6abb5e
|
Added zone guard strength "none"
|
2023-05-21 00:13:45 +02:00 |
|
Tomasz Zieliński
|
b2b2798214
|
Use boost::thread instead of std::thread
|
2023-05-20 14:43:05 +02:00 |
|
Warzyw647
|
5363fd5db3
|
Changing other enums to enum classes and adding comments with reasons for why some enums stay as enum-in-namespace.
|
2023-05-20 13:29:55 +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
|
73d9f5bd0a
|
Parallel RMG works fine for maps without water.
|
2023-05-19 20:30:15 +02:00 |
|
Tomasz Zieliński
|
a58094aefe
|
Thread pool kinda works.
|
2023-05-07 07:48:12 +02:00 |
|
Tomasz Zieliński
|
a8545935c3
|
ThreadPool implementation. It runs, but dies from race conditions.
|
2023-05-06 18:54:19 +02:00 |
|
Warzyw647
|
d74fdad432
|
Renamed enum EMonsterStrength to EGlobalMonsterStrength. Enum EZoneMonsterStrength unchanged.
|
2023-05-06 12:18:53 +02:00 |
|
Tomasz Zieliński
|
d22ec0ee0c
|
Move Modificator to separate file.
|
2023-05-06 10:49:18 +02:00 |
|