Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)

This commit is contained in:
Peter Nelson
2025-01-28 22:17:34 +00:00
committed by GitHub
parent 6fda85c569
commit afc0745aa2
180 changed files with 371 additions and 367 deletions

View File

@@ -24,7 +24,7 @@ void BuildLandLegend();
void BuildOwnerLegend();
/** Enum for how to include the heightmap pixels/colours in small map related functions */
enum class IncludeHeightmap {
enum class IncludeHeightmap : uint8_t {
Never, ///< Never include the heightmap
IfEnabled, ///< Only include the heightmap if its enabled in the gui by the player
Always ///< Always include the heightmap