(svn r11265) -Feature: Make more advanced rail types more expensive to build.

This commit is contained in:
maedhros
2007-10-14 21:20:12 +00:00
parent 4276173922
commit 675a826601
7 changed files with 45 additions and 9 deletions

View File

@@ -107,6 +107,12 @@ extern const TrackBits _corner_to_trackbits[] = {
TRACK_BIT_LEFT, TRACK_BIT_LOWER, TRACK_BIT_RIGHT, TRACK_BIT_UPPER,
};
/* The default multiplier for the cost of building different types of railway
* track, which will be divided by 8. Can be changed by newgrf files. */
const int _default_railtype_cost_multiplier[RAILTYPE_END] = {
8, 12, 16, 24,
};
int _railtype_cost_multiplier[RAILTYPE_END];
RailType GetTileRailType(TileIndex tile)
{