Disable new unused multitag code for now.

This commit is contained in:
Nev3r 2019-12-16 19:10:39 +01:00
parent 3c2862ee34
commit e1ae74c56a
2 changed files with 6 additions and 5 deletions

View file

@ -376,7 +376,7 @@ UINT32 P_GetScoreForGrade(INT16 map, UINT8 mare, UINT8 grade)
return mapheaderinfo[map-1]->grades[mare].grade[grade-1];
}
/*
static void Tags_Add (tags_t* itemtags, const UINT16 tag)
{
itemtags->numtags++;
@ -388,7 +388,7 @@ static void Tags_Add (tags_t* itemtags, const UINT16 tag)
itemtags->tags[itemtags->numtags - 1] = tag;
}
*/
/** Loads the vertexes for a level.
*
* \param lump VERTEXES lump number.
@ -697,7 +697,7 @@ static void P_LoadRawSectors(UINT8 *data)
ss->spawn_lightlevel = SHORT(ms->lightlevel);
ss->special = SHORT(ms->special);
ss->tag = SHORT(ms->tag);
Tags_Add(&(ss->tags), ss->tag);
// Tags_Add(&(ss->tags), ss->tag);
}
}
@ -1050,7 +1050,7 @@ static void TextmapSector(UINT32 i, char *param)
else if (fastcmp(param, "id"))
{
sectors[i].tag = atol(M_GetToken(NULL));
Tags_Add(&sectors[i].tags, sectors[i].tag);
// Tags_Add(&sectors[i].tags, sectors[i].tag);
}
else if (fastcmp(param, "xpanningfloor"))
sectors[i].floor_xoffs = FLOAT_TO_FIXED(atof(M_GetToken(NULL)));

View file

@ -1633,7 +1633,7 @@ static inline void P_InitTagLists(void)
lines[i].nexttag = lines[j].firsttag;
lines[j].firsttag = (INT32)i;
}
/*
for (i = 0; i < MAXTAGS; i++)
taglist_sec[i] = NULL;
@ -1656,6 +1656,7 @@ static inline void P_InitTagLists(void)
}
}
}
*/
}
#undef MAXTAGS