(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
This commit is contained in:
10
map.c
10
map.c
@@ -15,9 +15,9 @@ byte _map_owner [MAP_SIZE];
|
||||
uint16 _map2 [MAP_SIZE];
|
||||
byte _map_extra_bits [MAP_SIZE / 4];
|
||||
|
||||
const TileIndexDiff _tileoffs_by_dir[4] = {
|
||||
TILE_XY(-1, 0),
|
||||
TILE_XY(0, 1),
|
||||
TILE_XY(1, 0),
|
||||
TILE_XY(0, -1),
|
||||
const TileIndexDiffC _tileoffs_by_dir[] = {
|
||||
{-1, 0},
|
||||
{ 0, 1},
|
||||
{ 1, 0},
|
||||
{ 0, -1}
|
||||
};
|
||||
|
Reference in New Issue
Block a user