예제 #1
0
plSpan::plSpan()
{
    fTypeMask = kSpan;
    fSubType = plDrawable::kSubNormal;
    fMaterialIdx = (uint32_t)-1;
    fFogEnvironment = nil;
    fProps = 0;

    fSnapShot = nil;

    ClearLights();
    fVisSet.SetBit(0);

    fNumMatrices = 0;
    fBaseMatrix = 0;
    fLocalUVWChans = 0;
    fMaxBoneIdx = 0;
    fPenBoneIdx = 0;

    fMinDist = fMaxDist = -1.f;

    fWaterHeight = 0;

#ifdef HS_DEBUGGING
    fOwnerKey = nil;
#endif
}
예제 #2
0
int CHudLensFlare :: VidInit( void )
{
	HOOK_MESSAGE( LensFlare );
	ClearLights();

	m_iFlags &= ~HUD_ACTIVE;

	gHUD.AddHudElem(this);
	return 1;
}
예제 #3
0
SContext::~SContext()
{
	ClearLights();
}
예제 #4
0
LightingManager::~LightingManager()
{
	ClearLights();
}
//Frees everything we're holding onto
void CLevel::Clear(void)
{
	ClearLights( );
	ClearRotaryLights();
}