From 1382964fa016988f144782b7c5c446782553ea86 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 9 Jan 2010 15:33:41 +0000 Subject: (svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property --- src/table/railtypes.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/table') diff --git a/src/table/railtypes.h b/src/table/railtypes.h index c17e5a13c..9eea21ae7 100644 --- a/src/table/railtypes.h +++ b/src/table/railtypes.h @@ -81,6 +81,9 @@ static const RailtypeInfo _original_railtypes[] = { /* cost multiplier */ 8, + /* accelration type */ + 0, + /* rail type label */ 'RAIL', }, @@ -153,6 +156,9 @@ static const RailtypeInfo _original_railtypes[] = { /* cost multiplier */ 12, + /* acceleration type */ + 0, + /* rail type label */ 'ELRL', }, @@ -221,6 +227,9 @@ static const RailtypeInfo _original_railtypes[] = { /* cost multiplier */ 16, + /* acceleration type */ + 1, + /* rail type label */ 'MONO', }, @@ -289,6 +298,9 @@ static const RailtypeInfo _original_railtypes[] = { /* cost multiplier */ 24, + /* acceleration type */ + 2, + /* rail type label */ 'MGLV', }, -- cgit v1.2.3-70-g09d2