//=========================================================================== // CloseData //=========================================================================== void CloseData(void) { // Free the def groups. for(int i = 0; i < NUM_GROUPS; i++) while(root[i].next != &root[i]) DeleteTexture(root[i].next); // Free the patch names. while(plist.next != &plist) DeletePatch(plist.next); }
void NzTerrainNode::Invalidate() { DeletePatch(); m_isInitialized = false; }