1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-25 00:37:24 +02:00
Commit Graph

141 Commits

Author SHA1 Message Date
823ffa7a07 Always use ResourcePath for referencing images and animations 2023-09-04 18:22:34 +03: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
62cd8b12d4 Converted several namespace enums to enum class 2023-08-25 13:38:02 +03:00
87957e74c1 Replaced boost::thread_specific_ptr with thread_local 2023-08-23 16:32:29 +03:00
60f0a4553a NKAI: fix freeze on army gathering 2023-08-06 09:03:29 +03:00
ccfc6f5716 NKAI: increase towns priority, buy heroes more often 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
e483f06e0f Remove unused variable 2023-07-31 22:01:11 +03:00
5bffea0aac Use new interface 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
85262cf4f5 Moved CGameState files into a separate directory 2023-06-26 17:15:59 +03:00
08cfbe79cf Added encapsulation for movement points access 2023-06-25 17:42:36 +03:00
87fcfa4add Removed excessive pathfinder includes 2023-06-21 12:00:44 +03:00
5cfbdd2967 Partially split CommonConstructors.cpp into few separate files 2023-06-16 17:59:10 +03:00
d6a357fd17 Split some map object files into smaller files. Reduced includes usage. 2023-06-02 21:47:37 +03:00
05eccbc2bb vcmi: split bonus to enumerator and HeroBonus.h 2023-05-03 18:01:06 +03:00
af25ad0866 vcmi: split creatures and faction members 2023-05-02 00:53:50 +03:00
97a1758e8e Merge remote-tracking branch 'upstream/develop' into rewardable-expand 2023-05-01 21:51:10 +04:00
eb577a03b5 Deprecating enum constants 2023-05-01 21:49:37 +04:00
203d0a4f91 Merge remote-tracking branch 'upstream/develop' into rewardable-expand
# Conflicts:
#	lib/JsonRandom.cpp
2023-05-01 02:07:20 +04:00
1b4d117790 deeper decoupling 2023-04-30 17:13:07 +04:00
86f5d6de69 vcmi: modernize headers 2023-04-30 13:35:54 +03:00
e47bb3f1f9 Separate configuration and object 2023-04-30 00:59:02 +04:00
fbc9a32ad8 #2018 - fix shipyard usage for NKAI, allied shipyard should work now 2023-04-22 18:42:36 +03:00
3738171b21 Refactoring of H3M loader to make HotA format support easier
- extracted low-level reader from MapFormatH3M class
- added separate structure to define version-specific values
- cleared up some H3M format edge cases
- replaced witch hut skill vector with set
- converted several fields to enum type
2023-04-15 17:20:38 +03:00
63b197b78a Converted attributes to use c++17 functionality 2023-04-12 01:03:14 +03:00
11b237a23c vcmi: massive refactoring v1 2023-04-05 22:33:12 +03:00
ab84cb9931 NKAI: fix defense tasks priority evaluation 2023-04-02 10:10:17 +03:00
88fb532d90 NKAI: more fixes to defense and pandora 2023-04-02 10:02:33 +03:00
95503d0623 vcmi: unify movement
1. Now there is only one bonus: MOVEMENT, with 2 subtypes: 0 is sea, 1 is land
   For movement value on land depends on creature speed we use a new
   ARMY_MOVEMENT updater with global bonus. If we does not like such
   dependency, we can just remove this updater from json.
2. All specialities and secondary skills for movement moved to new
   system AFAIK
2023-03-16 16:46:41 +03:00
4bf570763a NKAI: improve neutral town priority handling, reduce priority of objects like star axis 2023-03-12 16:31:15 +02:00
87638aafc0 NKAI: improve build behavior 2023-03-12 16:31:15 +02:00
148c3436df NKAI: improve army gathering 2023-03-08 11:53:26 +02:00
8b0c7b6601 NKAI improve defence and some fixes 2023-03-07 20:10:58 +02:00
f8f6df02f3 Removed remaining hardcoded objects 2023-01-23 15:27:27 +02:00
62e127fb59 Bonusing objects are now configured in json 2023-01-23 01:05:10 +02:00
bfd6c40f25 Moved all once-per-hero visitable (sans Tree) to config 2023-01-22 22:58:53 +02:00
388ed88b5d All artifact strings now pass through translator 2023-01-20 15:18:36 +02:00
33a9aa8ee5 Reduced log to console 2023-01-01 20:55:26 +02:00
eb20a4b208 Merge remote-tracking branch 'vcmi/develop' into warnings_fix 2022-12-23 14:40:45 +02:00
56bf8ec2c4 #1228 - prevent second AI activation on AI defeat due to wrong EndTurn packet 2022-12-14 22:13:26 +02:00
facf77b3ae vstd::unique -> std::unique 2022-12-07 23:36:20 +02:00
3219e322ae Fixed all non-silenced gcc/clang warnings 2022-12-07 18:05:47 +02:00