Show warning dialog if NewGRFs use too many string IDs.

Show when reloading/changing NewGRF config, or starting new game.
This commit is contained in:
Jonathan G Rennison
2016-12-08 23:48:53 +00:00
parent 6f4dbacf3e
commit 20a090b077
8 changed files with 35 additions and 1 deletions

View File

@@ -205,6 +205,8 @@ extern GRFConfig *_grfconfig; ///< First item in list of current GRF set
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 bool _grf_bug_too_many_strings;///< NewGRF bug: Insufficient available string IDs for GRFs
/** Callback for NewGRF scanning. */
struct NewGRFScanCallback {
/** Make sure the right destructor gets called. */