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