1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
Files
vcmi/client/battle
Andrej Dudenhefner e72dcce8ba refactor logic to CBattleInfoCallback and leave UI in BattleFieldController, BattleActionsController
- move fromWhichHexAttack to CBattleInfoCallback
- add toWhichHexMove (unifying incoherent duplicates)
- add battleGetOccupiableHexes
- add battleCanAttackHex for spatial attack check
- add battleCanAttackUnit for non-spatial attack check
- add headDirection to Unit (removing destShiftDir from CStack)
- remove redundant game logic from selectAttackDirection
- remove redundant game logic from BattleFieldController and BattleActionsController
- fix no consideration for double-wide tail attack in BattleFlowProcessor
- fix #6302 wrong moat stopping condition
- throw exception on attacker nullptr in battleCanAttackHex, fromWhichHexAttack
- safer actionIsLegal on attack, move
- remove redundant canStackMoveHere from ui code
- throw exception on nullptr unit in battleGetOccupiableHexes
- ensure activeStack in redrawBackgroundWithHexes
- test point validity in selectAttackDirection
2025-11-13 09:15:56 +01:00
..
2025-06-19 21:14:22 +03:00
2025-06-19 21:14:22 +03:00
2025-06-19 21:14:22 +03:00
2025-06-19 21:14:22 +03:00
2025-10-26 01:02:51 +02:00
2025-10-24 00:56:20 +02:00
2025-10-03 03:41:59 +02:00
2025-07-06 00:52:57 +02:00
2025-06-19 21:14:22 +03:00
2025-07-19 16:46:22 +02:00
2025-07-06 00:52:57 +02:00
2025-06-18 17:38:26 +03:00
2025-06-19 21:14:22 +03:00
2025-06-18 17:38:26 +03:00
2025-10-03 03:41:59 +02:00