Ejemplo n.º 1
0
//==========================================================================
//
//
//
//==========================================================================
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);
		}

	}
}
Ejemplo n.º 2
0
//==========================================================================
//
//
//
//==========================================================================
void GLWall::DoDrawDecals()
{
	DBaseDecal *decal = seg->sidedef->AttachedDecals;
	while (decal)
	{
		DrawDecal(decal);
		decal = decal->WallNext;
	}
}