2019-05-15 16:52:37 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CEntity;
|
|
|
|
|
|
|
|
struct CReference
|
|
|
|
{
|
|
|
|
CReference *next;
|
|
|
|
CEntity **pentity;
|
|
|
|
};
|
|
|
|
|
|
|
|
class CReferences
|
|
|
|
{
|
|
|
|
public:
|
2020-04-17 08:54:14 +03:00
|
|
|
static CReference aRefs[NUMREFERENCES];
|
|
|
|
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
|
|
|
};
|