- remove fake3D with structs and localize their usage instead of sharing global state

This commit is contained in:
Magnus Norddahl 2018-03-08 04:05:35 +01:00
commit 71623198d2
26 changed files with 185 additions and 162 deletions

View file

@ -64,7 +64,7 @@ namespace swrenderer
this->idepth = idepth;
}
void RenderModel::Render(RenderThread *thread, short *cliptop, short *clipbottom, int minZ, int maxZ)
void RenderModel::Render(RenderThread *thread, short *cliptop, short *clipbottom, int minZ, int maxZ, Fake3DTranslucent clip3DFloor)
{
SWModelRenderer renderer(thread);
renderer.RenderModel(x, y, z, smf, actor);