|
@@ -14,12 +14,18 @@
|
|
|
#include "town.h"
|
|
|
#include "sound.h"
|
|
|
#include "pbs.h"
|
|
|
#include "debug.h"
|
|
|
#include "variables.h"
|
|
|
|
|
|
#include "table/bridge_land.h"
|
|
|
#include "table/tunnel_land.h"
|
|
|
|
|
|
extern const byte _track_sloped_sprites[14];
|
|
|
extern const SpriteID _water_shore_sprites[15];
|
|
|
|
|
|
extern void DrawCanalWater(TileIndex tile);
|
|
|
|
|
|
static const byte _bridge_available_year[MAX_BRIDGES] = {
|
|
|
0, 0, 10, 0, 10, 10, 10, 10, 10, 10, 75, 85, 90
|
|
|
};
|
|
|
|
|
@@ -941,17 +947,12 @@ static const byte _bridge_foundations[2]
|
|
|
{1,16,18,3,20,5,0,7,22,0,10,11,12,13,14},
|
|
|
{1,15,17,0,19,5,6,7,21,9,10,11, 0,13,14},
|
|
|
};
|
|
|
|
|
|
extern const byte _road_sloped_sprites[14];
|
|
|
|
|
|
#include "table/track_land.h"
|
|
|
#include "table/bridge_land.h"
|
|
|
#include "table/tunnel_land.h"
|
|
|
#include "table/water_land.h"
|
|
|
|
|
|
static void DrawBridgePillars(TileInfo *ti, int x, int y, int z)
|
|
|
{
|
|
|
const uint32 *b;
|
|
|
uint32 image;
|
|
|
int piece;
|
|
|
|