diff options
author | truelight <truelight@openttd.org> | 2004-08-11 21:35:52 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-08-11 21:35:52 +0000 |
commit | 0806a1ef751ddc7da59b3fc0ba33a1e74b69b659 (patch) | |
tree | 38c507dc38d3622747a42113e3dcbe4c48f811f2 /variables.h | |
parent | 6f8e7943c5568d4dfcc2dcac5a795e06ca4cf29f (diff) | |
download | openttd-0806a1ef751ddc7da59b3fc0ba33a1e74b69b659.tar.xz |
(svn r21) Remove: PE_BYTE (bit-bools) in favour of PE_BOOL
Diffstat (limited to 'variables.h')
-rw-r--r-- | variables.h | 12 |
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; |