diff options
author | frosch <frosch@openttd.org> | 2017-01-14 18:30:26 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-01-14 18:30:26 +0000 |
commit | 7b553d255ee5a5e5be3e4c1c8a0d56504cfdc418 (patch) | |
tree | 8cb6fcf4083fcf3e98864fbb40f7e323706f90d7 /src/newgrf_config.h | |
parent | 08b4255b677259e3e3f9039b903bd5a62a909da6 (diff) | |
download | openttd-7b553d255ee5a5e5be3e4c1c8a0d56504cfdc418.tar.xz |
(svn r27732) -Change: Turn the message about 'missing baseset sprites' from a popup into a static message that only shows in non-release versions, just like the 'missing translations' message.
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r-- | src/newgrf_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h index 73ab243cf..dc3b884dd 100644 --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -202,6 +202,7 @@ extern GRFConfig *_all_grfs; ///< First item in list of all scanned New extern GRFConfig *_grfconfig; ///< First item in list of current GRF set up extern GRFConfig *_grfconfig_newgame; ///< First item in list of default GRF set up extern GRFConfig *_grfconfig_static; ///< First item in list of static GRF set up +extern uint _missing_extra_graphics; ///< Number of sprites provided by the fallback extra GRF, i.e. missing in the baseset. /** Callback for NewGRF scanning. */ struct NewGRFScanCallback { @@ -214,7 +215,6 @@ struct NewGRFScanCallback { size_t GRFGetSizeOfDataSection(FILE *f); void ScanNewGRFFiles(NewGRFScanCallback *callback); -void CheckForMissingSprites(); const GRFConfig *FindGRFConfig(uint32 grfid, FindGRFConfigMode mode, const uint8 *md5sum = NULL, uint32 desired_version = 0); GRFConfig *GetGRFConfig(uint32 grfid, uint32 mask = 0xFFFFFFFF); GRFConfig **CopyGRFConfigList(GRFConfig **dst, const GRFConfig *src, bool init_only); |