Andrii Danylchenko
|
adfcb650e2
|
NKAI: object graph fixes
|
2024-03-25 21:04:08 +02:00 |
|
Andrii Danylchenko
|
419d6a648b
|
NKAI: optimize clusterization and pathfinding for object graph
|
2024-03-24 09:32:54 +02:00 |
|
Andrii Danylchenko
|
bec2c0cac2
|
NKAI: fix sonar and refactoring
|
2024-03-10 15:14:15 +02:00 |
|
Andrii Danylchenko
|
5f8a157c6d
|
NKAI: rollback changes with removing scan depth
|
2024-03-03 10:21:17 +02:00 |
|
Andrii Danylchenko
|
b236384356
|
NKAI: graph add battle layer
|
2024-03-02 15:54:05 +02:00 |
|
Andrii Danylchenko
|
376a17409f
|
NKAI: initial implementation of object graph
|
2024-03-02 15:52:45 +02:00 |
|
Andrii Danylchenko
|
35429eab52
|
NKAI: moddable configuration
|
2024-03-01 22:03:07 +02:00 |
|
Ivan Savenko
|
7359b66f99
|
Do not use floating point equality checks
|
2024-02-14 12:07:07 +02:00 |
|
Ivan Savenko
|
4c70abbeb5
|
Reduced usage of global variables - removed or made const / constexpr
|
2024-02-12 13:49:45 +02:00 |
|
Ivan Savenko
|
a9866bb5c6
|
Added RandomGeneratorUtil::nextItemWeighted convenience method
|
2024-01-31 00:17:40 +02:00 |
|
Ivan Savenko
|
ea1f05d15a
|
Stabilization
|
2024-01-19 13:55:22 +02:00 |
|
Ivan Savenko
|
a15366f5a5
|
Make IObjectInterface::cb non-static
|
2024-01-19 13:55:21 +02:00 |
|
Ivan Savenko
|
d5c4478816
|
Remove most of non-const access to VLC entities
|
2024-01-19 13:54:49 +02:00 |
|
Ivan Savenko
|
bd5682ecc3
|
Merge remote-tracking branch 'vcmi/master' into develop
|
2024-01-19 13:49:54 +02:00 |
|
Ivan Savenko
|
0d0d3d8c80
|
Renamed speed -> getMovementRange, remove misleading default parameter
|
2024-01-14 17:14:36 +02:00 |
|
Joakim Thorén
|
daf9f9f7f5
|
Re-add const that was erronously removed with 88ec4fa
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
|
2023-12-30 11:01:21 +01:00 |
|
Joakim Thorén
|
88ec4fa0e7
|
Use getTileThreat-helper instead of directly accessing hitMap with tile coordinates
|
2023-12-29 23:12:06 +01:00 |
|
Joakim Thorén
|
61314a36f6
|
Fix copy-paste mistake
|
2023-12-27 22:35:43 +01:00 |
|
Joakim Thorén
|
406d136cdc
|
Fixes warnings about possibly dangling references
|
2023-12-27 22:24:58 +01:00 |
|
Ivan Savenko
|
60ca6f968c
|
Fix hero limit check in AI
|
2023-11-27 14:08:49 +02:00 |
|
Ivan Savenko
|
8346d71c98
|
Remove more subID access
|
2023-11-01 14:44:05 +02:00 |
|
Alexander Wilms
|
0a6c82c639
|
AI/Nullkiller/Behaviors/DefenceBehavior.{h,cpp}: treat -> threat
|
2023-10-27 23:34:11 +00:00 |
|
Ivan Savenko
|
4f47555977
|
Split OBJECT bonus source into OBJECT_TYPE and OBJECT_INSTANCE
|
2023-10-22 16:55:19 +03:00 |
|
Ivan Savenko
|
ac925bb786
|
Renamed new types for consistency with code style
|
2023-10-22 16:55:19 +03:00 |
|
Ivan Savenko
|
b394158dc9
|
Bonus Source ID now uses metaidentifier
|
2023-10-22 16:55:18 +03:00 |
|
Ivan Savenko
|
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 |
|
Andrii Danylchenko
|
ebe155fa95
|
NKAI: mana recovery
|
2023-09-30 10:37:36 +03:00 |
|
Andrii Danylchenko
|
2dd0d76412
|
NKAI: water and air walking
|
2023-09-30 10:37:32 +03:00 |
|
nordsoft
|
5f2023c8d5
|
Fix typo
|
2023-09-23 04:33:08 +02:00 |
|
Andrii Danylchenko
|
a005829a57
|
NKAI: cancel checking building which needs itself as prerequisite
|
2023-09-16 11:04:28 +03:00 |
|
Ivan Savenko
|
e54287ea5d
|
Converted remaining identifier to new system
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
0240ee886d
|
Converted (almost) all namespace enum's to enum classes
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
17d3d663ee
|
Converted creature ID and spell ID to new form
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
d83aa828f6
|
Fix turn ending
|
2023-08-24 23:34:33 +03:00 |
|
Ivan Savenko
|
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 |
|
Andrii Danylchenko
|
a4297ebdf6
|
NKAI: fix potential concurrency and town treat calculation
|
2023-08-06 08:57:14 +03:00 |
|
Andrii Danylchenko
|
4c0aae6fbd
|
NKAI: fix crash for specific map
|
2023-07-31 22:01:12 +03:00 |
|
Andrii Danylchenko
|
ccfc6f5716
|
NKAI: increase towns priority, buy heroes more often
|
2023-07-31 22:01:12 +03:00 |
|
Andrii Danylchenko
|
ec0596f3dd
|
NKAI: fix error message can not take away last stack
|
2023-07-31 22:01:12 +03:00 |
|
Andrii Danylchenko
|
f1a9ae99ee
|
NKAI: various behavior fixes, undo max_gold_preasure
|
2023-07-31 22:01:12 +03:00 |
|
Andrii Danylchenko
|
fb7477047a
|
NKAI: loosen gold presure on build system.
|
2023-07-31 22:01:12 +03:00 |
|
Andrii Danylchenko
|
6490c65490
|
nkai: fix freezes
|
2023-07-31 22:01:12 +03:00 |
|
Andrii Danylchenko
|
c93bb0a502
|
nkai: fixes and skill rewards
|
2023-07-31 22:01:11 +03:00 |
|
Andrii Danylchenko
|
5083100d3b
|
NKA: fix accessing removed hero and heroExchangeCount
|
2023-07-31 22:01:11 +03:00 |
|
Andrii Danylchenko
|
69ceee5dd6
|
NKAI: penalty for extra chains
|
2023-07-31 22:01:11 +03:00 |
|
Andrii Danylchenko
|
6ba74f02bc
|
NKAI: playing around with defence
|
2023-07-31 22:01:11 +03:00 |
|
Andrii Danylchenko
|
b19ac01bf9
|
Fuzzy rework, added more defence and gather army routines
|
2023-07-31 22:01:10 +03:00 |
|
Ivan Savenko
|
85262cf4f5
|
Moved CGameState files into a separate directory
|
2023-06-26 17:15:59 +03:00 |
|
Ivan Savenko
|
acac42291e
|
Remove excessive CMap.h includes
|
2023-05-31 23:18:38 +03:00 |
|
Andrii Danylchenko
|
0829593356
|
NKAI: composite pathfinder actions and fix for guarded bordergate
|
2023-05-07 09:15:37 +03:00 |
|