summaryrefslogtreecommitdiffstats
path: root/src/core/References.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/References.h')
-rw-r--r--src/core/References.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/References.h b/src/core/References.h
new file mode 100644
index 00000000..6476e243
--- /dev/null
+++ b/src/core/References.h
@@ -0,0 +1,20 @@
+#pragma once
+
+class CEntity;
+
+struct CReference
+{
+ CReference *next;
+ CEntity **pentity;
+};
+
+class CReferences
+{
+public:
+ static CReference *aRefs; //[NUMREFERENCES];
+ static CReference *&pEmptyList;
+
+ static void Init(void);
+ static void RemoveReferencesToPlayer(void);
+ static void PruneAllReferencesInWorld(void);
+};