60ffb81b33
Replaced remaining placeholder code with callbacks
2024-01-19 13:55:22 +02:00
8346d71c98
Remove more subID access
2023-11-01 14:44:05 +02:00
0a6c82c639
AI/Nullkiller/Behaviors/DefenceBehavior.{h,cpp}: treat -> threat
2023-10-27 23:34:11 +00:00
ac925bb786
Renamed new types for consistency with code style
2023-10-22 16:55:19 +03:00
80e6485965
MetaIdentifier now uses std::variant internally
2023-10-22 16:55:19 +03:00
77facf9387
Implement missing functions, fixes linking errors
2023-10-22 16:54:56 +03:00
910ad50417
Fix client & server compilation
2023-10-22 16:54:48 +03:00
0a10fc30b8
(lib) Bonus subtype is now stored as metaidentifier that can store any
...
other identifier inside it
2023-10-22 16:54:43 +03:00
fd01a25352
Implemented basic version of configurable Witch Hut
2023-10-16 00:12:38 +03:00
ebe155fa95
NKAI: mana recovery
2023-09-30 10:37:36 +03:00
823ffa7a07
Always use ResourcePath for referencing images and animations
2023-09-04 18:22:34 +03:00
62cd8b12d4
Converted several namespace enums to enum class
2023-08-25 13:38:02 +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
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