X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=progsvm.h;h=0a46d2aaaaad42d1c5951bd98cba02727851a160;hb=753c624e5c4006f307c914116a23316a3e10a1ce;hp=02cb4beadab9ba924ebba202b7a7c58984ac7cc5;hpb=15f3ecf8b59f74d65d3382c729034790650f6264;p=xonotic%2Fdarkplaces.git diff --git a/progsvm.h b/progsvm.h index 02cb4bea..0a46d2aa 100644 --- a/progsvm.h +++ b/progsvm.h @@ -70,7 +70,7 @@ typedef struct prvm_required_field_s typedef struct prvm_edict_private_s { qboolean free; - float freetime; + float freetime; // realtime of last change to "free" (i.e. also set on allocation) 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 @@ -531,8 +531,8 @@ prvm_stringbuffer_t; typedef struct prvm_prog_s { double starttime; // system time when PRVM_Prog_Load was called + double inittime; // system time when QC initialization code finished (any entity created before is not a leak) double profiletime; // system time when last PRVM_CallProfile was called (or PRVM_Prog_Load initially) - unsigned int id; // increasing unique id of progs instance mfunction_t *functions; int functions_covered; char *strings; @@ -683,6 +683,8 @@ typedef struct prvm_prog_s // printed together with backtraces const char *statestring; + struct animatemodel_cache *animatemodel_cache; + // prvm_builtin_mem_t *mem_list; // now passed as parameter of PRVM_LoadProgs