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
commit6261063689a738338e1c37b183a8c6509ebd0b8d (patch)
tree927dfaba4b82723d3a08f65704230729ffdb3405 /src/table
parent8abd4137d4bc6714451e28f1748db81905984b66 (diff)
downloadopenttd-6261063689a738338e1c37b183a8c6509ebd0b8d.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,