------------------------------------------------------------------------
| 1009 | |
| 1010 | //------------------------------------------------------------------------ |
| 1011 | void CItemSystem::ClearGeometryCache() |
| 1012 | { |
| 1013 | for (TObjectCacheIt oit = m_objectCache.begin(); oit != m_objectCache.end(); ++oit) |
| 1014 | { |
| 1015 | if (oit->second) |
| 1016 | oit->second->Release(); |
| 1017 | } |
| 1018 | m_objectCache.clear(); |
| 1019 | |
| 1020 | for (TCharacterCacheIt cit = m_characterCache.begin(); cit != m_characterCache.end(); ++cit) |
| 1021 | { |
| 1022 | cit->second->Release(); |
| 1023 | } |
| 1024 | m_characterCache.clear(); |
| 1025 | |
| 1026 | for (TItemParamsMap::iterator it = m_params.begin(); it != m_params.end(); ++it) |
| 1027 | { |
| 1028 | it->second.precacheFlags &= ~SItemParamsDesc::eIF_PreCached_Geometry; |
| 1029 | } |
| 1030 | } |
| 1031 | |
| 1032 | //------------------------------------------------------------------------ |
| 1033 | void CItemSystem::PrecacheLevel() |
no test coverage detected