map.c
author truelight
Thu, 23 Dec 2004 17:12:30 +0000
changeset 784 a490f92a33c2
parent 689 5a4b1536db82
child 817 238bbdaa228b
permissions -rw-r--r--
(svn r1251) -Fix: [Console] The alias 'clean_company' is now working correctly
679
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
     1
#include "stdafx.h"
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
     2
#include "ttd.h"
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
     3
#include "map.h"
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
     4
689
5a4b1536db82 (svn r1130) Add helper functions to query map size
tron
parents: 679
diff changeset
     5
uint _map_log_x = TILE_X_BITS;
5a4b1536db82 (svn r1130) Add helper functions to query map size
tron
parents: 679
diff changeset
     6
uint _map_log_y = TILE_Y_BITS;
5a4b1536db82 (svn r1130) Add helper functions to query map size
tron
parents: 679
diff changeset
     7
679
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
     8
byte _map_type_and_height[TILES_X * TILES_Y];
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
     9
byte _map5[TILES_X * TILES_Y];
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
    10
byte _map3_lo[TILES_X * TILES_Y];
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
    11
byte _map3_hi[TILES_X * TILES_Y];
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
    12
byte _map_owner[TILES_X * TILES_Y];
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
    13
byte _map2[TILES_X * TILES_Y];
04ca2cd69420 (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
tron
parents:
diff changeset
    14
byte _map_extra_bits[TILES_X * TILES_Y / 4];