2023-01-19 15:25:45 +01:00
|
|
|
|
//====== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. =======//
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
//=============================================================================//
|
|
|
|
|
|
|
|
|
|
#include "core/stdafx.h"
|
|
|
|
|
#include "entitylist_base.h"
|
|
|
|
|
#include "public/ihandleentity.h"
|
|
|
|
|
|
|
|
|
|
// memdbgon must be the last include file in a .cpp file!!!
|
2023-05-11 21:35:54 +02:00
|
|
|
|
#include "tier0/memdbgon.h"
|
2023-01-19 15:25:45 +01:00
|
|
|
|
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
SERIAL_MASK = 0x7fff // the max value of a serial number, rolls back to 0 when it hits this limit
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void CEntInfo::ClearLinks()
|
|
|
|
|
{
|
|
|
|
|
m_pPrev = m_pNext = this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// !TODO: entity list.
|