Ivan Savenko
|
2362c6da21
Fixes for multiple new issues from Sonar
|
8 ay önce |
Ivan Savenko
|
5c8c69e665
Smarter logic for determining whether hex is inside the walls
|
8 ay önce |
Ivan Savenko
|
abc7168ff6
Consider units on wall hexes as 'inside' town for tower target selection
|
8 ay önce |
Ivan Savenko
|
f858a6e04b
Merge pull request #5266 from MichalZr6/battlefield
|
8 ay önce |
MichalZr6
|
30bd975f95
Use unit->getHexes()
|
9 ay önce |
MichalZr6
|
ecdd394bb1
Use BattleHex as const ref wherever possible
|
9 ay önce |
Ivan Savenko
|
b33b880482
Do not add dead units as 'adjacent', since all callers assume this
|
9 ay önce |
Ivan Savenko
|
5bfc837a8f
Fix regressions from battlehex PR (mostly related to towers)
|
9 ay önce |
Ivan Savenko
|
48473b18f6
move checks for invincible bonus to UnitState & cache
|
9 ay önce |
Ivan Savenko
|
40bff74195
Use small vector for unit list
|
9 ay önce |
Ivan Savenko
|
5375d61d1b
Optimize battleAdjacentUnits method
|
9 ay önce |
MichalZr6
|
dbe82b94f6
Changes following review:
|
9 ay önce |
MichalZr6
|
4031006317
Drop battle elapsed time measurement, restore avHexes.
|
9 ay önce |
MichalZr6
|
dad6437661
Refactor BattleHex, remake the use of precomputed neighbouring tiles containers.
|
9 ay önce |
MichalZr6
|
ac8104d56d
SonarCloud recomendations.
|
9 ay önce |
MichalZr6
|
7a8edff419
minor fixes
|
10 ay önce |
MichalZr6
|
fb9a3da651
Unit.cpp refactor and some other minor changes
|
10 ay önce |
MichalZr6
|
e3516120d8
Refactor destructibleEnemyTurns
|
10 ay önce |
MichalZr6
|
5f799d41b3
Use cached neighbouring tiles where possible
|
11 ay önce |
MichalZr6
|
a99274d72e
BattleHexArray - new container for BattleHexes
|
1 yıl önce |
Ivan Savenko
|
157d6d30c8
Move rest of commonly-accessed UnitState queries to bonus cache
|
9 ay önce |
Ivan Savenko
|
95a07ee5cb
Use bonus system cache whenever possible
|
10 ay önce |
Ivan Savenko
|
4f80ccd648
Small micro-optimizations for code that gets called A LOT
|
10 ay önce |
Laserlicht
|
3c4064e09d
prism attack fix
|
11 ay önce |
Laserlicht
|
0991f02282
Bonus: prism breath
|
1 yıl önce |
Ivan Savenko
|
c0f5c7c0ea
Replace pointer with reference in pack apply functions
|
1 yıl önce |
Ivan Savenko
|
19db016473
Merge pull request #4654 from dydzio0614/any-hex-shooting
|
1 yıl önce |
Dydzio
|
5dda4aa0f0
Remove overly strict condition
|
1 yıl önce |
Dydzio
|
bb69ab1a1a
Fix assert and condition for counting spell hexes
|
1 yıl önce |
Dydzio
|
bf9a9283a4
Make any hex shooting possibility configurable
|
1 yıl önce |