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 }
int CHudLensFlare :: VidInit( void ) { HOOK_MESSAGE( LensFlare ); ClearLights(); m_iFlags &= ~HUD_ACTIVE; gHUD.AddHudElem(this); return 1; }
SContext::~SContext() { ClearLights(); }
LightingManager::~LightingManager() { ClearLights(); }
//Frees everything we're holding onto void CLevel::Clear(void) { ClearLights( ); ClearRotaryLights(); }