Move wall drawer args into functions
This commit is contained in:
parent
226e5238fc
commit
f3d968cf41
17 changed files with 112 additions and 90 deletions
|
|
@ -189,7 +189,7 @@ namespace swrenderer
|
|||
FDynamicColormap *basecolormap = static_cast<FDynamicColormap*>(sprite->Light.BaseColormap);
|
||||
|
||||
SpriteDrawerArgs drawerargs;
|
||||
drawerargs.SetColorMapLight(sprite->Light.BaseColormap, 0, sprite->Light.ColormapNum << FRACBITS);
|
||||
drawerargs.SetLight(sprite->Light.BaseColormap, 0, sprite->Light.ColormapNum << FRACBITS);
|
||||
|
||||
bool visible = drawerargs.SetPatchStyle(sprite->RenderStyle, sprite->Alpha, sprite->Translation, sprite->FillColor, basecolormap);
|
||||
if (!visible)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue