Remove unused functions

This commit is contained in:
NepDisk 2025-10-07 13:03:05 -04:00
parent 151bb79d85
commit 028d368765

View file

@ -1738,18 +1738,6 @@ static sector_t *SyncSector(savebuffer_t *save, sector_t *sector)
}
}
static line_t *LoadLine(UINT32 line)
{
if (line >= numlines) return NULL;
return &lines[line];
}
static UINT32 SaveLine(const line_t *line)
{
if (line) return (UINT32)(line - lines);
return 0xFFFFFFFF;
}
static line_t *SyncLine(savebuffer_t *save, line_t *line)
{
if (save->write)
@ -1778,12 +1766,6 @@ static inline UINT32 SavePlayer(const player_t *player)
return 0xFFFFFFFF;
}
static UINT32 SaveSlope(const pslope_t *slope)
{
if (slope) return (UINT32)(slope->id);
return 0xFFFFFFFF;
}
static pslope_t *SyncSlope(savebuffer_t *save, pslope_t *slope)
{
if (save->write)
@ -3588,24 +3570,6 @@ mobj_t *P_FindNewPosition(UINT32 oldposition)
return NULL;
}
static inline mobj_t *LoadMobj(UINT32 mobjnum)
{
if (mobjnum == 0) return NULL;
return (mobj_t *)(size_t)mobjnum;
}
static inline pslope_t *LoadSlope(UINT32 slopeid)
{
pslope_t *p = slopelist;
if (slopeid > slopecount) return NULL;
do
{
if (p->id == slopeid)
return p;
} while ((p = p->next));
return NULL;
}
///////////////////////////////////////////////////////////////////////////////
//
// haleyjd 03/26/06: PolyObject saving code