summaryrefslogtreecommitdiff
path: root/src/slope_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-04-02 14:13:15 +0000
committerfrosch <frosch@openttd.org>2008-04-02 14:13:15 +0000
commit3e9baa7dfbbfed8d4d6575e086444bbf3325b64d (patch)
tree1c88a7fa03add5b3c621da72df5f777b12fdd26c /src/slope_type.h
parentae01e263adb089be274de856f54d359813c4a3d6 (diff)
downloadopenttd-3e9baa7dfbbfed8d4d6575e086444bbf3325b64d.tar.xz
(svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts.
Diffstat (limited to 'src/slope_type.h')
-rw-r--r--src/slope_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slope_type.h b/src/slope_type.h
index a61a09182..2ba12bf38 100644
--- a/src/slope_type.h
+++ b/src/slope_type.h
@@ -70,6 +70,7 @@ enum Slope {
SLOPE_HALFTILE_E = SLOPE_HALFTILE | (CORNER_E << 6), ///< the east halftile is leveled (non continuous slope)
SLOPE_HALFTILE_N = SLOPE_HALFTILE | (CORNER_N << 6), ///< the north halftile is leveled (non continuous slope)
};
+DECLARE_ENUM_AS_BIT_SET(Slope)
/**