From 56cb84a00476bcadc50d9c81d3cf927dcc9ce797 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 17 Oct 2021 17:02:29 +0300 Subject: [PATCH 33/33] Capitalize 'U' in internal names of StartUnit unit type flags This makes them consistent with what is used and documented in supplied rulesets. Reported by ddeanbrown See osdn #43001 Signed-off-by: Marko Lindqvist --- common/unittype.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/common/unittype.h b/common/unittype.h index 0b0ed42c91..c05d0342a8 100644 --- a/common/unittype.h +++ b/common/unittype.h @@ -374,36 +374,36 @@ struct unit_class { /* sea raider unit, global tech required */ #define SPECENUM_VALUE89 L_BARBARIAN_SEA_TECH #define SPECENUM_VALUE89NAME N_("?unitflag:BarbarianSeaTech") -/* Startunit: Cities */ +/* StartUnit: Cities */ #define SPECENUM_VALUE90 L_START_CITIES -#define SPECENUM_VALUE90NAME N_("?unitflag:CitiesStartunit") -/* Startunit: Worker */ +#define SPECENUM_VALUE90NAME N_("?unitflag:CitiesStartUnit") +/* StartUnit: Worker */ #define SPECENUM_VALUE91 L_START_WORKER -#define SPECENUM_VALUE91NAME N_("?unitflag:WorkerStartunit") -/* Startunit: Explorer */ +#define SPECENUM_VALUE91NAME N_("?unitflag:WorkerStartUnit") +/* StartUnit: Explorer */ #define SPECENUM_VALUE92 L_START_EXPLORER -#define SPECENUM_VALUE92NAME N_("?unitflag:ExplorerStartunit") -/* Startunit: King */ +#define SPECENUM_VALUE92NAME N_("?unitflag:ExplorerStartUnit") +/* StartUnit: King */ #define SPECENUM_VALUE93 L_START_KING -#define SPECENUM_VALUE93NAME N_("?unitflag:KingStartunit") -/* Startunit: Diplomat */ +#define SPECENUM_VALUE93NAME N_("?unitflag:KingStartUnit") +/* StartUnit: Diplomat */ #define SPECENUM_VALUE94 L_START_DIPLOMAT -#define SPECENUM_VALUE94NAME N_("?unitflag:DiplomatStartunit") -/* Startunit: Ferryboat */ +#define SPECENUM_VALUE94NAME N_("?unitflag:DiplomatStartUnit") +/* StartUnit: Ferryboat */ #define SPECENUM_VALUE95 L_START_FERRY -#define SPECENUM_VALUE95NAME N_("?unitflag:FerryStartunit") -/* Startunit: DefendOk */ +#define SPECENUM_VALUE95NAME N_("?unitflag:FerryStartUnit") +/* StartUnit: DefendOk */ #define SPECENUM_VALUE96 L_START_DEFEND_OK -#define SPECENUM_VALUE96NAME N_("?unitflag:DefendOkStartunit") -/* Startunit: DefendGood */ +#define SPECENUM_VALUE96NAME N_("?unitflag:DefendOkStartUnit") +/* StartUnit: DefendGood */ #define SPECENUM_VALUE97 L_START_DEFEND_GOOD -#define SPECENUM_VALUE97NAME N_("?unitflag:DefendGoodStartunit") -/* Startunit: AttackFast */ +#define SPECENUM_VALUE97NAME N_("?unitflag:DefendGoodStartUnit") +/* StartUnit: AttackFast */ #define SPECENUM_VALUE98 L_START_ATTACK_FAST -#define SPECENUM_VALUE98NAME N_("?unitflag:AttackFastStartunit") -/* Startunit: AttackStrong */ +#define SPECENUM_VALUE98NAME N_("?unitflag:AttackFastStartUnit") +/* StartUnit: AttackStrong */ #define SPECENUM_VALUE99 L_START_ATTACK_STRONG -#define SPECENUM_VALUE99NAME N_("?unitflag:AttackStrongStartunit") +#define SPECENUM_VALUE99NAME N_("?unitflag:AttackStrongStartUnit") /* AI hunter type unit */ #define SPECENUM_VALUE100 L_HUNTER #define SPECENUM_VALUE100NAME N_("?unitflag:Hunter") -- 2.33.0