Example #1
0
//===========================================================================
// 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);			
}
Example #2
0
void NzTerrainNode::Invalidate()
{
    DeletePatch();
    m_isInitialized = false;
}