1- // Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org)
1+ // Copyright (C) 2005 - 2026 Settlers Freaks (sf-team at siedler25.org)
22//
33// SPDX-License-Identifier: GPL-2.0-or-later
44
1313
1414extern const helpers::EnumArray<const char *, BuildingType> BUILDING_NAMES ;
1515
16- constexpr helpers::EnumArray<BuildingCost, BuildingType> SUPPRESS_UNUSED BUILDING_COSTS = {
16+ constexpr helpers::EnumArray<BuildingCost, BuildingType> BUILDING_COSTS = {
1717 {{0 , 0 }, {2 , 0 }, {2 , 3 }, {2 , 0 }, {3 , 5 }, {4 , 4 }, {2 , 3 }, {4 , 7 }, {2 , 2 }, {4 , 7 }, {4 , 0 }, {4 , 0 }, {4 , 0 }, {4 , 0 },
1818 {4 , 0 }, {2 , 2 }, {4 , 2 }, {2 , 0 }, {2 , 0 }, {2 , 0 }, {2 , 0 }, {2 , 2 }, {2 , 0 }, {2 , 2 }, {2 , 2 }, {2 , 2 }, {2 , 2 }, {4 , 3 },
1919 {3 , 3 }, {4 , 3 }, {0 , 0 }, {2 , 2 }, {2 , 2 }, {2 , 2 }, {2 , 2 }, {2 , 0 }, {2 , 3 }, {3 , 3 }, {3 , 3 }, {4 , 6 }}};
2020
2121// Bauqualitäten der Gebäude
22- constexpr helpers::EnumArray<BuildingQuality, BuildingType> SUPPRESS_UNUSED BUILDING_SIZE = {
22+ constexpr helpers::EnumArray<BuildingQuality, BuildingType> BUILDING_SIZE = {
2323 {BuildingQuality::Castle, BuildingQuality::Hut, BuildingQuality::Hut, BuildingQuality::Hut,
2424 BuildingQuality::House, BuildingQuality::Castle, BuildingQuality::House, BuildingQuality::Castle,
2525 BuildingQuality::House, BuildingQuality::Castle, BuildingQuality::Mine, BuildingQuality::Mine,
@@ -31,7 +31,7 @@ constexpr helpers::EnumArray<BuildingQuality, BuildingType> SUPPRESS_UNUSED BUIL
3131 BuildingQuality::House, BuildingQuality::House, BuildingQuality::House, BuildingQuality::Hut,
3232 BuildingQuality::House, BuildingQuality::Castle, BuildingQuality::Castle, BuildingQuality::Harbor}};
3333
34- const helpers::EnumArray<BldWorkDescription, BuildingType> SUPPRESS_UNUSED BLD_WORK_DESC = {{
34+ constexpr helpers::EnumArray<BldWorkDescription, BuildingType> BLD_WORK_DESC = {{
3535 {}, // HQ
3636 {Job::Private, std::nullopt , WaresNeeded (GoodType::Coins), 1 },
3737 {Job::Private, std::nullopt , WaresNeeded (GoodType::Coins), 2 },
@@ -78,7 +78,7 @@ const helpers::EnumArray<BldWorkDescription, BuildingType> SUPPRESS_UNUSED BLD_W
7878extern const helpers::MultiEnumArray<SmokeConst, Nation, BuildingType> BUILDING_SMOKE_CONSTS ;
7979
8080// / Offset of the production-/gold- stop signs per building
81- constexpr helpers::MultiEnumArray<DrawPoint, Nation, BuildingType> SUPPRESS_UNUSED BUILDING_SIGN_CONSTS = {
81+ constexpr helpers::MultiEnumArray<DrawPoint, Nation, BuildingType> BUILDING_SIGN_CONSTS = {
8282 {// Nubier
8383 {{{0 , 0 }, {19 , -4 }, {19 , -3 }, {-14 , -1 }, {23 , -19 }, {22 , -7 }, {-8 , -10 }, {9 , -24 }, {-16 , -10 }, {29 , -23 },
8484 {-2 , -15 }, {2 , -13 }, {-5 , -16 }, {-5 , -15 }, {0 , 0 }, {22 , -6 }, {0 , 0 }, {4 , -16 }, {9 , -12 }, {7 , -10 },
@@ -110,7 +110,7 @@ extern const helpers::MultiEnumArray<DrawPoint, Nation, BuildingType> BUILDING_A
110110
111111// / Position der nubischen Feuer für alle 4 Bergwerke
112112// / (Granit, Kohle, Eisen, Gold)
113- constexpr std::array<DrawPoint, 4 > SUPPRESS_UNUSED NUBIAN_MINE_FIRE = {{
113+ constexpr std::array<DrawPoint, 4 > NUBIAN_MINE_FIRE = {{
114114 {31 , -18 },
115115 {34 , -10 },
116116 {30 , -11 },
0 commit comments