mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Settings: Adjust types some to fix saveload size mismatches
This commit is contained in:
parent
2e06374f6f
commit
a993b3e961
@ -65,14 +65,14 @@ enum IndustryDensity {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** Possible values for "use_relay_service" setting. */
|
/** Possible values for "use_relay_service" setting. */
|
||||||
enum UseRelayService {
|
enum UseRelayService : uint8_t {
|
||||||
URS_NEVER = 0,
|
URS_NEVER = 0,
|
||||||
URS_ASK,
|
URS_ASK,
|
||||||
URS_ALLOW,
|
URS_ALLOW,
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Possible values for "participate_survey" setting. */
|
/** Possible values for "participate_survey" setting. */
|
||||||
enum ParticipateSurvey {
|
enum ParticipateSurvey : uint8_t {
|
||||||
PS_ASK = 0,
|
PS_ASK = 0,
|
||||||
PS_NO,
|
PS_NO,
|
||||||
PS_YES,
|
PS_YES,
|
||||||
|
@ -23,7 +23,7 @@ enum SignalVariant {
|
|||||||
|
|
||||||
|
|
||||||
/** Type of signal, i.e. how does the signal behave? */
|
/** Type of signal, i.e. how does the signal behave? */
|
||||||
enum SignalType {
|
enum SignalType : uint8 {
|
||||||
SIGTYPE_NORMAL = 0, ///< normal signal
|
SIGTYPE_NORMAL = 0, ///< normal signal
|
||||||
SIGTYPE_ENTRY = 1, ///< presignal block entry
|
SIGTYPE_ENTRY = 1, ///< presignal block entry
|
||||||
SIGTYPE_EXIT = 2, ///< presignal block exit
|
SIGTYPE_EXIT = 2, ///< presignal block exit
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
/**
|
/**
|
||||||
* Zoning evaluation modes
|
* Zoning evaluation modes
|
||||||
*/
|
*/
|
||||||
enum ZoningEvaluationMode {
|
enum ZoningEvaluationMode : uint8 {
|
||||||
ZEM_NOTHING = 0, ///< No zoning action selected
|
ZEM_NOTHING = 0, ///< No zoning action selected
|
||||||
ZEM_AUTHORITY, ///< Check the local authority's opinion.
|
ZEM_AUTHORITY, ///< Check the local authority's opinion.
|
||||||
ZEM_CAN_BUILD, ///< Check wither or not the player can build.
|
ZEM_CAN_BUILD, ///< Check wither or not the player can build.
|
||||||
|
Loading…
Reference in New Issue
Block a user