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