summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-04-27 21:35:02 +0000
committermaedhros <maedhros@openttd.org>2007-04-27 21:35:02 +0000
commit889f2ab48c9e5f95e0f2fc93a9d75e866d87a346 (patch)
treeaa6645ca8e8c06f7695870287f42ae02224cf936 /src/newgrf.h
parente1057864d8254e35854918b2b60db6dc43025ecf (diff)
downloadopenttd-889f2ab48c9e5f95e0f2fc93a9d75e866d87a346.tar.xz
(svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles.
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index 28972df30..0ee155af0 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -23,6 +23,14 @@ enum GrfLoadingStage {
DECLARE_POSTFIX_INCREMENT(GrfLoadingStage);
+enum GrfMiscBit {
+ GMB_DESERT_TREES_FIELDS = 0, // Unsupported.
+ GMB_DESERT_PAVED_ROADS = 1,
+ GMB_FIELD_BOUNDING_BOX = 2, // Unsupported.
+ GMB_TRAIN_WIDTH_32_PIXELS = 3,
+ GMB_AMBIENT_SOUND_CALLBACK = 4, // Unsupported.
+ GMB_CATENARY_ON_3RD_TRACK = 5, // Unsupported.
+};
struct GRFLabel {
byte label;
@@ -85,4 +93,6 @@ void ReloadNewGRFData(); // in openttd.cpp
void CDECL grfmsg(int severity, const char *str, ...);
+bool HasGrfMiscBit(GrfMiscBit bit);
+
#endif /* NEWGRF_H */