diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-19 21:32:20 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-19 21:32:20 +0000 |
commit | 5c31a973a1dae47f351d4dc9e0451b3341c400f8 (patch) | |
tree | 7d43b1e4a7bf1344b1d4cfb2dc2618720a0040e8 /src/train.h | |
parent | 71c4325c50ae594a5adf01cac7c9e527b239cdcb (diff) | |
download | openttd-5c31a973a1dae47f351d4dc9e0451b3341c400f8.tar.xz |
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/train.h')
-rw-r--r-- | src/train.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/train.h b/src/train.h index 653ba2543..43fc7b9ae 100644 --- a/src/train.h +++ b/src/train.h @@ -50,7 +50,7 @@ static inline void SetFrontEngine(Vehicle *v) static inline void ClearFrontEngine(Vehicle *v) { assert(v->type == VEH_TRAIN); - CLRBIT(v->subtype, Train_Front); + ClrBit(v->subtype, Train_Front); } /** Check if a vehicle is an articulated part of an engine @@ -78,7 +78,7 @@ static inline void SetArticulatedPart(Vehicle *v) static inline void ClearArticulatedPart(Vehicle *v) { assert(v->type == VEH_TRAIN); - CLRBIT(v->subtype, Train_Articulated_Part); + ClrBit(v->subtype, Train_Articulated_Part); } /** Check if a vehicle is a wagon @@ -106,7 +106,7 @@ static inline void SetTrainWagon(Vehicle *v) static inline void ClearTrainWagon(Vehicle *v) { assert(v->type == VEH_TRAIN); - CLRBIT(v->subtype, Train_Wagon); + ClrBit(v->subtype, Train_Wagon); } /** Check if a vehicle is an engine (can be first in a train) @@ -134,7 +134,7 @@ static inline void SetTrainEngine(Vehicle *v) static inline void ClearTrainEngine(Vehicle *v) { assert(v->type == VEH_TRAIN); - CLRBIT(v->subtype, Train_Engine); + ClrBit(v->subtype, Train_Engine); } /** Check if a vehicle is a free wagon (got no engine in front of it) @@ -162,7 +162,7 @@ static inline void SetFreeWagon(Vehicle *v) static inline void ClearFreeWagon(Vehicle *v) { assert(v->type == VEH_TRAIN); - CLRBIT(v->subtype, Train_Free_Wagon); + ClrBit(v->subtype, Train_Free_Wagon); } /** Check if a vehicle is a multiheaded engine @@ -190,7 +190,7 @@ static inline void SetMultiheaded(Vehicle *v) static inline void ClearMultiheaded(Vehicle *v) { assert(v->type == VEH_TRAIN); - CLRBIT(v->subtype, Train_Multiheaded); + ClrBit(v->subtype, Train_Multiheaded); } /** Check if an engine has an articulated part. |