]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - progsvm.h
impact handling: instead of detecting teleports by origin or angles changing, detect...
[xonotic/darkplaces.git] / progsvm.h
index ffcf3a16bf6c03f9ebdbcd196c1074a7972ecade..247fea0f7494382816edf8e83679da3ed2c65cec 100644 (file)
--- a/progsvm.h
+++ b/progsvm.h
@@ -71,7 +71,9 @@ typedef struct prvm_edict_private_s
 {
        qboolean free;
        float freetime;
-       int mark;
+       int mark; // used during leaktest (0 = unref, >0 = referenced); special values during server physics:
+#define PRVM_EDICT_MARK_WAIT_FOR_SETORIGIN -1
+#define PRVM_EDICT_MARK_SETORIGIN_CAUGHT -2
        const char *allocation_origin;
 } prvm_edict_private_t;