Lines Matching refs:resFog

145     ResFogData* resFog =  in CreateResFog()  local
150 resFog->typeInfo = ResFog::TYPE_INFO; in CreateResFog()
151 resFog->m_Header.revision = ResFog::BINARY_REVISION; in CreateResFog()
152 resFog->m_Header.signature = ResFog::SIGNATURE; in CreateResFog()
154 resFog->m_UserDataDicCount = 0; in CreateResFog()
155 resFog->toUserDataDic.set_ptr( NULL ); in CreateResFog()
157 resFog->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResFog()
161 resFog->m_ChildrenTableCount = 0; in CreateResFog()
162 resFog->toChildrenTable.set_ptr( NULL ); in CreateResFog()
163 resFog->m_AnimGroupsDicCount = NULL; in CreateResFog()
164 resFog->toAnimGroupsDic.set_ptr( NULL ); in CreateResFog()
171 resFog->m_Transform = math::Transform3(scale, rotate, translate); in CreateResFog()
172 resFog->m_WorldMatrix = math::MTX34::Identity(); in CreateResFog()
173 ResTransformNode(resFog).SetBranchVisible(true); in CreateResFog()
183 resFog->toFogUpdater.set_ptr( fogUpdater ); in CreateResFog()
184 resFog->toFogSampler.set_ptr( fogSampler ); in CreateResFog()
194 return resFog; in CreateResFog()
199 Fog::DestroyResFog(os::IAllocator* allocator, ResFogData* resFog) in DestroyResFog() argument
202 NW_NULL_ASSERT( resFog ); in DestroyResFog()
204 if ( resFog->toName.to_ptr() != NULL ) in DestroyResFog()
206 allocator->Free( const_cast<char*>( resFog->toName.to_ptr() ) ); in DestroyResFog()
209 if (resFog->toFogUpdater.to_ptr() != NULL) in DestroyResFog()
211 allocator->Free( resFog->toFogUpdater.to_ptr() ); in DestroyResFog()
214 if (resFog->toFogSampler.to_ptr() != NULL) in DestroyResFog()
216 ResImageLookupTable fogSampler = ResImageLookupTable(resFog->toFogSampler.to_ptr()); in DestroyResFog()
222 allocator->Free( resFog->toFogSampler.to_ptr() ); in DestroyResFog()
225 allocator->Free( resFog ); in DestroyResFog()
427 ResFog resFog = GetResFog(); in CreateAnimGroup() local
428 NW_ASSERT(resFog.IsValid()); in CreateAnimGroup()
430 NW_ASSERT(resFog.GetAnimGroupsCount() == 1); in CreateAnimGroup()
431 anim::ResAnimGroup resAnimGroup = resFog.GetAnimGroups(0); in CreateAnimGroup()
515 ResFog resFog, in GetMemorySizeInternal() argument
528 resFog, in GetMemorySizeInternal()
535 resFog.GetAnimGroupsCount() > 0) in GetMemorySizeInternal()
538 .ResAnimGroup(resFog.GetAnimGroups(0)) in GetMemorySizeInternal()