|
@@ -95,7 +95,7 @@ public:
|
|
bool battleCanShoot(const battle::Unit * attacker, BattleHex dest) const; //determines if stack with given ID shoot at the selected destination
|
|
bool battleCanShoot(const battle::Unit * attacker, BattleHex dest) const; //determines if stack with given ID shoot at the selected destination
|
|
bool battleCanShoot(const battle::Unit * attacker) const; //determines if stack with given ID shoot in principle
|
|
bool battleCanShoot(const battle::Unit * attacker) const; //determines if stack with given ID shoot in principle
|
|
bool battleIsUnitBlocked(const battle::Unit * unit) const; //returns true if there is neighboring enemy stack
|
|
bool battleIsUnitBlocked(const battle::Unit * unit) const; //returns true if there is neighboring enemy stack
|
|
- std::set<const battle::Unit *> battleAdjacentUnits(const battle::Unit * unit) const;
|
|
|
|
|
|
+ battle::Units battleAdjacentUnits(const battle::Unit * unit) const;
|
|
|
|
|
|
DamageEstimation calculateDmgRange(const BattleAttackInfo & info) const;
|
|
DamageEstimation calculateDmgRange(const BattleAttackInfo & info) const;
|
|
|
|
|
|
@@ -173,4 +173,4 @@ protected:
|
|
BattleHexArray getStoppers(BattleSide whichSidePerspective) const; //get hexes with stopping obstacles (quicksands)
|
|
BattleHexArray getStoppers(BattleSide whichSidePerspective) const; //get hexes with stopping obstacles (quicksands)
|
|
};
|
|
};
|
|
|
|
|
|
-VCMI_LIB_NAMESPACE_END
|
|
|
|
|
|
+VCMI_LIB_NAMESPACE_END
|