equal
deleted
inserted
replaced
914 } |
914 } |
915 |
915 |
916 return _price.build_rail / 2; |
916 return _price.build_rail / 2; |
917 } |
917 } |
918 |
918 |
919 extern int32 DoConvertStationRail(TileIndex tile, uint totype, bool exec); |
919 extern int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec); |
920 extern int32 DoConvertStreetRail(TileIndex tile, uint totype, bool exec); |
920 extern int32 DoConvertStreetRail(TileIndex tile, RailType totype, bool exec); |
921 extern int32 DoConvertTunnelBridgeRail(TileIndex tile, uint totype, bool exec); |
921 extern int32 DoConvertTunnelBridgeRail(TileIndex tile, RailType totype, bool exec); |
922 |
922 |
923 /** Convert one rail type to the other. You can convert normal rail to |
923 /** Convert one rail type to the other. You can convert normal rail to |
924 * monorail/maglev easily or vice-versa. |
924 * monorail/maglev easily or vice-versa. |
925 * @param ex,ey end tile of rail conversion drag |
925 * @param ex,ey end tile of rail conversion drag |
926 * @param p1 start tile of drag |
926 * @param p1 start tile of drag |