1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Removed #regions

This commit is contained in:
krs 2023-06-18 22:09:50 +03:00
parent 1cba41a3c3
commit b6ab1e1505
2 changed files with 2 additions and 6 deletions

View File

@ -446,7 +446,7 @@ std::set<BattleHex> BattleFieldController::getHighlightedHexesForMovementTarget(
return {};
}
#pragma region Range limit highlight helpers
// Range limit highlight helpers
std::vector<BattleHex> BattleFieldController::getRangeHexes(BattleHex sourceHex, uint8_t distance)
{
@ -577,8 +577,6 @@ void BattleFieldController::flipRangeLimitImagesIntoPositions(std::shared_ptr<CA
images->getImage(hexEdgeMaskToFrameIndex[HexMasks::bottomLeftCorner])->horizontalFlip();
}
#pragma endregion
void BattleFieldController::showHighlightedHexes(Canvas & canvas)
{
std::vector<BattleHex> rangedFullDamageLimitHexes;

View File

@ -60,7 +60,7 @@ class BattleFieldController : public CIntObject
std::set<BattleHex> getHighlightedHexesForSpellRange();
std::set<BattleHex> getHighlightedHexesForMovementTarget();
#pragma region Range limit highlight helpers
// Range limit highlight helpers
/// get all hexes within a certain distance of given hex
std::vector<BattleHex> getRangeHexes(BattleHex sourceHex, uint8_t distance);
@ -85,8 +85,6 @@ class BattleFieldController : public CIntObject
/// to reduce the number of source images used, some images will be used as flipped versions of preloaded ones
void flipRangeLimitImagesIntoPositions(std::shared_ptr<CAnimation> images);
#pragma endregion
void showBackground(Canvas & canvas);
void showBackgroundImage(Canvas & canvas);
void showBackgroundImageWithHexes(Canvas & canvas);