Changeset - r24637:67b9896774b1
[Not reviewed]
master
0 2 0
frosch - 4 years ago 2021-01-10 17:52:59
frosch@openttd.org
Fix: add missing variables to NewGRF inspect window.
2 files changed with 10 insertions and 0 deletions:
0 comments (0 inline, 0 general)
.github/PULL_REQUEST_TEMPLATE.md
Show inline comments
 
@@ -44,4 +44,5 @@ Some things are not automated, and forgo
 
    * 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)
src/table/newgrf_debug_data.h
Show inline comments
 
@@ -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()
 
};
 

	
0 comments (0 inline, 0 general)