]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - progsvm.h
Bounds
[xonotic/darkplaces.git] / progsvm.h
index fd9af60973c9abb3ee747ca010e4af79bf8f98ea..6c048ba4af03f4f554b1fede58831a45b385cd02 100644 (file)
--- a/progsvm.h
+++ b/progsvm.h
@@ -44,6 +44,7 @@ typedef struct prvm_stack_s
 {
        int                             s;
        mfunction_t             *f;
+       double                  tprofile_acc;
        double                  profile_acc;
        double                  builtinsprofile_acc;
 } prvm_stack_t;
@@ -269,6 +270,11 @@ typedef struct prvm_prog_fieldoffsets_s
        int movedir; // ssqc / csqc (physics)
 
        int camera_transform; // csqc (warpzones)
+
+       int userwavefunc_param0; // csqc (userwavefunc)
+       int userwavefunc_param1; // csqc (userwavefunc)
+       int userwavefunc_param2; // csqc (userwavefunc)
+       int userwavefunc_param3; // csqc (userwavefunc)
 }
 prvm_prog_fieldoffsets_t;
 
@@ -586,7 +592,7 @@ void *_PRVM_Alloc (size_t buffersize, const char *filename, int fileline);
 void _PRVM_Free (void *buffer, const char *filename, int fileline);
 void _PRVM_FreeAll (const char *filename, int fileline);
 
-void PRVM_Profile (int maxfunctions, int mininstructions, int sortby);
+void PRVM_Profile (int maxfunctions, double mintime, int sortby);
 void PRVM_Profile_f (void);
 void PRVM_ChildProfile_f (void);
 void PRVM_CallProfile_f (void);