summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-17 11:47:22 +0000
committerrubidium <rubidium@openttd.org>2008-04-17 11:47:22 +0000
commit00f0bf98ee3612899bcd6e71c34694cc8f69838c (patch)
tree5acb4a3c8eefc56274a8869d71f45aa60fe942f5 /src/industry.h
parent5796fb3b349d6f8f311d79b397faa0caf1865f98 (diff)
downloadopenttd-00f0bf98ee3612899bcd6e71c34694cc8f69838c.tar.xz
(svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/industry.h b/src/industry.h
index c2fed658c..497cb5744 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -15,7 +15,6 @@
#include "date_type.h"
#include "town_type.h"
#include "industry_type.h"
-#include "newgrf_string_type.h"
enum {
INVALID_INDUSTRY = 0xFFFF,
@@ -174,12 +173,12 @@ struct IndustrySpec {
byte climate_availability; ///< Bitmask, giving landscape enums as bit position
IndustryBehaviour behaviour; ///< How this industry will behave, and how others entities can use it
byte map_colour; ///< colour used for the small map
- GRFMappedStringID name; ///< Displayed name of the industry
- GRFMappedStringID new_industry_text; ///< Message appearing when the industry is built
- GRFMappedStringID closure_text; ///< Message appearing when the industry closes
- GRFMappedStringID production_up_text; ///< Message appearing when the industry's production is increasing
- GRFMappedStringID production_down_text; ///< Message appearing when the industry's production is decreasing
- GRFMappedStringID station_name; ///< Default name for nearby station
+ StringID name; ///< Displayed name of the industry
+ StringID new_industry_text; ///< Message appearing when the industry is built
+ StringID closure_text; ///< Message appearing when the industry closes
+ StringID production_up_text; ///< Message appearing when the industry's production is increasing
+ StringID production_down_text; ///< Message appearing when the industry's production is decreasing
+ StringID station_name; ///< Default name for nearby station
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