variables.h
changeset 20 13a47054d81e
parent 11 836bc4b37b5b
child 26 4c08274a29dc
--- a/variables.h	Wed Aug 11 10:15:38 2004 +0000
+++ b/variables.h	Wed Aug 11 21:35:52 2004 +0000
@@ -129,7 +129,10 @@
 	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 @@
 
 } Patches;
 
-enum {
-	DISABLE_TRAINS = 1<<0,
-	DISABLE_ROADVEH = 1 << 1,
-	DISABLE_AIRCRAFT = 1 << 2,
-	DISABLE_SHIPS = 1 << 3,
-};
-
 VARDEF Patches _patches;