map.c
changeset 909 65cdb609b7a6
parent 900 27eb21ced433
child 927 94fec9843fd3
equal deleted inserted replaced
908:283e87112491 909:65cdb609b7a6
    13 byte   _map3_hi             [MAP_SIZE];
    13 byte   _map3_hi             [MAP_SIZE];
    14 byte   _map_owner           [MAP_SIZE];
    14 byte   _map_owner           [MAP_SIZE];
    15 uint16 _map2                [MAP_SIZE];
    15 uint16 _map2                [MAP_SIZE];
    16 byte   _map_extra_bits      [MAP_SIZE / 4];
    16 byte   _map_extra_bits      [MAP_SIZE / 4];
    17 
    17 
    18 const TileIndexDiff _tileoffs_by_dir[4] = {
    18 const TileIndexDiffC _tileoffs_by_dir[] = {
    19 	TILE_XY(-1, 0),
    19 	{-1,  0},
    20 	TILE_XY(0, 1),
    20 	{ 0,  1},
    21 	TILE_XY(1, 0),
    21 	{ 1,  0},
    22 	TILE_XY(0, -1),
    22 	{ 0, -1}
    23 };
    23 };