1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00
Commit Graph

528 Commits

Author SHA1 Message Date
f39fbe5151 Merge pull request #2757 from IvanSavenko/filesystem_refactor
Filesystem refactor - part 1
2023-09-07 10:51:02 +03:00
41210c1dbf Client-side support for multiple battles 2023-09-06 16:03:47 +03:00
036df2e0ad Support multiple battles in AI 2023-09-06 16:03:46 +03:00
86a7f5f5cd Removed getStr(bool), replaced with similar toString() 2023-09-04 22:21:02 +03:00
8dfdfffd87 Use ResourcePath for audio files 2023-09-04 18:22:34 +03:00
823ffa7a07 Always use ResourcePath for referencing images and animations 2023-09-04 18:22:34 +03:00
ecf9b1aa2f Fix NKAI compilation with NKAI_PATHFINDER_TRACE_LEVEL>=2 2023-09-04 10:08:56 +03:00
98f7ed9dfd Implement player start turn query 2023-08-28 18:56:36 +04:00
ce20d913e0 Fix checking PlayerColor's for validness 2023-08-27 01:35:38 +03:00
274bf739b8 BattleAI: damage cache and switch to different model of spells evaluation 2023-08-26 13:06:51 +03:00
e54287ea5d Converted remaining identifier to new system 2023-08-25 13:38:02 +03:00
0240ee886d Converted (almost) all namespace enum's to enum classes 2023-08-25 13:38:02 +03:00
62cd8b12d4 Converted several namespace enums to enum class 2023-08-25 13:38:02 +03:00
17d3d663ee Converted creature ID and spell ID to new form 2023-08-25 13:38:02 +03:00
d83aa828f6 Fix turn ending 2023-08-24 23:34:33 +03:00
44d16b32fe Use API identical to std classes where possible 2023-08-23 16:32:29 +03:00
87957e74c1 Replaced boost::thread_specific_ptr with thread_local 2023-08-23 16:32:29 +03:00
1eabb738dc NKAI: fix heroes not recruited 2023-08-13 09:08:30 +03:00
92ce97bbc7 Merge remote-tracking branch 'vcmi/master' into beta 2023-08-12 16:20:06 +03:00
67b7c39761 Fix possible nullptr dereference 2023-08-11 18:50:39 +03:00
e57f8742cd Rename ambiguos 'clear' to 'clearSlots'
A lot of map objects inherit from CCreatureSet and as result - get
clean() method that resets object army
2023-08-07 19:13:02 +03:00
1eb58bcc32 NKAI: fix potential concurrency and town treat calculation 2023-08-07 17:29:27 +03:00
04fe78d31c NKAI: fix freeze on army gathering 2023-08-07 17:29:17 +03:00
3f6cbc6312 Merge pull request #2484 from vcmi/nkai-fix-freeze
NKAI: fix freeze on army gathering
2023-08-07 16:52:59 +03:00
60f0a4553a NKAI: fix freeze on army gathering 2023-08-06 09:03:29 +03:00
a4297ebdf6 NKAI: fix potential concurrency and town treat calculation 2023-08-06 08:57:14 +03:00
3b238ff15e Fix weekly visitable check 2023-08-01 17:30:47 +03:00
4c0aae6fbd NKAI: fix crash for specific map 2023-07-31 22:01:12 +03:00
ccfc6f5716 NKAI: increase towns priority, buy heroes more often 2023-07-31 22:01:12 +03:00
ec0596f3dd NKAI: fix error message can not take away last stack 2023-07-31 22:01:12 +03:00
f1a9ae99ee NKAI: various behavior fixes, undo max_gold_preasure 2023-07-31 22:01:12 +03:00
fb7477047a NKAI: loosen gold presure on build system. 2023-07-31 22:01:12 +03:00
6490c65490 nkai: fix freezes 2023-07-31 22:01:12 +03:00
c93bb0a502 nkai: fixes and skill rewards 2023-07-31 22:01:11 +03:00
202e13ce2e NKAI: log paths scan depth 2023-07-31 22:01:11 +03:00
5083100d3b NKA: fix accessing removed hero and heroExchangeCount 2023-07-31 22:01:11 +03:00
db2be3ee05 Anoother unused variable 2023-07-31 22:01:11 +03:00
850da65f80 Another build fix 2023-07-31 22:01:11 +03:00
88178567b1 Remove unused variable 2023-07-31 22:01:11 +03:00
e483f06e0f Remove unused variable 2023-07-31 22:01:11 +03:00
5bffea0aac Use new interface 2023-07-31 22:01:11 +03:00
69ceee5dd6 NKAI: penalty for extra chains 2023-07-31 22:01:11 +03:00
0fd118d3ce NKAI: gold reward 2023-07-31 22:01:11 +03:00
6ba74f02bc NKAI: playing around with defence 2023-07-31 22:01:11 +03:00
b19ac01bf9 Fuzzy rework, added more defence and gather army routines 2023-07-31 22:01:10 +03:00
b1ca663eb6 Fuzzy rework 2023-07-31 22:01:10 +03:00
38a98387e4 Temp fix for blocked in garrison ai. 2023-07-31 22:01:10 +03:00
aed8c411fc Minor rework & cleanup of combat replays 2023-07-27 19:25:55 +03:00
9acab48bc3 Merge pull request #2268 from SoundSSGood/CArtifactInstance-rework
CArtifact CArtifactInstance refactoring
2023-07-11 14:36:08 +03:00
b1ef0f6301 #1912 Some logging and fix for allied garrison 2023-07-09 10:21:58 +03:00