functions.h
changeset 1247 01711347f9ac
parent 1245 768d9bc95aaa
child 1309 dab90d4cbf2d
equal deleted inserted replaced
1246:45f15251412b 1247:01711347f9ac
    23 void ChangeTileOwner(uint tile, byte old_player, byte new_player);
    23 void ChangeTileOwner(uint tile, byte old_player, byte new_player);
    24 void AnimateTile(uint tile);
    24 void AnimateTile(uint tile);
    25 void ClickTile(uint tile);
    25 void ClickTile(uint tile);
    26 void GetTileDesc(uint tile, TileDesc *td);
    26 void GetTileDesc(uint tile, TileDesc *td);
    27 void DrawTile(TileInfo *ti);
    27 void DrawTile(TileInfo *ti);
    28 
       
    29 uint TileAddWrap(TileIndex tile, int addx, int addy);
       
    30 enum {
       
    31 	TILE_WRAPPED = (uint)-1
       
    32 };
       
    33 
    28 
    34 bool IsValidTile(uint tile);
    29 bool IsValidTile(uint tile);
    35 
    30 
    36 static inline Point RemapCoords(int x, int y, int z)
    31 static inline Point RemapCoords(int x, int y, int z)
    37 {
    32 {