diff options
author | frosch <frosch@openttd.org> | 2008-01-24 14:49:40 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-01-24 14:49:40 +0000 |
commit | 4a1ad2c85f7cdcedd15df911b7070b453e9047f8 (patch) | |
tree | 5abb333f3eb03cfeb59c22b8e8fe033f2515a44c /src/newgrf.h | |
parent | 773446df5e44b7f3be4e7497c1b54d7df0ec527c (diff) | |
download | openttd-4a1ad2c85f7cdcedd15df911b7070b453e9047f8.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.h | 8 |
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 */ |