Add: [Script] Basic information about loaded NewGRFs for scripts. (#9464)

Currently, scripts use various heuristics to detect loaded NewGRFs that are inherently unreliable.
The list of loaded NewGRFs is easily accessible to a human player, and thus giving
scripts the same information is consistent with the current approach to not give scripts
more information than a human player.
This commit is contained in:
Michael Lutz
2021-08-09 23:34:50 +02:00
committed by GitHub
parent d58772ecda
commit 8706dcd9c1
5 changed files with 124 additions and 0 deletions

View File

@@ -17,6 +17,10 @@
*
* This version is not yet released. The following changes are not set in stone yet.
*
* API additions:
* \li GSNewGRF
* \li GSNewGRFList
*
* \b 1.11.0
*
* API additions: