diff options
author | belugas <belugas@openttd.org> | 2006-10-24 19:19:25 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-10-24 19:19:25 +0000 |
commit | f48c419467197418d1f2b426cfcf1ee3e1bf554b (patch) | |
tree | 6c16ace129716db3f73132dc8d0bbbee789f4810 /industry.h | |
parent | acbdd24f2f8a752933ba6fd331e6ec4c160027e9 (diff) | |
download | openttd-f48c419467197418d1f2b426cfcf1ee3e1bf554b.tar.xz |
(svn r6930) -Codechange: Move industry name into IndustrySpec
-Codechange: member color_map is more related to random color, rename it as such
Diffstat (limited to 'industry.h')
-rw-r--r-- | industry.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/industry.h b/industry.h index 8e7909cb4..b53486fdc 100644 --- a/industry.h +++ b/industry.h @@ -37,7 +37,7 @@ struct Industry { byte type; byte owner; - byte color_map; + byte random_color; Year last_prod_year; byte was_cargo_delivered; @@ -68,8 +68,9 @@ typedef struct IndustrySpec { byte minimal_cargo; CargoID accepts_cargo[3]; - IndustryLifeType life_type; //this is also known as Industry production flag, in newgrf specs + IndustryLifeType life_type; // This is also known as Industry production flag, in newgrf specs + StringID name; StringID closure_text; StringID production_up_text; StringID production_down_text; |