summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/variables.h b/variables.h
index 4ea87f939..ba7c8725e 100644
--- a/variables.h
+++ b/variables.h
@@ -129,7 +129,10 @@ typedef struct Patches {
bool build_in_pause; // build while in pause mode
bool bridge_pillars; // show bridge pillars for high bridges
- byte ai_disable_veh; // mask of vehicle types to disable for ai
+ bool ai_disable_veh_train; // disable types for AI
+ bool ai_disable_veh_roadveh; // disable types for AI
+ bool ai_disable_veh_aircraft; // disable types for AI
+ bool ai_disable_veh_ship; // disable types for AI
uint32 starting_date; // starting date
uint32 colored_news_date; // when does newspaper become colored?
@@ -149,13 +152,6 @@ typedef struct Patches {
} Patches;
-enum {
- DISABLE_TRAINS = 1<<0,
- DISABLE_ROADVEH = 1 << 1,
- DISABLE_AIRCRAFT = 1 << 2,
- DISABLE_SHIPS = 1 << 3,
-};
-
VARDEF Patches _patches;