# railtypes.h

Go to the documentation of this file.

    00001 /* $Id: railtypes.h 11800 2008-01-09 21:05:03Z rubidium $ */
    00002
    00007 #ifndef RAILTYPES_H
    00008 #define RAILTYPES_H
    00009
    00012 RailtypeInfo _railtypes[] = {
    00014   { /* Main Sprites */
    00015     { SPR_RAIL_TRACK_Y, SPR_RAIL_TRACK_N_S, SPR_RAIL_TRACK_BASE, SPR_RAIL_SINGLE_Y, SPR_RAIL_SINGLE_X,
    00016       SPR_RAIL_SINGLE_NORTH, SPR_RAIL_SINGLE_SOUTH, SPR_RAIL_SINGLE_EAST, SPR_RAIL_SINGLE_WEST,
    00017       SPR_CROSSING_OFF_X_RAIL,
    00018       SPR_TUNNEL_ENTRY_REAR_RAIL
    00019     },
    00020
    00021     /* GUI sprites */
    00022     { 0x4E3, 0x4E4, 0x4E5, 0x4E6,
    00023       SPR_IMG_AUTORAIL,
    00024       SPR_IMG_DEPOT_RAIL,
    00025       SPR_IMG_TUNNEL_RAIL,
    00026       SPR_IMG_CONVERT_RAIL
    00027     },
    00028
    00029     {
    00030       SPR_CURSOR_NS_TRACK,
    00031       SPR_CURSOR_SWNE_TRACK,
    00032       SPR_CURSOR_EW_TRACK,
    00033       SPR_CURSOR_NWSE_TRACK,
    00034       SPR_CURSOR_AUTORAIL,
    00035       SPR_CURSOR_RAIL_DEPOT,
    00036       SPR_CURSOR_TUNNEL_RAIL,
    00037       SPR_CURSOR_CONVERT_RAIL
    00038     },
    00039
    00040     /* strings */
    00041     { STR_100A_RAILROAD_CONSTRUCTION },
    00042
    00043     /* Offset of snow tiles */
    00044     SPR_RAIL_SNOW_OFFSET,
    00045
    00046     /* Powered railtypes */
    00047     RAILTYPES_RAIL | RAILTYPES_ELECTRIC,
    00048
    00049     /* Compatible railtypes */
    00050     RAILTYPES_RAIL | RAILTYPES_ELECTRIC,
    00051
    00052     /* main offset */
    00053     0,
    00054
    00055     /* bridge offset */
    00056     0,
    00057
    00058     /* custom ground offset */
    00059     0,
    00060
    00061     /* curve speed advantage (multiplier) */
    00062     0,
    00063   },
    00064
    00066   { /* Main Sprites */
    00067     { SPR_RAIL_TRACK_Y, SPR_RAIL_TRACK_N_S, SPR_RAIL_TRACK_BASE, SPR_RAIL_SINGLE_Y, SPR_RAIL_SINGLE_X,
    00068       SPR_RAIL_SINGLE_NORTH, SPR_RAIL_SINGLE_SOUTH, SPR_RAIL_SINGLE_EAST, SPR_RAIL_SINGLE_WEST,
    00069       SPR_CROSSING_OFF_X_RAIL,
    00070       SPR_TUNNEL_ENTRY_REAR_RAIL
    00071     },
    00072
    00073     /* GUI sprites */
    00074     {
    00075       SPR_BUILD_NS_ELRAIL,
    00076       SPR_BUILD_X_ELRAIL,
    00077       SPR_BUILD_EW_ELRAIL,
    00078       SPR_BUILD_Y_ELRAIL,
    00079       SPR_IMG_AUTOELRAIL,
    00080       SPR_IMG_DEPOT_ELRAIL,
    00081       SPR_BUILD_TUNNEL_ELRAIL,
    00082       SPR_IMG_CONVERT_ELRAIL
    00083     },
    00084
    00085     {
    00086       SPR_CURSOR_NS_ELRAIL,
    00087       SPR_CURSOR_SWNE_ELRAIL,
    00088       SPR_CURSOR_EW_ELRAIL,
    00089       SPR_CURSOR_NWSE_ELRAIL,
    00090       SPR_CURSOR_AUTOELRAIL,
    00091       SPR_CURSOR_ELRAIL_DEPOT,
    00092       SPR_CURSOR_TUNNEL_ELRAIL,
    00093       SPR_CURSOR_CONVERT_ELRAIL
    00094     },
    00095
    00096     /* strings */
    00097     { STR_TITLE_ELRAIL_CONSTRUCTION },
    00098
    00099     /* Offset of snow tiles */
    00100     SPR_RAIL_SNOW_OFFSET,
    00101
    00102     /* Powered railtypes */
    00103     RAILTYPES_ELECTRIC,
    00104
    00105     /* Compatible railtypes */
    00106     RAILTYPES_ELECTRIC | RAILTYPES_RAIL,
    00107
    00108     /* main offset */
    00109     0,
    00110
    00111     /* bridge offset */
    00112     0,
    00113
    00114     /* custom ground offset */
    00115     0,
    00116
    00117     /* curve speed advantage (multiplier) */
    00118     0,
    00119   },
    00120
    00122   { /* Main Sprites */
    00123     { SPR_MONO_TRACK_Y, SPR_MONO_TRACK_N_S, SPR_MONO_TRACK_BASE, SPR_MONO_SINGLE_Y, SPR_MONO_SINGLE_X,
    00124       SPR_MONO_SINGLE_NORTH, SPR_MONO_SINGLE_SOUTH, SPR_MONO_SINGLE_EAST, SPR_MONO_SINGLE_WEST,
    00125       SPR_CROSSING_OFF_X_MONO,
    00126       SPR_TUNNEL_ENTRY_REAR_MONO
    00127     },
    00128
    00129     /* GUI sprites */
    00130     { 0x4E7, 0x4E8, 0x4E9, 0x4EA,
    00131       SPR_IMG_AUTOMONO,
    00132       SPR_IMG_DEPOT_MONO,
    00133       SPR_IMG_TUNNEL_MONO,
    00134       SPR_IMG_CONVERT_MONO
    00135     },
    00136
    00137     {
    00138       SPR_CURSOR_NS_MONO,
    00139       SPR_CURSOR_SWNE_MONO,
    00140       SPR_CURSOR_EW_MONO,
    00141       SPR_CURSOR_NWSE_MONO,
    00142       SPR_CURSOR_AUTOMONO,
    00143       SPR_CURSOR_MONO_DEPOT,
    00144       SPR_CURSOR_TUNNEL_MONO,
    00145       SPR_CURSOR_CONVERT_MONO
    00146     },
    00147
    00148     /* strings */
    00149     { STR_100B_MONORAIL_CONSTRUCTION },
    00150
    00151     /* Offset of snow tiles */
    00152     SPR_MONO_SNOW_OFFSET,
    00153
    00154     /* Powered railtypes */
    00155     RAILTYPES_MONO,
    00156
    00157     /* Compatible Railtypes */
    00158     RAILTYPES_MONO,
    00159
    00160     /* main offset */
    00161     82,
    00162
    00163     /* bridge offset */
    00164     16,
    00165
    00166     /* custom ground offset */
    00167     1,
    00168
    00169     /* curve speed advantage (multiplier) */
    00170     1,
    00171   },
    00172
    00174   { /* Main sprites */
    00175     { SPR_MGLV_TRACK_Y, SPR_MGLV_TRACK_N_S, SPR_MGLV_TRACK_BASE, SPR_MGLV_SINGLE_Y, SPR_MGLV_SINGLE_X,
    00176       SPR_MGLV_SINGLE_NORTH, SPR_MGLV_SINGLE_SOUTH, SPR_MGLV_SINGLE_EAST, SPR_MGLV_SINGLE_WEST,
    00177       SPR_CROSSING_OFF_X_MAGLEV,
    00178       SPR_TUNNEL_ENTRY_REAR_MAGLEV
    00179     },
    00180
    00181     /* GUI sprites */
    00182     { 0x4EB, 0x4EC, 0x4EE, 0x4ED,
    00183       SPR_IMG_AUTOMAGLEV,
    00184       SPR_IMG_DEPOT_MAGLEV,
    00185       SPR_IMG_TUNNEL_MAGLEV,
    00186       SPR_IMG_CONVERT_MAGLEV
    00187     },
    00188
    00189     {
    00190       SPR_CURSOR_NS_MAGLEV,
    00191       SPR_CURSOR_SWNE_MAGLEV,
    00192       SPR_CURSOR_EW_MAGLEV,
    00193       SPR_CURSOR_NWSE_MAGLEV,
    00194       SPR_CURSOR_AUTOMAGLEV,
    00195       SPR_CURSOR_MAGLEV_DEPOT,
    00196       SPR_CURSOR_TUNNEL_MAGLEV,
    00197       SPR_CURSOR_CONVERT_MAGLEV
    00198     },
    00199
    00200     /* strings */
    00201     { STR_100C_MAGLEV_CONSTRUCTION },
    00202
    00203     /* Offset of snow tiles */
    00204     SPR_MGLV_SNOW_OFFSET,
    00205
    00206     /* Powered railtypes */
    00207     RAILTYPES_MAGLEV,
    00208
    00209     /* Compatible Railtypes */
    00210     RAILTYPES_MAGLEV,
    00211
    00212     /* main offset */
    00213     164,
    00214
    00215     /* bridge offset */
    00216     24,
    00217
    00218     /* custom ground offset */
    00219     2,
    00220
    00221     /* curve speed advantage (multiplier) */
    00222     2,
    00223   },
    00224 };
    00225
    00226 #endif /* RAILTYPES_H */