variables.h
changeset 20 13a47054d81e
parent 11 836bc4b37b5b
child 26 4c08274a29dc
equal deleted inserted replaced
19:6080d2b6a959 20:13a47054d81e
   127 	uint16 pf_maxlength;		// maximum length when searching for a train route for new pathfinder
   127 	uint16 pf_maxlength;		// maximum length when searching for a train route for new pathfinder
   128 
   128 
   129 	bool build_in_pause;		// build while in pause mode
   129 	bool build_in_pause;		// build while in pause mode
   130 	bool bridge_pillars;		// show bridge pillars for high bridges
   130 	bool bridge_pillars;		// show bridge pillars for high bridges
   131 
   131 
   132 	byte ai_disable_veh;		// mask of vehicle types to disable for ai
   132 	bool ai_disable_veh_train;		// disable types for AI
       
   133 	bool ai_disable_veh_roadveh;		// disable types for AI
       
   134 	bool ai_disable_veh_aircraft;		// disable types for AI
       
   135 	bool ai_disable_veh_ship;		// disable types for AI
   133 	uint32 starting_date;		// starting date
   136 	uint32 starting_date;		// starting date
   134 	uint32 colored_news_date; // when does newspaper become colored?
   137 	uint32 colored_news_date; // when does newspaper become colored?
   135 
   138 
   136 	bool keep_all_autosave;		// name the autosave in a different way.
   139 	bool keep_all_autosave;		// name the autosave in a different way.
   137 	bool extra_dynamite;			// extra dynamite
   140 	bool extra_dynamite;			// extra dynamite
   146 
   149 
   147 	byte wait_oneway_signal;	//waitingtime in days before a oneway signal
   150 	byte wait_oneway_signal;	//waitingtime in days before a oneway signal
   148 	byte wait_twoway_signal;	//waitingtime in days before a twoway signal
   151 	byte wait_twoway_signal;	//waitingtime in days before a twoway signal
   149 
   152 
   150 } Patches;
   153 } Patches;
   151 
       
   152 enum {
       
   153 	DISABLE_TRAINS = 1<<0,
       
   154 	DISABLE_ROADVEH = 1 << 1,
       
   155 	DISABLE_AIRCRAFT = 1 << 2,
       
   156 	DISABLE_SHIPS = 1 << 3,
       
   157 };
       
   158 
   154 
   159 VARDEF Patches _patches;
   155 VARDEF Patches _patches;
   160 
   156 
   161 
   157 
   162 typedef struct Cheat {
   158 typedef struct Cheat {