summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-01-24 14:49:40 +0000
committerfrosch <frosch@openttd.org>2008-01-24 14:49:40 +0000
commit79aa7247c06c08cefed039c37e858f0af0ad6de8 (patch)
tree5abb333f3eb03cfeb59c22b8e8fe033f2515a44c /src/newgrf.h
parent5f9a877376080a2e668d2c8b2a18981c30b11f1d (diff)
downloadopenttd-79aa7247c06c08cefed039c37e858f0af0ad6de8.tar.xz
(svn r11973) -Fix (r11726, r11947)[FS#1683]: Use grass tiles for corner shores, if shores got replaced by ActionA.
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index a0aa19172..dfd33f693 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -85,10 +85,18 @@ struct GRFFile {
extern GRFFile *_first_grffile;
+enum ShoreReplacement {
+ SHORE_REPLACE_NONE, ///< No shore sprites were replaced.
+ SHORE_REPLACE_ACTION_5, ///< Shore sprites were replaced by Action5.
+ SHORE_REPLACE_ACTION_A, ///< Shore sprites were replaced by ActionA (using grass tiles for the corner-shores).
+ SHORE_REPLACE_ONLY_NEW, ///< Only corner-shores were loaded by Action5 (openttd(w/d).grf only).
+};
+
struct GRFLoadedFeatures {
bool has_2CC; ///< Set if any vehicle is loaded which uses 2cc (two company colours).
bool has_newhouses; ///< Set if there are any newhouses loaded.
bool has_newindustries; ///< Set if there are any newindustries loaded.
+ ShoreReplacement shore; ///< It which way shore sprites were replaced.
};
/* Indicates which are the newgrf features currently loaded ingame */