summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
commiteeaa348f8bfafae1a6e56b857a97d9d23577dcac (patch)
tree51f15a2e52f58ea4446467086c5441cebe4324bf /src/train.h
parentb8885630aa9942ea924ffb6eeabc266140485435 (diff)
downloadopenttd-eeaa348f8bfafae1a6e56b857a97d9d23577dcac.tar.xz
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/train.h b/src/train.h
index 43fc7b9ae..ad31a4475 100644
--- a/src/train.h
+++ b/src/train.h
@@ -41,7 +41,7 @@ static inline bool IsFrontEngine(const Vehicle *v)
static inline void SetFrontEngine(Vehicle *v)
{
assert(v->type == VEH_TRAIN);
- SETBIT(v->subtype, Train_Front);
+ SetBit(v->subtype, Train_Front);
}
/** Remove the front engine state
@@ -69,7 +69,7 @@ static inline bool IsArticulatedPart(const Vehicle *v)
static inline void SetArticulatedPart(Vehicle *v)
{
assert(v->type == VEH_TRAIN);
- SETBIT(v->subtype, Train_Articulated_Part);
+ SetBit(v->subtype, Train_Articulated_Part);
}
/** Clear a vehicle from being an articulated part
@@ -97,7 +97,7 @@ static inline bool IsTrainWagon(const Vehicle *v)
static inline void SetTrainWagon(Vehicle *v)
{
assert(v->type == VEH_TRAIN);
- SETBIT(v->subtype, Train_Wagon);
+ SetBit(v->subtype, Train_Wagon);
}
/** Clear wagon property
@@ -125,7 +125,7 @@ static inline bool IsTrainEngine(const Vehicle *v)
static inline void SetTrainEngine(Vehicle *v)
{
assert(v->type == VEH_TRAIN);
- SETBIT(v->subtype, Train_Engine);
+ SetBit(v->subtype, Train_Engine);
}
/** Clear engine status
@@ -153,7 +153,7 @@ static inline bool IsFreeWagon(const Vehicle *v)
static inline void SetFreeWagon(Vehicle *v)
{
assert(v->type == VEH_TRAIN);
- SETBIT(v->subtype, Train_Free_Wagon);
+ SetBit(v->subtype, Train_Free_Wagon);
}
/** Clear a vehicle from being a free wagon
@@ -181,7 +181,7 @@ static inline bool IsMultiheaded(const Vehicle *v)
static inline void SetMultiheaded(Vehicle *v)
{
assert(v->type == VEH_TRAIN);
- SETBIT(v->subtype, Train_Multiheaded);
+ SetBit(v->subtype, Train_Multiheaded);
}
/** Clear multiheaded engine property