- linked new properties with the renderer.

Support for the softpoly renderer still missing.
This commit is contained in:
Christoph Oelckers 2019-12-20 18:56:03 +01:00
commit 03537e90ff
8 changed files with 41 additions and 10 deletions

View file

@ -2057,10 +2057,10 @@ void DAutomap::drawSubsectors()
if (roverz < cmpz)
{
maptex = *(rover->top.texture);
flatcolor = *(rover->top.flatcolor);
floorplane = rover->top.plane;
sector_t *model = rover->top.model;
int selector = (rover->flags & FF_INVERTPLANES) ? sector_t::floor : sector_t::ceiling;
flatcolor = model->SpecialColors[selector];
rotation = -model->GetAngle(selector);
scalex = model->GetXScale(selector);
scaley = model->GetYScale(selector);