diff options
author | belugas <belugas@openttd.org> | 2007-05-20 00:50:06 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-05-20 00:50:06 +0000 |
commit | 2e65d6e4e76ca4a699a9c6981126fedf151992bf (patch) | |
tree | 3277eafe41782de6af787729bd5d655eb493ec97 /src/industry.h | |
parent | ecb8585bd4dcf75d536fd1214bbf6be807a5e366 (diff) | |
download | openttd-2e65d6e4e76ca4a699a9c6981126fedf151992bf.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.h | 2 |
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; |