dummy_land.c
branch0.4.5
changeset 9944 4f027626dbf6
parent 2548 97ada3bd2702
child 3418 a592d40a4d04
equal deleted inserted replaced
9943:bedd1ceaa101 9944:4f027626dbf6
    14 }
    14 }
    15 
    15 
    16 
    16 
    17 static uint GetSlopeZ_Dummy(const TileInfo* ti)
    17 static uint GetSlopeZ_Dummy(const TileInfo* ti)
    18 {
    18 {
    19 	return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z;
    19 	return 0;
    20 }
    20 }
    21 
    21 
    22 static uint GetSlopeTileh_Dummy(const TileInfo* ti)
    22 static uint GetSlopeTileh_Dummy(const TileInfo* ti)
    23 {
    23 {
    24 	return ti->tileh;
    24 	return 0;
    25 }
    25 }
    26 
    26 
    27 static int32 ClearTile_Dummy(TileIndex tile, byte flags)
    27 static int32 ClearTile_Dummy(TileIndex tile, byte flags)
    28 {
    28 {
    29 	return_cmd_error(STR_0001_OFF_EDGE_OF_MAP);
    29 	return_cmd_error(STR_0001_OFF_EDGE_OF_MAP);