X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=pr_comp.h;h=8ccdaf6d74ace96f3ca9a6909ebbb1a6692942c1;hb=5cf485940428b401e658f4351f65d1da08f93d36;hp=5fd9f0485149fa29ddf1dab704c9abc59fa3c21d;hpb=f9d8bc7ea04ff91fcbd90fe50a299b37724b349b;p=xonotic%2Fdarkplaces.git diff --git a/pr_comp.h b/pr_comp.h index 5fd9f048..8ccdaf6d 100644 --- a/pr_comp.h +++ b/pr_comp.h @@ -153,7 +153,7 @@ typedef struct dfunction_s int s_file; // source file defined in int numparms; - qbyte parm_size[MAX_PARMS]; + unsigned char parm_size[MAX_PARMS]; } dfunction_t; @@ -163,15 +163,16 @@ typedef struct mfunction_s int parm_start; int locals; // total ints of parms + locals - int profile; // runtime - int builtinsprofile; // cost of builtin functions called by this function - int callcount; // times the functions has been called since the last profile call + // these are doubles so that they can count up to 54bits or so rather than 32bit + double profile; // runtime + double builtinsprofile; // cost of builtin functions called by this function + double callcount; // times the functions has been called since the last profile call int s_name; int s_file; // source file defined in int numparms; - qbyte parm_size[MAX_PARMS]; + unsigned char parm_size[MAX_PARMS]; } mfunction_t;