Ivan Savenko
|
9b8145f522
|
Compute creature speed only once during evaluation
|
2023-11-18 19:41:29 +02:00 |
|
Alexander Wilms
|
5cbc75d3b7
|
Merge remote-tracking branch 'upstream/develop' into develop
|
2023-10-29 13:35:37 +00:00 |
|
Alexander Wilms
|
457e73ed12
|
AI/BattleAI/BattleExchangeVariant.cpp: Do not assign data members in a constructor. Initialize members in an initialization list.
Member data should be initialized in-class or in a constructor initialization list
|
2023-10-27 23:34:11 +00:00 |
|
Alexander Wilms
|
b10b1a5444
|
AI/BattleAI/BattleExchangeVariant.cpp: This function should be declared "const".
Member functions that don't mutate their objects should be declared "const"
|
2023-10-27 23:34:11 +00:00 |
|
Andrii Danylchenko
|
f74daa2e1f
|
BattleAI: fix health bounty calculation
|
2023-10-22 22:06:42 +03:00 |
|
Andrii Danylchenko
|
870fbd50e3
|
BattleAI: bigger reachability map
|
2023-10-22 21:37:55 +03:00 |
|
Andrii Danylchenko
|
9eb9404f28
|
BattleAI: divide only positive part of score onto turns count
|
2023-10-22 21:37:54 +03:00 |
|
Andrii Danylchenko
|
5f13a0bbda
|
BattleAI: spellcast fixes and floating point score
|
2023-08-26 14:17:33 +03:00 |
|
Andrii Danylchenko
|
dc88f14e0b
|
BattleAI: positive/negative effect multiplier
|
2023-08-26 13:06:51 +03:00 |
|
Andrii Danylchenko
|
274bf739b8
|
BattleAI: damage cache and switch to different model of spells evaluation
|
2023-08-26 13:06:51 +03:00 |
|
Ivan Savenko
|
0240ee886d
|
Converted (almost) all namespace enum's to enum classes
|
2023-08-25 13:38:02 +03:00 |
|
Andrii Danylchenko
|
ba9998ac66
|
BattleAI: fast targets optimization
|
2023-08-08 20:10:29 +03:00 |
|
Andrii Danylchenko
|
fe65edd55d
|
BattleAI: stacks should not measure damage against turret
|
2023-05-10 09:22:13 +03:00 |
|
Konstantin
|
05eccbc2bb
|
vcmi: split bonus to enumerator and HeroBonus.h
|
2023-05-03 18:01:06 +03:00 |
|
Konstantin
|
fbc05c70ac
|
vcmi: camelCase methods of new classes
Also use EGameSettings for clamping morale and luck
|
2023-05-02 12:09:13 +03:00 |
|
Ivan Savenko
|
dfa2e2a349
|
Merge beta into develop
|
2023-04-11 19:37:35 +03:00 |
|
Andrii Danylchenko
|
737c34b8c6
|
BattleAI: avoid selfblocking on siege
|
2023-04-09 16:22:37 +03:00 |
|
Konstantin
|
e0715a76c8
|
vcmi: reduce CStack usage a little bit
|
2023-04-04 23:02:54 +03:00 |
|
Ivan Savenko
|
970981cfc9
|
Show information on potential kills in attack tooltip
|
2023-03-24 17:18:47 +02:00 |
|
Ivan Savenko
|
31147ac83b
|
refactoring: TDmgRange pair -> DamageRange struct
|
2023-03-23 17:49:33 +02:00 |
|
Ivan Savenko
|
b86969909a
|
Fixes compilation due to changes in callback interface
|
2023-01-20 15:18:10 +02:00 |
|
Ivan Savenko
|
eb20a4b208
|
Merge remote-tracking branch 'vcmi/develop' into warnings_fix
|
2022-12-23 14:40:45 +02:00 |
|
Andrii Danylchenko
|
59c3962e9c
|
BattleAI: fix camera obscura
|
2022-12-10 22:08:16 +02:00 |
|
Ivan Savenko
|
3219e322ae
|
Fixed all non-silenced gcc/clang warnings
|
2022-12-07 18:05:47 +02:00 |
|
Andrii Danylchenko
|
ebf4854801
|
Battle AI: add some comments + refactoring
|
2022-10-23 11:41:03 +03:00 |
|
Andrii Danylchenko
|
601ced3749
|
BattleAI: rework movement when no targtes
|
2022-10-23 11:41:03 +03:00 |
|
Andrii Danylchenko
|
033a585e4b
|
Battle AI 2 turns attacks recalculation
|
2022-10-23 11:41:03 +03:00 |
|