summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-05-20 00:50:06 +0000
committerbelugas <belugas@openttd.org>2007-05-20 00:50:06 +0000
commit88042df6bbb5f21f1a325f2d8b3a5dee775299e2 (patch)
tree3277eafe41782de6af787729bd5d655eb493ec97 /src/industry.h
parent49aa3bedfb1dced207281249da635d28d5f310a3 (diff)
downloadopenttd-88042df6bbb5f21f1a325f2d8b3a5dee775299e2.tar.xz
(svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h
index 9f0ad8083..618be6285 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -117,6 +117,8 @@ struct IndustrySpec {
StringID production_down_text; ///< Message appearing when the industry's production is decreasing
byte appear_ingame[NUM_LANDSCAPE]; ///< Probability of appearance in game
byte appear_creation[NUM_LANDSCAPE]; ///< Probability of appearance during map creation
+ uint8 number_of_sounds; ///< Number of sounds available in the sounds array
+ const uint8 *random_sounds; ///< array of random sounds.
/* Newgrf stuff coming in */
uint16 callback_flags; ///< Flags telling which grf callback is set
byte subst_id;