summaryrefslogtreecommitdiff
path: root/railtypes.h
blob: d86d1a45067e44e8982eefc8afa5262c50df6976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* $Id: */

/** @file railtypes.h
 * All the railtype-specific information is stored here.
 */

/** Global Railtype definition
 */
const RailtypeInfo _railtypes[RAILTYPE_END] = {
	{
		{
			SPR_RAIL_TRACK_Y,
			SPR_RAIL_TRACK_N_S,
			SPR_RAIL_TRACK_BASE,
			SPR_RAIL_SINGLE_Y,
			SPR_RAIL_SINGLE_X,
			SPR_RAIL_SINGLE_NORTH,
			SPR_RAIL_SINGLE_SOUTH,
			SPR_RAIL_SINGLE_EAST,
			SPR_RAIL_SINGLE_WEST
		},
		SPR_RAIL_SNOW_OFFSET,
		(1 << RAILTYPE_RAIL),
		0,
	},
	{
		{
			SPR_MONO_TRACK_Y,
			SPR_MONO_TRACK_N_S,
			SPR_MONO_TRACK_BASE,
			SPR_MONO_SINGLE_Y,
			SPR_MONO_SINGLE_X,
			SPR_MONO_SINGLE_NORTH,
			SPR_MONO_SINGLE_SOUTH,
			SPR_MONO_SINGLE_EAST,
			SPR_MONO_SINGLE_WEST
		},
		SPR_MONO_SNOW_OFFSET,
		(1 << RAILTYPE_MONO),
		82,
	},
	{
		{
			SPR_MGLV_TRACK_Y,
			SPR_MGLV_TRACK_N_S,
			SPR_MGLV_TRACK_BASE,
			SPR_MGLV_SINGLE_Y,
			SPR_MGLV_SINGLE_X,
			SPR_MGLV_SINGLE_NORTH,
			SPR_MGLV_SINGLE_SOUTH,
			SPR_MGLV_SINGLE_EAST,
			SPR_MGLV_SINGLE_WEST
		},
		SPR_MGLV_SNOW_OFFSET,
		(1 << RAILTYPE_MAGLEV),
		164,
	},
};