Ejemplo n.º 1
0
void P_DestroySectorTagLists()
{
    if(numSectorTagLists == 0)
        return;

    for(uint i = 0; i < numSectorTagLists; ++i)
    {
        IterList_Clear(sectorTagLists[i].list);
        IterList_Delete(sectorTagLists[i].list);
    }

    free(sectorTagLists);
    sectorTagLists = 0;
    numSectorTagLists = 0;
}
Ejemplo n.º 2
0
void P_DestroyLineTagLists()
{
    if(numLineTagLists == 0)
        return;

    for(uint i = 0; i < numLineTagLists; ++i)
    {
        IterList_Clear(lineTagLists[i].list);
        IterList_Delete(lineTagLists[i].list);
    }

    free(lineTagLists);
    lineTagLists = 0;
    numLineTagLists = 0;
}
Ejemplo n.º 3
0
void P_DestroyLineTagLists(void)
{
    if(numLineTagLists == 0)
        return;

    { uint i;
    for(i = 0; i < numLineTagLists; ++i)
    {
        IterList_Clear(lineTagLists[i].list);
        IterList_Delete(lineTagLists[i].list);
    }}

    free(lineTagLists);
    lineTagLists = NULL;
    numLineTagLists = 0;
}