Răsfoiți Sursa

Removed #regions

krs 2 ani în urmă
părinte
comite
b6ab1e1505

+ 1 - 3
client/battle/BattleFieldController.cpp

@@ -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;

+ 1 - 3
client/battle/BattleFieldController.h

@@ -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);