Codechange: make Shade a scoped enum (#15571)

Renamed from `ColourShade` to `Shade` for brevity.
This commit is contained in:
Peter Nelson
2026-05-03 15:07:29 +01:00
committed by GitHub
parent 420abb3865
commit 7e624beadc
28 changed files with 86 additions and 84 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ void BuildOwnerLegend()
int i = NUM_NO_COMPANY_ENTRIES;
for (const Company *c : Company::Iterate()) {
_legend_land_owners[i].colour = GetColourGradient(c->colour, SHADE_LIGHT);
_legend_land_owners[i].colour = GetColourGradient(c->colour, Shade::Light);
_legend_land_owners[i].company = c->index;
_legend_land_owners[i].show_on_map = true;
_legend_land_owners[i].col_break = false;