summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-01-29 18:57:26 +0000
committerDarkvater <darkvater@openttd.org>2006-01-29 18:57:26 +0000
commit4e09974975ba47b755ac00b58aae880fa297e161 (patch)
treea71e925a12583a807b9e921fd125c8ae1b8e8721 /station_cmd.c
parentbb49381cd3ce8c95e459d1f542fc15064d7b17ea (diff)
downloadopenttd-4e09974975ba47b755ac00b58aae880fa297e161.tar.xz
(svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
- The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals.
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 67e70cde5..c4cc83576 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -25,7 +25,6 @@
#include "airport.h"
#include "sprite.h"
#include "depot.h"
-#include "pbs.h"
#include "train.h"
enum {
@@ -2072,16 +2071,6 @@ static void DrawTile_Station(TileInfo *ti)
// but this is something else. If AI builds station with 114 it looks all weird
DrawGroundSprite(image);
- if (_debug_pbs_level >= 1) {
- byte pbs = PBSTileReserved(ti->tile);
- if (pbs & TRACK_BIT_DIAG1) DrawGroundSprite(rti->base_sprites.single_y | PALETTE_CRASH);
- if (pbs & TRACK_BIT_DIAG2) DrawGroundSprite(rti->base_sprites.single_x | PALETTE_CRASH);
- if (pbs & TRACK_BIT_UPPER) DrawGroundSprite(rti->base_sprites.single_n | PALETTE_CRASH);
- if (pbs & TRACK_BIT_LOWER) DrawGroundSprite(rti->base_sprites.single_s | PALETTE_CRASH);
- if (pbs & TRACK_BIT_LEFT) DrawGroundSprite(rti->base_sprites.single_w | PALETTE_CRASH);
- if (pbs & TRACK_BIT_RIGHT) DrawGroundSprite(rti->base_sprites.single_e | PALETTE_CRASH);
- }
-
foreach_draw_tile_seq(dtss, t->seq) {
image = dtss->image + relocation;
image += offset;