Files
@ r27438:22e72ba90974
Branch filter:
Location: cpp/openttd-patchpack/source/src/newgrf_canal.h
r27438:22e72ba90974
1.5 KiB
text/x-c
Change: Reorganise industry accept/produce arrays. (#10853)
Use a array of struct for each cargo instead of an array for each statistic.
This makes iterating for acceptance and production much simpler.
pct_transported is now calculated when needed.
Use a array of struct for each cargo instead of an array for each statistic.
This makes iterating for acceptance and production much simpler.
pct_transported is now calculated when needed.