dummy_land.c
changeset 2537 5e4ca74e995a
parent 2517 6e3832ddd0f6
child 2548 49c8a096033f
equal deleted inserted replaced
2536:634914d741b4 2537:5e4ca74e995a
    12 {
    12 {
    13 	DrawGroundSpriteAt(SPR_SHADOW_CELL, ti->x, ti->y, ti->z);
    13 	DrawGroundSpriteAt(SPR_SHADOW_CELL, ti->x, ti->y, ti->z);
    14 }
    14 }
    15 
    15 
    16 
    16 
    17 static uint GetSlopeZ_Dummy(TileInfo *ti) {
    17 static uint GetSlopeZ_Dummy(const TileInfo* ti)
    18 	return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z;
    18 {
       
    19 	return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z;
    19 }
    20 }
    20 
    21 
    21 static uint GetSlopeTileh_Dummy(const TileInfo *ti) {
    22 static uint GetSlopeTileh_Dummy(const TileInfo *ti) {
    22 	return ti->tileh;
    23 	return ti->tileh;
    23 }
    24 }