VOID hgeResourceManager::Purge(INT groupid) { INT i; ResDesc *rc; for(i=0; i<RESTYPES; i++) { rc=res[i]; while(rc) { if(!groupid || groupid==rc->resgroup) rc->Free(); rc=rc->next; } } }
void hgeResourceManager::Purge(int groupid) { int i; ResDesc *rc; for (i = 0; i < RESTYPES; i++) { rc = res[i]; while (rc) { if (!groupid || groupid == rc->resgroup) { rc->Free(); } rc = rc->next; } } }