QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pr_exec.c File Reference

Macros

#define FNZ(x)   ((x).uinteger_var && (x).uinteger_var != 0x80000000u)
 
#define OPA   (*op_a)
 
#define OPB   (*op_b)
 
#define OPC   (*op_c)
 

Functions

void PR_BoundsCheck (progs_t *pr, int addr, etype_t type)
 
void PR_BoundsCheckSize (progs_t *pr, pointer_t addr, unsigned size)
 
int PR_CallFunction (progs_t *pr, func_t fnum)
 Setup to call a function. More...
 
void PR_ExecuteProgram (progs_t *pr, func_t fnum)
 Run a progs function. More...
 
void PR_PopFrame (progs_t *pr)
 Pop an execution frame from the VM stack. More...
 
void PR_PushFrame (progs_t *pr)
 Push an execution frame onto the VM stack. More...
 
void PR_RestoreParams (progs_t *pr)
 Restore the parameters saved by PR_SaveParams(). More...
 
void PR_RunError (progs_t *pr, const char *error,...)
 
void PR_SaveParams (progs_t *pr)
 Save the current parameters. More...
 

Macro Definition Documentation

#define FNZ (   x)    ((x).uinteger_var && (x).uinteger_var != 0x80000000u)
#define OPA   (*op_a)
#define OPB   (*op_b)
#define OPC   (*op_c)