summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-08-24 21:31:24 +0000
committerpeter1138 <peter1138@openttd.org>2008-08-24 21:31:24 +0000
commitff07598ce23d2126e6dbdf6eb4db2bb346e4de11 (patch)
tree927dfaba4b82723d3a08f65704230729ffdb3405 /src/table
parent0d4e7f9537dbaaf7f63c89e71881f352ab12750e (diff)
downloadopenttd-ff07598ce23d2126e6dbdf6eb4db2bb346e4de11.tar.xz
(svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/railtypes.h32
1 files changed, 28 insertions, 4 deletions
diff --git a/src/table/railtypes.h b/src/table/railtypes.h
index 0d86851f5..8bfa65645 100644
--- a/src/table/railtypes.h
+++ b/src/table/railtypes.h
@@ -39,7 +39,13 @@ RailtypeInfo _railtypes[] = {
},
/* strings */
- { STR_100A_RAILROAD_CONSTRUCTION },
+ {
+ STR_100A_RAILROAD_CONSTRUCTION,
+ STR_1015_RAILROAD_CONSTRUCTION,
+ STR_881C_NEW_RAIL_VEHICLES,
+ STR_RAIL_VEHICLES,
+ STR_8102_RAILROAD_LOCOMOTIVE,
+ },
/* Offset of snow tiles */
SPR_RAIL_SNOW_OFFSET,
@@ -99,7 +105,13 @@ RailtypeInfo _railtypes[] = {
},
/* strings */
- { STR_TITLE_ELRAIL_CONSTRUCTION },
+ {
+ STR_TITLE_ELRAIL_CONSTRUCTION,
+ STR_TOOLB_ELRAIL_CONSTRUCTION,
+ STR_NEW_ELRAIL_VEHICLES,
+ STR_ELRAIL_VEHICLES,
+ STR_8102_RAILROAD_LOCOMOTIVE,
+ },
/* Offset of snow tiles */
SPR_RAIL_SNOW_OFFSET,
@@ -155,7 +167,13 @@ RailtypeInfo _railtypes[] = {
},
/* strings */
- { STR_100B_MONORAIL_CONSTRUCTION },
+ {
+ STR_100B_MONORAIL_CONSTRUCTION,
+ STR_1016_MONORAIL_CONSTRUCTION,
+ STR_881D_NEW_MONORAIL_VEHICLES,
+ STR_MONORAIL_VEHICLES,
+ STR_8106_MONORAIL_LOCOMOTIVE,
+ },
/* Offset of snow tiles */
SPR_MONO_SNOW_OFFSET,
@@ -211,7 +229,13 @@ RailtypeInfo _railtypes[] = {
},
/* strings */
- { STR_100C_MAGLEV_CONSTRUCTION },
+ {
+ STR_100C_MAGLEV_CONSTRUCTION,
+ STR_1017_MAGLEV_CONSTRUCTION,
+ STR_881E_NEW_MAGLEV_VEHICLES,
+ STR_MAGLEV_VEHICLES,
+ STR_8107_MAGLEV_LOCOMOTIVE,
+ },
/* Offset of snow tiles */
SPR_MGLV_SNOW_OFFSET,