map.c
author truelight
Tue, 21 Dec 2004 17:12:20 +0000
changeset 747 4bf34cf669d0
parent 689 5a4b1536db82
child 817 238bbdaa228b
permissions -rw-r--r--
(svn r1203) -Fix: the pathfinder no longer sees rail with an other owner as a
possible route. This also makes sure signals don't show red because
there is a train on the track of an other owner.
#include "stdafx.h"
#include "ttd.h"
#include "map.h"

uint _map_log_x = TILE_X_BITS;
uint _map_log_y = TILE_Y_BITS;

byte _map_type_and_height[TILES_X * TILES_Y];
byte _map5[TILES_X * TILES_Y];
byte _map3_lo[TILES_X * TILES_Y];
byte _map3_hi[TILES_X * TILES_Y];
byte _map_owner[TILES_X * TILES_Y];
byte _map2[TILES_X * TILES_Y];
byte _map_extra_bits[TILES_X * TILES_Y / 4];