re3/src/core/References.h

21 lines
314 B
C
Raw Normal View History

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