Fix: add missing variables to NewGRF inspect window.

This commit is contained in:
frosch 2021-01-10 18:52:59 +01:00 committed by frosch
parent f1bc4d8407
commit f6abc81cf1
2 changed files with 10 additions and 0 deletions

View File

@ -44,4 +44,5 @@ Some things are not automated, and forgotten often. This list is a reminder for
* ai_changelog.hpp, gs_changelog.hpp need updating.
* The compatibility wrappers (compat_*.nut) need updating.
* This PR affects the NewGRF API? (label 'needs review: NewGRF')
* newgrf_debug_data.h may need updating.
* [PR must be added to API tracker](https://wiki.openttd.org/en/Development/NewGRF/Specification%20Status)

View File

@ -343,6 +343,15 @@ static const NIVariable _niv_industries[] = {
NIV(0x66, "get square of Euclidean distance of closes town"),
NIV(0x67, "count of industry and distance of closest instance"),
NIV(0x68, "count of industry and distance of closest instance with layout filter"),
NIV(0x69, "produced cargo waiting"),
NIV(0x6A, "cargo produced this month"),
NIV(0x6B, "cargo transported this month"),
NIV(0x6C, "cargo produced last month"),
NIV(0x6D, "cargo transported last month"),
NIV(0x6E, "date since cargo was delivered"),
NIV(0x6F, "waiting input cargo"),
NIV(0x70, "production rate"),
NIV(0x71, "percentage of cargo transported last month"),
NIV_END()
};