//========================================================================== // // // //========================================================================== void GLWall::DoDrawDecals() { if (seg->sidedef && seg->sidedef->AttachedDecals) { if (lightlist != NULL) { gl_RenderState.EnableSplit(true); } else { gl_SetFog(lightlevel, rellight + getExtraLight(), &Colormap, false); } DBaseDecal *decal = seg->sidedef->AttachedDecals; while (decal) { DrawDecal(decal); decal = decal->WallNext; } if (lightlist != NULL) { gl_RenderState.EnableSplit(false); } } }
//========================================================================== // // // //========================================================================== void GLWall::DoDrawDecals() { DBaseDecal *decal = seg->sidedef->AttachedDecals; while (decal) { DrawDecal(decal); decal = decal->WallNext; } }