rewrite of HWWalls to allow grabbing the output from the render item generator.

This commit is contained in:
Christoph Oelckers 2023-10-19 18:35:51 +02:00
commit 9cd57faec1
8 changed files with 422 additions and 290 deletions

View file

@ -227,7 +227,7 @@ float HWDrawInfo::GetFogDensity(int lightlevel, PalEntry fogcolor, int sectorfog
//
//==========================================================================
bool HWDrawInfo::CheckFog(sector_t *frontsector, sector_t *backsector)
bool CheckFog(FLevelLocals* Level, sector_t *frontsector, sector_t *backsector, ELightMode lightmode)
{
if (frontsector == backsector) return false; // there can't be a boundary if both sides are in the same sector.