Searched refs:pr_globals (Results 1 – 9 of 9) sorted by relevance
/external/quake/quake/src/WinQuake/ |
D | progs.h | 65 extern float *pr_globals; // same as pr_global_struct 106 #define G_FLOAT(o) (pr_globals[o]) 107 #define G_INT(o) (*(int *)&pr_globals[o]) 108 #define G_EDICT(o) ((edict_t *)((byte *)sv.edicts+ *(int *)&pr_globals[o])) 110 #define G_VECTOR(o) (&pr_globals[o]) 111 #define G_STRING(o) (pr_strings + *(string_t *)&pr_globals[o]) 112 #define G_FUNCTION(o) (*(func_t *)&pr_globals[o])
|
D | pr_exec.cpp | 310 localstack[localstack_used+i] = ((int *)pr_globals)[f->parm_start + i]; in PR_EnterFunction() 319 ((int *)pr_globals)[o] = ((int *)pr_globals)[OFS_PARM0+i*3+j]; in PR_EnterFunction() 347 ((int *)pr_globals)[pr_xfunction->parm_start + i] = localstack[localstack_used+i]; in PR_LeaveFunction() 395 a = (eval_t *)&pr_globals[st->a]; in PR_ExecuteProgram() 396 b = (eval_t *)&pr_globals[st->b]; in PR_ExecuteProgram() 397 c = (eval_t *)&pr_globals[st->c]; in PR_ExecuteProgram() 640 pr_globals[OFS_RETURN] = pr_globals[st->a]; in PR_ExecuteProgram() 641 pr_globals[OFS_RETURN+1] = pr_globals[st->a+1]; in PR_ExecuteProgram() 642 pr_globals[OFS_RETURN+2] = pr_globals[st->a+2]; in PR_ExecuteProgram()
|
D | pr_edict.cpp | 31 float *pr_globals; // same as pr_global_struct variable 389 val = (void *)&pr_globals[ofs]; in PR_GlobalString() 639 fprintf (f,"\"%s\"\n", PR_UglyValueString((etype_t) type, (eval_t *)&pr_globals[def->ofs])); in ED_WriteGlobals() 680 if (!ED_ParseEpair ((void *)pr_globals, key, com_token)) in ED_ParseGlobals() 1019 pr_globals = (float *)pr_global_struct; in PR_LoadProgs() 1059 ((int *)pr_globals)[i] = LittleLong (((int *)pr_globals)[i]); in PR_LoadProgs()
|
D | pr_cmds.cpp | 23 #define RETURN_EDICT(e) (((int *)pr_globals)[OFS_RETURN] = EDICT_TO_PROG(e))
|
D | WinQuake.ncb | 1244 …_globaldefsgefv_cache::pcachegefv_cache::fieldchar %[MAX_FIELD_LEN]pr_globalsED_ParseGlobals…
|
/external/quake/quake/src/QW/server/ |
D | progs.h | 60 extern float *pr_globals; // same as pr_global_struct 101 #define G_FLOAT(o) (pr_globals[o]) 102 #define G_INT(o) (*(int *)&pr_globals[o]) 103 #define G_EDICT(o) ((edict_t *)((byte *)sv.edicts+ *(int *)&pr_globals[o])) 105 #define G_VECTOR(o) (&pr_globals[o]) 106 #define G_STRING(o) (PR_GetString(*(string_t *)&pr_globals[o])) 107 #define G_FUNCTION(o) (*(func_t *)&pr_globals[o])
|
D | pr_exec.c | 310 localstack[localstack_used+i] = ((int *)pr_globals)[f->parm_start + i]; in PR_EnterFunction() 319 ((int *)pr_globals)[o] = ((int *)pr_globals)[OFS_PARM0+i*3+j]; in PR_EnterFunction() 347 ((int *)pr_globals)[pr_xfunction->parm_start + i] = localstack[localstack_used+i]; in PR_LeaveFunction() 395 a = (eval_t *)&pr_globals[st->a]; in PR_ExecuteProgram() 396 b = (eval_t *)&pr_globals[st->b]; in PR_ExecuteProgram() 397 c = (eval_t *)&pr_globals[st->c]; in PR_ExecuteProgram() 640 pr_globals[OFS_RETURN] = pr_globals[st->a]; in PR_ExecuteProgram() 641 pr_globals[OFS_RETURN+1] = pr_globals[st->a+1]; in PR_ExecuteProgram() 642 pr_globals[OFS_RETURN+2] = pr_globals[st->a+2]; in PR_ExecuteProgram()
|
D | pr_edict.c | 31 float *pr_globals; // same as pr_global_struct variable 383 val = (void *)&pr_globals[ofs]; in PR_GlobalString() 631 fprintf (f,"\"%s\"\n", PR_UglyValueString(type, (eval_t *)&pr_globals[def->ofs])); in ED_WriteGlobals() 672 if (!ED_ParseEpair ((void *)pr_globals, key, com_token)) in ED_ParseGlobals() 997 pr_globals = (float *)pr_global_struct; in PR_LoadProgs() 1037 ((int *)pr_globals)[i] = LittleLong (((int *)pr_globals)[i]); in PR_LoadProgs()
|
D | pr_cmds.c | 23 #define RETURN_EDICT(e) (((int *)pr_globals)[OFS_RETURN] = EDICT_TO_PROG(e)) 24 #define RETURN_STRING(s) (((int *)pr_globals)[OFS_RETURN] = PR_SetString(s))
|