Add NewGRF feature: Extra station name strings

These are used when all the default names have been used up,
instead of "Town Station #NNN".
This commit is contained in:
Jonathan G Rennison
2021-07-17 20:54:10 +01:00
parent d23720cc60
commit 4174fe727c
13 changed files with 123 additions and 3 deletions

View File

@@ -214,6 +214,9 @@ static void LoadSpriteTables()
/* Initialize the unicode to sprite mapping table */
InitializeUnicodeGlyphMap();
extern uint _extra_station_names_used;
_extra_station_names_used = 0;
/*
* Load the base and extra NewGRF with OTTD required graphics as first NewGRF.
* However, we do not want it to show up in the list of used NewGRFs,