Rename ColumnDrawerArgs to SpriteDrawerArgs

This commit is contained in:
Magnus Norddahl 2017-01-30 11:27:58 +01:00
commit 2f365e7d2b
18 changed files with 95 additions and 95 deletions

View file

@ -179,7 +179,7 @@ namespace swrenderer
rereadcolormap = false;
}
ColumnDrawerArgs drawerargs;
SpriteDrawerArgs drawerargs;
int shade = LIGHT2SHADE(spr->sector->lightlevel + R_ActualExtraLight(spr->foggy));
double GlobVis = LightVisibility::Instance()->WallGlobVis();
@ -245,7 +245,7 @@ namespace swrenderer
}
}
void RenderWallSprite::DrawColumn(ColumnDrawerArgs &drawerargs, int x, FTexture *WallSpriteTile, const ProjectedWallTexcoords &walltexcoords, double texturemid, float maskedScaleY, bool sprflipvert, const short *mfloorclip, const short *mceilingclip)
void RenderWallSprite::DrawColumn(SpriteDrawerArgs &drawerargs, int x, FTexture *WallSpriteTile, const ProjectedWallTexcoords &walltexcoords, double texturemid, float maskedScaleY, bool sprflipvert, const short *mfloorclip, const short *mceilingclip)
{
float iscale = walltexcoords.VStep[x] * maskedScaleY;
double spryscale = 1 / iscale;