- linked new properties with the renderer.
Support for the softpoly renderer still missing.
This commit is contained in:
parent
3a249cb06f
commit
03537e90ff
8 changed files with 41 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue