mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
forgot to remove the old prstring stuff
This commit is contained in:
parent
97bf8d2c51
commit
771648a5b4
3 changed files with 1 additions and 7 deletions
|
@ -160,7 +160,6 @@ eval_t *GetEdictFieldValue(progs_t *pr, edict_t *ed, char *field);
|
||||||
//
|
//
|
||||||
// PR STrings stuff
|
// PR STrings stuff
|
||||||
//
|
//
|
||||||
#define MAX_PRSTR 1024
|
|
||||||
|
|
||||||
char *PR_GetString(progs_t *pr, int num);
|
char *PR_GetString(progs_t *pr, int num);
|
||||||
int PR_SetString(progs_t *pr, char *s);
|
int PR_SetString(progs_t *pr, char *s);
|
||||||
|
@ -217,9 +216,6 @@ struct progs_s {
|
||||||
dfunction_t *pr_xfunction;
|
dfunction_t *pr_xfunction;
|
||||||
int pr_xstatement;
|
int pr_xstatement;
|
||||||
|
|
||||||
char *pr_strtbl[MAX_PRSTR];
|
|
||||||
int num_prstr;
|
|
||||||
|
|
||||||
prstack_t pr_stack[MAX_STACK_DEPTH];
|
prstack_t pr_stack[MAX_STACK_DEPTH];
|
||||||
int pr_depth;
|
int pr_depth;
|
||||||
|
|
||||||
|
|
|
@ -974,8 +974,6 @@ PR_LoadProgs (progs_t * pr, char *progsname)
|
||||||
pr->pr_statements =
|
pr->pr_statements =
|
||||||
(dstatement_t *) ((byte *) pr->progs + pr->progs->ofs_statements);
|
(dstatement_t *) ((byte *) pr->progs + pr->progs->ofs_statements);
|
||||||
|
|
||||||
pr->num_prstr = 0;
|
|
||||||
|
|
||||||
pr->pr_globals =
|
pr->pr_globals =
|
||||||
(pr_type_t *) ((byte *) pr->progs + pr->progs->ofs_globals);
|
(pr_type_t *) ((byte *) pr->progs + pr->progs->ofs_globals);
|
||||||
|
|
||||||
|
|
|
@ -400,7 +400,7 @@ SV_Status_f (void)
|
||||||
Con_Printf ("net address : %s\n", NET_AdrToString (net_local_adr));
|
Con_Printf ("net address : %s\n", NET_AdrToString (net_local_adr));
|
||||||
Con_Printf ("cpu utilization : %3i%%\n", (int) cpu);
|
Con_Printf ("cpu utilization : %3i%%\n", (int) cpu);
|
||||||
Con_Printf ("avg response time: %i ms\n", (int) avg);
|
Con_Printf ("avg response time: %i ms\n", (int) avg);
|
||||||
Con_Printf ("packets/frame : %5.2f (%d)\n", pak, sv_pr_state.num_prstr);
|
Con_Printf ("packets/frame : %5.2f\n", pak);
|
||||||
|
|
||||||
// min fps lat drp
|
// min fps lat drp
|
||||||
if (sv_redirected != RD_NONE) {
|
if (sv_redirected != RD_NONE) {
|
||||||
|
|
Loading…
Reference in a new issue