diff options
author | rubidium <rubidium@openttd.org> | 2008-04-17 11:47:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-17 11:47:22 +0000 |
commit | 00f0bf98ee3612899bcd6e71c34694cc8f69838c (patch) | |
tree | 5acb4a3c8eefc56274a8869d71f45aa60fe942f5 /src/cargotype.h | |
parent | 5796fb3b349d6f8f311d79b397faa0caf1865f98 (diff) | |
download | openttd-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/cargotype.h')
-rw-r--r-- | src/cargotype.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cargotype.h b/src/cargotype.h index 7d770b1b9..51bd2fd64 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -7,7 +7,7 @@ #include "cargo_type.h" #include "gfx_type.h" -#include "newgrf_string_type.h" +#include "strings_type.h" typedef uint32 CargoLabel; @@ -36,11 +36,11 @@ struct CargoSpec { uint16 multipliertowngrowth; uint8 callback_mask; - GRFMappedStringID name; - GRFMappedStringID name_single; - GRFMappedStringID units_volume; - GRFMappedStringID quantifier; - GRFMappedStringID abbrev; + StringID name; + StringID name_single; + StringID units_volume; + StringID quantifier; + StringID abbrev; SpriteID sprite; |