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;
        }
    }
}
Exemple #2
0
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;
        }
    }
}