diff options
author | rubidium <rubidium@openttd.org> | 2007-06-07 14:38:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-07 14:38:45 +0000 |
commit | 8a74b2ebe179500f1e95647cdf4a2e740ea1df23 (patch) | |
tree | bfff352edf5c9340c1e64d8f0b44e5d356786105 /src/oldloader.cpp | |
parent | b73cd3c12d8dd7b44b4ed8e472f978c0b3510289 (diff) | |
download | openttd-8a74b2ebe179500f1e95647cdf4a2e740ea1df23.tar.xz |
(svn r10058) -Codechange: give some industry variable sensible names (like not telling "last_mo_production" when it is the production of the current month).
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index 37e178261..3b36da278 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -663,18 +663,18 @@ static const OldChunks industry_chunk[] = { OCL_SVAR( OC_UINT8, Industry, prod_level ), - OCL_SVAR( OC_UINT16, Industry, last_mo_production[0] ), - OCL_SVAR( OC_UINT16, Industry, last_mo_production[1] ), - OCL_SVAR( OC_UINT16, Industry, last_mo_transported[0] ), - OCL_SVAR( OC_UINT16, Industry, last_mo_transported[1] ), - - OCL_SVAR( OC_UINT8, Industry, pct_transported[0] ), - OCL_SVAR( OC_UINT8, Industry, pct_transported[1] ), - - OCL_SVAR( OC_UINT16, Industry, total_production[0] ), - OCL_SVAR( OC_UINT16, Industry, total_production[1] ), - OCL_SVAR( OC_UINT16, Industry, total_transported[0] ), - OCL_SVAR( OC_UINT16, Industry, total_transported[1] ), + OCL_SVAR( OC_UINT16, Industry, this_month_production[0] ), + OCL_SVAR( OC_UINT16, Industry, this_month_production[1] ), + OCL_SVAR( OC_UINT16, Industry, this_month_transported[0] ), + OCL_SVAR( OC_UINT16, Industry, this_month_transported[1] ), + + OCL_SVAR( OC_UINT8, Industry, last_month_pct_transported[0] ), + OCL_SVAR( OC_UINT8, Industry, last_month_pct_transported[1] ), + + OCL_SVAR( OC_UINT16, Industry, last_month_production[0] ), + OCL_SVAR( OC_UINT16, Industry, last_month_production[1] ), + OCL_SVAR( OC_UINT16, Industry, last_month_transported[0] ), + OCL_SVAR( OC_UINT16, Industry, last_month_transported[1] ), OCL_SVAR( OC_UINT8, Industry, type ), OCL_SVAR( OC_UINT8, Industry, owner ), |