diff options
author | belugas <belugas@openttd.org> | 2007-12-31 04:38:11 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-12-31 04:38:11 +0000 |
commit | 361b12eff088d966914b97a8ceb0ede720a52aec (patch) | |
tree | ca1f1cefe486219cdeb6b37c0d30bc2de02020da /src/newgrf.h | |
parent | cd91fe9351911337ebe79a8671408419d67e1501 (diff) | |
download | openttd-361b12eff088d966914b97a8ceb0ede720a52aec.tar.xz |
(svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch by BigBB
Diffstat (limited to 'src/newgrf.h')
-rw-r--r-- | src/newgrf.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/newgrf.h b/src/newgrf.h index 283b35ec8..54b5c99c9 100644 --- a/src/newgrf.h +++ b/src/newgrf.h @@ -41,6 +41,7 @@ struct GRFLabel { struct GRFFile { char *filename; + bool is_ottdfile; uint32 grfid; uint16 sprite_offset; byte grf_version; @@ -84,19 +85,16 @@ struct GRFFile { extern GRFFile *_first_grffile; -extern SpriteID _coast_base; - 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. - bool has_newwater; ///< Set it there are any newwater grf loaded }; /* Indicates which are the newgrf features currently loaded ingame */ extern GRFLoadedFeatures _loaded_newgrf_features; -void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage); +void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage, bool ottd_grf = false); void LoadNewGRF(uint load_index, uint file_index); void ReloadNewGRFData(); // in openttd.cpp |