Settings: Adjust types some to fix saveload size mismatches

This commit is contained in:
Jonathan G Rennison 2023-12-17 13:33:21 +00:00
parent 2e06374f6f
commit a993b3e961
3 changed files with 4 additions and 4 deletions

View File

@ -65,14 +65,14 @@ enum IndustryDensity {
};
/** Possible values for "use_relay_service" setting. */
enum UseRelayService {
enum UseRelayService : uint8_t {
URS_NEVER = 0,
URS_ASK,
URS_ALLOW,
};
/** Possible values for "participate_survey" setting. */
enum ParticipateSurvey {
enum ParticipateSurvey : uint8_t {
PS_ASK = 0,
PS_NO,
PS_YES,

View File

@ -23,7 +23,7 @@ enum SignalVariant {
/** Type of signal, i.e. how does the signal behave? */
enum SignalType {
enum SignalType : uint8 {
SIGTYPE_NORMAL = 0, ///< normal signal
SIGTYPE_ENTRY = 1, ///< presignal block entry
SIGTYPE_EXIT = 2, ///< presignal block exit

View File

@ -16,7 +16,7 @@
/**
* Zoning evaluation modes
*/
enum ZoningEvaluationMode {
enum ZoningEvaluationMode : uint8 {
ZEM_NOTHING = 0, ///< No zoning action selected
ZEM_AUTHORITY, ///< Check the local authority's opinion.
ZEM_CAN_BUILD, ///< Check wither or not the player can build.