2019-05-15 10:52:37 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CEntity;
|
|
|
|
|
|
|
|
struct CReference
|
|
|
|
{
|
|
|
|
CReference *next;
|
|
|
|
CEntity **pentity;
|
|
|
|
};
|
|
|
|
|
|
|
|
class CReferences
|
|
|
|
{
|
|
|
|
public:
|
2019-06-24 18:42:23 -04:00
|
|
|
static CReference *aRefs; //[NUMREFERENCES];
|
2019-05-15 10:52:37 -04:00
|
|
|
static CReference *&pEmptyList;
|
2019-07-06 06:27:21 -04:00
|
|
|
|
2019-05-15 10:52:37 -04:00
|
|
|
static void Init(void);
|
2019-07-06 06:27:21 -04:00
|
|
|
static void RemoveReferencesToPlayer(void);
|
|
|
|
static void PruneAllReferencesInWorld(void);
|
2019-05-15 10:52:37 -04:00
|
|
|
};
|