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
eb577a03b5
Deprecating enum constants
2023-05-01 21:49:37 +04: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
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
388ed88b5d
All artifact strings now pass through translator
2023-01-20 15:18:36 +02:00
eeea01d778
NKAI: namespace
2022-10-04 08:40:14 +03:00
c9c79887a7
remove unused variables
2022-09-22 11:54:10 +03:00
aae1d4fed5
fix variable type in for-in loops
2022-09-22 11:54:09 +03:00
40585a66c0
Style, commend - requested
2022-09-11 11:31:28 +03:00
1649cf2bb9
misc comments
2022-09-11 11:31:27 +03:00
6ae3b77d80
AI will not wait to conwuer fort if possible
2022-09-11 11:31:27 +03:00
f0bb97b0d2
AI will actually attack all heroes when possible - and win the game eventually :)
2022-09-11 11:31:27 +03:00
b52faad4c7
+ Stack speed is valuable
...
+ Hero movement is also very valuable
2022-09-11 11:31:27 +03:00
a83753a7d2
AI will now pick Prisons if possible
2022-09-11 11:31:27 +03:00
cbf2a1b7cc
AI will consider Pandora Box as a valuable object - good for every occasion!
2022-09-11 11:31:27 +03:00
faa6ca401e
Fixed duplicated value
2022-09-11 11:31:27 +03:00
f4de5453c6
+ AI will consider free slot (or lack of it) for creature reward from a bank
...
+ AI might use banks for resources other than gold
2022-09-11 11:31:27 +03:00
79d06bbaa6
Nullkiller: fix merge conflicts
2021-07-26 21:02:50 +03:00
3fa7e0976f
Nullkiller: update / fix build, core changes required for Nullkiller AI
2021-07-26 21:02:50 +03:00
b4241670ba
Nullkiller: rename VCAI to AIGateway
2021-07-26 21:02:50 +03:00
9a203b8af9
Nullkiller: parallel object clusterization, stabilization
2021-07-26 21:02:50 +03:00
3480f17a68
Nullkiller: fix defence
2021-07-26 21:02:50 +03:00
1f83569868
Nullkiller: fix defence
2021-07-26 21:02:50 +03:00
3d91f2e988
Fix defence crashes and hangs
2021-07-26 21:02:50 +03:00
80df879489
Nullkiller: stabilization
2021-07-26 21:02:50 +03:00
0d5ae20e64
Nullkiller: improved citadel priority
2021-07-26 21:02:50 +03:00
cf4484e071
Nullkiller: stabilization
2021-07-26 21:02:50 +03:00
35a1167f3d
Nullkiller: refactoring and stabilization of gather army & clusterization
2021-07-26 21:02:50 +03:00
5bfe71c8f3
Nullkiller: small optimization of AIPathfinder for big maps
2021-07-26 21:02:50 +03:00
4f51d3c929
Nullkiller: fix android
2021-07-26 21:02:50 +03:00
3e9bf9b662
Nullkiller: try to fix build
2021-07-26 21:02:50 +03:00
32fb465823
Nullkiller: stabilization+clasterization improvements+fuzzy fear
2021-07-26 21:02:50 +03:00
1806dd8447
Nullkiller: remove AIhelper + refactoring
2021-07-26 21:02:50 +03:00
f832a8b3cd
Nullkiller: calibration and small behavior fixes
2021-07-26 21:02:50 +03:00
37f49f2ac5
Nullkiller: stabilization
2021-07-26 21:02:50 +03:00
0705ee595a
Nullkiller: object clusterizer
2021-07-26 21:02:50 +03:00
cebb5b296b
Nullkiller: fix priorities after refactoring
2021-07-26 21:02:50 +03:00