Codechange: Use EnumBitSet for GRFConfigFlags.

This is renamed from `GCF_Flag` didn't match convention.
This commit is contained in:
Peter Nelson
2025-02-02 10:49:45 +00:00
committed by Peter Nelson
parent 877fa54f66
commit 6f52a977a8
15 changed files with 86 additions and 80 deletions
+1 -1
View File
@@ -369,7 +369,7 @@ void SurveyGrfs(nlohmann::json &survey)
if ((c->palette & GRFP_BLT_MASK) == GRFP_BLT_UNSET) grf["blitter"] = "unset";
if ((c->palette & GRFP_BLT_MASK) == GRFP_BLT_32BPP) grf["blitter"] = "32bpp";
grf["is_static"] = HasBit(c->flags, GCF_STATIC);
grf["is_static"] = c->flags.Test(GRFConfigFlag::Static);
grf["parameters"] = std::span<const uint32_t>(c->param);
}
}