From 0806a1ef751ddc7da59b3fc0ba33a1e74b69b659 Mon Sep 17 00:00:00 2001 From: truelight Date: Wed, 11 Aug 2004 21:35:52 +0000 Subject: (svn r21) Remove: PE_BYTE (bit-bools) in favour of PE_BOOL --- variables.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'variables.h') 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; -- cgit v1.2.3-54-g00ecf