Delete old taglists.
This commit is contained in:
parent
d775a42e93
commit
e87ad0fb38
|
@ -852,8 +852,6 @@ static void P_LoadVertices(UINT8 *data)
|
||||||
|
|
||||||
static void P_InitializeSector(sector_t *ss)
|
static void P_InitializeSector(sector_t *ss)
|
||||||
{
|
{
|
||||||
ss->nexttag = ss->firsttag = -1;
|
|
||||||
|
|
||||||
memset(&ss->soundorg, 0, sizeof(ss->soundorg));
|
memset(&ss->soundorg, 0, sizeof(ss->soundorg));
|
||||||
|
|
||||||
ss->validcount = 0;
|
ss->validcount = 0;
|
||||||
|
@ -976,7 +974,6 @@ static void P_InitializeLinedef(line_t *ld)
|
||||||
#ifdef WALLSPLATS
|
#ifdef WALLSPLATS
|
||||||
ld->splats = NULL;
|
ld->splats = NULL;
|
||||||
#endif
|
#endif
|
||||||
ld->firsttag = ld->nexttag = -1;
|
|
||||||
#ifdef POLYOBJECTS
|
#ifdef POLYOBJECTS
|
||||||
ld->polyobj = NULL;
|
ld->polyobj = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
16
src/p_spec.c
16
src/p_spec.c
|
@ -1383,22 +1383,6 @@ void P_RunNightsCapsuleTouchExecutors(mobj_t *actor, boolean entering, boolean e
|
||||||
*/
|
*/
|
||||||
static inline void P_InitTagLists(void)
|
static inline void P_InitTagLists(void)
|
||||||
{
|
{
|
||||||
register size_t i;
|
|
||||||
|
|
||||||
for (i = numsectors - 1; i != (size_t)-1; i--)
|
|
||||||
{
|
|
||||||
size_t j = (unsigned)sectors[i].tag % numsectors;
|
|
||||||
sectors[i].nexttag = sectors[j].firsttag;
|
|
||||||
sectors[j].firsttag = (INT32)i;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = numlines - 1; i != (size_t)-1; i--)
|
|
||||||
{
|
|
||||||
size_t j = (unsigned)lines[i].tag % numlines;
|
|
||||||
lines[i].nexttag = lines[j].firsttag;
|
|
||||||
lines[j].firsttag = (INT32)i;
|
|
||||||
}
|
|
||||||
|
|
||||||
Taglist_InitGlobalTables();
|
Taglist_InitGlobalTables();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -293,7 +293,6 @@ typedef struct sector_s
|
||||||
INT16 special;
|
INT16 special;
|
||||||
UINT16 tag;
|
UINT16 tag;
|
||||||
taglist_t tags;
|
taglist_t tags;
|
||||||
INT32 nexttag, firsttag; // for fast tag searches
|
|
||||||
|
|
||||||
// origin for any sounds played by the sector
|
// origin for any sounds played by the sector
|
||||||
// also considered the center for e.g. Mario blocks
|
// also considered the center for e.g. Mario blocks
|
||||||
|
@ -433,7 +432,6 @@ typedef struct line_s
|
||||||
#if 1//#ifdef WALLSPLATS
|
#if 1//#ifdef WALLSPLATS
|
||||||
void *splats; // wallsplat_t list
|
void *splats; // wallsplat_t list
|
||||||
#endif
|
#endif
|
||||||
INT32 firsttag, nexttag; // improves searches for tags.
|
|
||||||
#ifdef POLYOBJECTS
|
#ifdef POLYOBJECTS
|
||||||
polyobj_t *polyobj; // Belongs to a polyobject?
|
polyobj_t *polyobj; // Belongs to a polyobject?
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue