![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <progsvm.h>
Data Fields | ||
qbool | allowworldwrites | |
allow writing to world entity fields, this is set by server init and cleared before first server frame | ||
struct animatemodel_cache * | animatemodel_cache | |
int | argc | |
void(* | begin_increase_edicts )(struct prvm_prog_s *prog) | |
[INIT] used by PRVM_MEM_Increase_Edicts | ||
int | break_stack_index | |
int | break_statement | |
prvm_builtin_t * | builtins | |
struct cmd_state_s * | console_cmd | |
points to the relevant console command interpreter for this vm (cmd_local or &cmd_server), also used to access cvars | ||
void(* | count_edicts )(struct prvm_prog_s *prog) | |
[INIT] used by PRVM_ED_Count_f | ||
int | depth | |
void * | edictprivate | |
int | edictprivate_size | |
size of the engine private struct | ||
prvm_edict_t * | edicts | |
union { | ||
prvm_vec_t * fp | ||
prvm_int_t * ip | ||
} | edictsfields | |
void(* | end_increase_edicts )(struct prvm_prog_s *prog) | |
[INIT] | ||
int | entityfields | |
number of vec_t fields in progs (some variables are 3) | ||
int | entityfieldsarea | |
LadyHavoc: equal to max_edicts * entityfields (for bounds checking) | ||
void(* | error_cmd )(const char *format,...) DP_FUNC_PRINTF(1) DP_FUNC_NORETURN | |
[INIT] | ||
void(* | ExecuteProgram )(struct prvm_prog_s *prog, func_t fnum, const char *errormessage) | |
pointer to one of the *VM_ExecuteProgram functions | ||
int | explicit_covered | |
double * | explicit_profile | |
only incremented if prvm_statementprofiling is on | ||
const char ** | extensionstring | |
mdef_t * | fielddefs | |
prvm_prog_fieldoffsets_t | fieldoffsets | |
unsigned short | filecrc | |
int | firstfreeknownstring | |
this is updated whenever a string is removed or added (simple optimization of the free string search) | ||
unsigned | flag | |
flag - used to store general flags like PRVM_GE_SELF, etc. | ||
void(* | free_edict )(struct prvm_prog_s *prog, prvm_edict_t *ed) | |
[INIT] used by PRVM_ED_Free | ||
prvm_prog_funcoffsets_t | funcoffsets | |
mfunction_t * | functions | |
int | functions_covered | |
prvm_prog_garbagecollection_state_t | gc | |
garbage collection status | ||
mdef_t * | globaldefs | |
prvm_prog_globaloffsets_t | globaloffsets | |
union { | ||
prvm_vec_t * fp | ||
prvm_int_t * ip | ||
} | globals | |
void(* | init_cmd )(struct prvm_prog_s *prog) | |
[INIT] used by PRVM_InitProg | ||
void(* | init_edict )(struct prvm_prog_s *prog, prvm_edict_t *edict) | |
[INIT] used by PRVM_ED_ClearEdict | ||
double | inittime | |
system time when QC initialization code finished (any entity created before is not a leak) | ||
const char ** | knownstrings | |
unsigned char * | knownstrings_flags | |
const char ** | knownstrings_origin | |
qbool | leaktest_active | |
int | limit_edicts | |
used instead of the constant MAX_EDICTS | ||
qbool(* | load_edict )(struct prvm_prog_s *prog, prvm_edict_t *ent) | |
[INIT] used by PRVM_ED_LoadFromFile | ||
qbool | loaded | |
used to indicate whether a prog is loaded | ||
qbool | loadintoworld | |
prvm_int_t | localstack [PRVM_LOCALSTACK_SIZE] | |
int | localstack_used | |
int | max_edicts | |
number of edicts for which space has been (should be) allocated | ||
int | maxknownstrings | |
const char * | name | |
name of the prog, e.g. "Server", "Client" or "Menu" (used for text output) | ||
int | num_edicts | |
copies of some vars that were former read from sv | ||
int | numbuiltins | |
int | numexplicitcoveragestatements | |
int | numfielddefs | |
int | numfunctions | |
int | numglobaldefs | |
int | numglobals | |
int | numknownstrings | |
int | numstatements | |
int | numstrings | |
struct qfile_s * | openfiles [PRVM_MAX_OPENFILES] | |
const char * | openfiles_origin [PRVM_MAX_OPENFILES] | |
struct fssearch_s * | opensearches [PRVM_MAX_OPENSEARCHES] | |
const char * | opensearches_origin [PRVM_MAX_OPENSEARCHES] | |
void * | po | |
translation buffer (only needs to be freed on unloading progs, type is private to prvm_edict.c) | ||
int | polygonbegin_drawflags | |
qbool | polygonbegin_guess2d | |
indicates if polygonbegin should be interpreted as 2d (clearscene sets this to false, renderscene sets this to true, drawpic also sets this to true) note that in FTEQW polygonbegin with 2 args is handled very differently, where the behavior is always 3D unless DRAWFLAG_2D is passed, but DRAWFLAG_2D conflicts with our DRAWFLAG_SCREEN. | ||
int | polygonbegin_maxvertices | |
struct model_s * | polygonbegin_model | |
this tracks the last polygonbegin's choice of CL_Mesh_CSQC or CL_Mesh_UI for this polygon | ||
int | polygonbegin_numvertices | |
char | polygonbegin_texname [MAX_QPATH] | |
float * | polygonbegin_vertexdata | |
double | profiletime | |
system time when last PRVM_CallProfile was called (or PRVM_Prog_Load initially) | ||
int | progs_crc | |
int | progs_entityfields | |
mempool_t * | progs_mempool | |
all memory allocations related to this vm_prog (code, edicts, strings) | ||
int | progs_numfielddefs | |
int | progs_numfunctions | |
int | progs_numglobaldefs | |
int | progs_numglobals | |
int | progs_numstatements | |
int | progs_numstrings | |
int | progs_version | |
int | reserved_edicts | |
number of reserved edicts (allocated from 1) | ||
void(* | reset_cmd )(struct prvm_prog_s *prog) | |
[INIT] used by PRVM_ResetProg | ||
mdef_t * | self | |
if self != 0 then there is a global self | ||
struct skeleton_s * | skeletons [MAX_EDICTS] | |
prvm_stack_t | stack [PRVM_MAX_STACK_DEPTH+1] | |
stacktrace writes into stack[MAX_STACK_DEPTH] thus increase the array, so depth wont be overwritten | ||
double | starttime | |
system time when PRVM_Prog_Load was called | ||
int * | statement_columnnums | |
NULL if not available. | ||
int * | statement_linenums | |
NULL if not available. | ||
double * | statement_profile | |
only incremented if prvm_statementprofiling is on | ||
mstatement_t * | statements | |
int | statements_covered | |
const char * | statestring | |
printed together with backtraces | ||
memexpandablearray_t | stringbuffersarray | |
char * | strings | |
const char *** | stringshash | |
int | stringssize | |
sizebuf_t | tempstringsbuf | |
buffer for storing all tempstrings created during one invocation of ExecuteProgram | ||
int | trace | |
int | watch_edict | |
prvm_eval_t | watch_edictfield_value | |
int | watch_field | |
etype_t | watch_field_type | |
int | watch_global | |
etype_t | watch_global_type | |
prvm_eval_t | watch_global_value | |
mfunction_t * | xfunction | |
int | xstatement | |
qbool prvm_prog_t::allowworldwrites |
allow writing to world entity fields, this is set by server init and cleared before first server frame
Definition at line 697 of file progsvm.h.
Referenced by SV_SpawnServer().
struct animatemodel_cache* prvm_prog_t::animatemodel_cache |
Definition at line 719 of file progsvm.h.
Referenced by animatemodel(), animatemodel_reset(), clippointtosurface(), VM_getsurfacenormal(), VM_getsurfacepoint(), and VM_getsurfacepointattribute().
int prvm_prog_t::argc |
Definition at line 607 of file progsvm.h.
Referenced by VM_buf_create(), VM_buf_cvarlist(), VM_buf_writefile(), VM_bufstr_find(), VM_callfunction(), VM_chr2str(), VM_CL_boxparticles(), VM_CL_findbox(), VM_CL_findradius(), VM_CL_getlight(), VM_CL_getstati(), VM_CL_ParticleThemeSave(), VM_CL_pointparticles(), VM_CL_R_AddDynamicLight(), VM_CL_R_PolygonBegin(), VM_CL_R_SetView(), VM_CL_runplayerphysics(), VM_CL_sound(), VM_CL_SpawnParticle(), VM_CL_SpawnParticleDelayed(), VM_CL_trailparticles(), VM_CL_walkmove(), VM_drawcolorcodedstring(), VM_drawpic(), VM_drawstring(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_findkeysforcommand(), VM_getkeybind(), VM_gettime(), VM_loadfont(), VM_localsound(), VM_M_getresolution(), VM_M_refreshserverlist(), VM_matchpattern(), VM_max(), VM_min(), VM_netaddress_resolve(), VM_precache_pic(), VM_registercvar(), VM_search_begin(), VM_setkeybind(), VM_stringwidth(), VM_strncasecmp(), VM_strncmp(), VM_strstrofs(), VM_SV_findbox(), VM_SV_findradius(), VM_SV_makestatic(), VM_SV_pointsound(), VM_SV_sound(), VM_SV_walkmove(), VM_tokenizebyseparator(), VM_uri_get(), VM_VarString(), and VM_vectoangles().
void(* prvm_prog_t::begin_increase_edicts) (struct prvm_prog_s *prog) |
[INIT] used by PRVM_MEM_Increase_Edicts
Definition at line 734 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_MEM_IncreaseEdicts(), and SV_VM_Setup().
int prvm_prog_t::break_stack_index |
Definition at line 611 of file progsvm.h.
Referenced by PRVM_UpdateBreakpoints().
int prvm_prog_t::break_statement |
Definition at line 610 of file progsvm.h.
Referenced by CLVM_ExecuteProgram(), PRVM_Prog_Reset(), PRVM_UpdateBreakpoints(), and SVVM_ExecuteProgram().
prvm_builtin_t* prvm_prog_t::builtins |
Definition at line 604 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), SV_VM_Setup(), and VM_callfunction().
struct cmd_state_s* prvm_prog_t::console_cmd |
points to the relevant console command interpreter for this vm (cmd_local or &cmd_server), also used to access cvars
Definition at line 641 of file progsvm.h.
Referenced by PRVM_Cvar_ReadOk(), PRVM_Prog_Init(), PRVM_Prog_Load(), SV_Loadgame_f(), VM_buf_cvarlist(), VM_cvar(), VM_cvar_defstring(), VM_cvar_description(), VM_cvar_set(), VM_cvar_string(), VM_cvar_type(), and VM_registercvar().
void(* prvm_prog_t::count_edicts) (struct prvm_prog_s *prog) |
[INIT] used by PRVM_ED_Count_f
Definition at line 740 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_ED_Count_f(), and SV_VM_Setup().
int prvm_prog_t::depth |
Definition at line 626 of file progsvm.h.
Referenced by CLVM_ExecuteProgram(), PRVM_AllocationOrigin(), PRVM_EnterFunction(), PRVM_Init_Exec(), PRVM_LeaveFunction(), PRVM_PrintState(), PRVM_ShortStackTrace(), PRVM_StackTrace(), and SVVM_ExecuteProgram().
void* prvm_prog_t::edictprivate |
Definition at line 686 of file progsvm.h.
Referenced by PRVM_MEM_Alloc(), and PRVM_MEM_IncreaseEdicts().
int prvm_prog_t::edictprivate_size |
size of the engine private struct
Definition at line 689 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_MEM_Alloc(), PRVM_MEM_IncreaseEdicts(), and SV_VM_Setup().
prvm_edict_t* prvm_prog_t::edicts |
Definition at line 680 of file progsvm.h.
Referenced by CL_Cache_TraceLineSurfaces(), CL_GetTagMatrix(), CL_LinkEdict(), CL_movestep(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), CL_VM_Init(), CLVM_end_increase_edicts(), EntityFrame4_WriteFrame(), EntityFrame_WriteFrame(), EntityFrameCSQC_LostAllFrames(), EntityFrameCSQC_WriteFrame(), EntityFrameQuake_WriteFrame(), EntityState5_WriteUpdate(), PRVM_ED_Free(), PRVM_ED_LoadFromFile(), PRVM_MEM_Alloc(), PRVM_MEM_IncreaseEdicts(), SV_CleanupEnts(), SV_FlyMove(), SV_GetTagMatrix(), SV_LinkEdict(), SV_LinkEdict_TouchAreaGrid(), SV_movestep(), SV_Physics(), SV_Physics_Pusher(), SV_PrepareEntitiesForSending(), SV_RunThink(), SV_Savegame_to(), SV_SendServerinfo(), SV_SpawnServer(), SV_TraceBox(), SV_TraceLine(), SV_TracePoint(), SVVM_end_increase_edicts(), VM_changepitch(), VM_changeyaw(), VM_CL_copyentity(), VM_CL_droptofloor(), VM_CL_findbox(), VM_CL_findradius(), VM_CL_gettagindex(), VM_CL_makestatic(), VM_CL_R_AddEntities(), VM_CL_runplayerphysics(), VM_CL_setattachment(), VM_CL_setorigin(), VM_CL_setsize(), VM_CL_tracetoss(), VM_CL_walkmove(), VM_ClearTraceGlobals(), VM_find(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_findflags(), VM_findfloat(), VM_nextent(), VM_nudgeoutofsolid(), VM_SetTraceGlobals(), VM_SV_aim(), VM_SV_checkclient(), VM_SV_copyentity(), VM_SV_droptofloor(), VM_SV_findbox(), VM_SV_findradius(), VM_SV_gettagindex(), VM_SV_makestatic(), VM_SV_MoveToGoal(), VM_SV_setattachment(), VM_SV_setmodel(), VM_SV_setmodelindex(), VM_SV_setorigin(), VM_SV_setsize(), VM_SV_spawnclient(), VM_SV_tracetoss(), VM_SV_walkmove(), World_LinkEdict(), and World_LinkEdict_AreaGrid().
union { ... } prvm_prog_t::edictsfields |
Referenced by PRVM_GarbageCollection(), PRVM_MEM_Alloc(), and PRVM_MEM_IncreaseEdicts().
void(* prvm_prog_t::end_increase_edicts) (struct prvm_prog_s *prog) |
[INIT]
Definition at line 735 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_MEM_IncreaseEdicts(), and SV_VM_Setup().
int prvm_prog_t::entityfields |
number of vec_t fields in progs (some variables are 3)
Definition at line 548 of file progsvm.h.
Referenced by CLVM_free_edict(), PRVM_ED_ClearEdict(), PRVM_ED_LoadFromFile(), PRVM_Fields_f(), PRVM_GarbageCollection(), PRVM_MEM_Alloc(), PRVM_MEM_IncreaseEdicts(), PRVM_Prog_Load(), SV_Loadgame_f(), SV_SpawnServer(), VM_CL_copyentity(), VM_M_copyentity(), and VM_SV_copyentity().
int prvm_prog_t::entityfieldsarea |
LadyHavoc: equal to max_edicts * entityfields (for bounds checking)
Definition at line 549 of file progsvm.h.
Referenced by PRVM_MEM_Alloc(), and PRVM_MEM_IncreaseEdicts().
void(* prvm_prog_t::error_cmd) (const char *format,...) DP_FUNC_PRINTF(1) DP_FUNC_NORETURN |
[INIT]
Definition at line 747 of file progsvm.h.
Referenced by CL_CheckRequiredFuncs(), CL_VM_Init(), CLVM_ExecuteProgram(), MP_CheckRequiredFuncs(), MP_Init(), PRVM_ChangeEngineString(), PRVM_ED_Alloc(), PRVM_ED_LoadFromFile(), PRVM_ED_ParseEdict(), PRVM_ED_ParseGlobals(), PRVM_EDICT_NUM_ERROR(), PRVM_EnterFunction(), PRVM_FreeString(), PRVM_LeaveFunction(), PRVM_Prog_Load(), PRVM_SetEngineString(), PRVM_SetTempString(), SetMinMaxSize(), SetMinMaxSizePRVM(), SV_VM_Setup(), SVVM_ExecuteProgram(), VM_break(), VM_callfunction(), VM_CheckEmptyString(), VM_CL_findbox(), VM_CL_findradius(), VM_CL_tracebox(), VM_CL_traceline(), VM_crash(), VM_error(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_M_setkeydest(), VM_M_setmousetarget(), VM_M_WriteDest(), VM_parseentitydata(), VM_SV_findbox(), VM_SV_findradius(), VM_SV_lightstyle(), VM_SV_tracebox(), VM_SV_traceline(), and VM_uri_get().
void(* prvm_prog_t::ExecuteProgram) (struct prvm_prog_s *prog, func_t fnum, const char *errormessage) |
pointer to one of the *VM_ExecuteProgram functions
Definition at line 749 of file progsvm.h.
Referenced by CL_VM_DrawHud(), CL_VM_Event_Sound(), CL_VM_Init(), CL_VM_InputEvent(), CL_VM_Parse_CenterPrint(), CL_VM_Parse_Print(), CL_VM_Parse_StuffCmd(), CL_VM_Parse_TempEntity(), CL_VM_ShutDown(), CL_VM_TransformView(), CL_VM_UpdateView(), CSQC_Predraw(), CSQC_ReadEntities(), CSQC_Think(), EntityFrameCSQC_WriteFrame(), MP_Draw(), MP_GetServerListEntryCategory(), MP_Init(), MP_KeyEvent(), MP_NewMap(), MP_Shutdown(), MP_ToggleMenu(), PRVM_ConsoleCommand(), PRVM_ED_CallPostspawnFunction(), PRVM_ED_CallPrespawnFunction(), PRVM_ED_CallSpawnFunction(), PRVM_GameCommand(), SV_CheckContentsTransition(), SV_Color_f(), SV_ConnectClient(), SV_DropClient(), SV_Frame(), SV_Impact(), SV_Kill_f(), SV_LinkEdict_TouchAreaGrid_Call(), SV_MarkWriteEntityStateToClient(), SV_Physics(), SV_Physics_ClientEntity_PostThink(), SV_Physics_ClientEntity_PreThink(), SV_Physics_ClientMove(), SV_Physics_Pusher(), SV_Physics_Step(), SV_PlayerPhysics(), SV_PushMove(), SV_ReadClientMessage(), SV_RunThink(), SV_SaveSpawnparms(), SV_Spawn_f(), SV_SpawnServer(), SV_ThreadFunc(), SV_VM_Setup(), SV_VM_Shutdown(), uri_to_string_callback(), and VM_callfunction().
int prvm_prog_t::explicit_covered |
Definition at line 576 of file progsvm.h.
Referenced by PRVM_ExplicitCoverageEvent().
double* prvm_prog_t::explicit_profile |
only incremented if prvm_statementprofiling is on
Definition at line 575 of file progsvm.h.
Referenced by PRVM_Prog_Load(), and VM_coverage().
const char** prvm_prog_t::extensionstring |
Definition at line 705 of file progsvm.h.
Referenced by checkextension(), CL_VM_Init(), MP_Init(), and SV_VM_Setup().
mdef_t* prvm_prog_t::fielddefs |
Definition at line 545 of file progsvm.h.
Referenced by PRVM_ED_FieldAtOfs(), PRVM_ED_FindField(), PRVM_ED_Print(), PRVM_ED_Write(), PRVM_Fields_f(), PRVM_GarbageCollection(), PRVM_IsEdictReferenced(), PRVM_IsStringReferenced(), PRVM_Prog_Load(), VM_entityfieldname(), VM_entityfieldtype(), VM_getentityfieldstring(), and VM_putentityfieldstring().
prvm_prog_fieldoffsets_t prvm_prog_t::fieldoffsets |
Definition at line 691 of file progsvm.h.
Referenced by CL_VM_Init(), PRVM_FindOffsets(), VM_CL_findbox(), VM_CL_findradius(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_SV_findbox(), and VM_SV_findradius().
unsigned short prvm_prog_t::filecrc |
Definition at line 631 of file progsvm.h.
Referenced by PRVM_Prog_Load(), and SV_SendServerinfo().
int prvm_prog_t::firstfreeknownstring |
this is updated whenever a string is removed or added (simple optimization of the free string search)
Definition at line 590 of file progsvm.h.
Referenced by PRVM_AllocString(), PRVM_FreeString(), PRVM_GarbageCollection(), PRVM_NewKnownString(), and PRVM_SetEngineString().
unsigned prvm_prog_t::flag |
flag - used to store general flags like PRVM_GE_SELF, etc.
Definition at line 703 of file progsvm.h.
Referenced by CL_CheckRequiredFuncs(), CL_VM_Init(), PRVM_Prog_Load(), and SV_VM_Setup().
prvm_vec_t* prvm_prog_t::fp |
Definition at line 580 of file progsvm.h.
Referenced by MP_GetServerListEntryCategory(), MP_KeyEvent(), MP_ToggleMenu(), PRVM_ED_FindGlobalEval(), PRVM_ED_GlobalGet_f(), PRVM_ED_ParseEpair(), PRVM_ED_WriteGlobals(), PRVM_GlobalString(), PRVM_MEM_Alloc(), PRVM_MEM_IncreaseEdicts(), PRVM_Prog_Load(), SV_Color_f(), SV_Frame(), and SV_ThreadFunc().
void(* prvm_prog_t::free_edict) (struct prvm_prog_s *prog, prvm_edict_t *ed) |
[INIT] used by PRVM_ED_Free
Definition at line 738 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_ED_Free(), and SV_VM_Setup().
prvm_prog_funcoffsets_t prvm_prog_t::funcoffsets |
Definition at line 693 of file progsvm.h.
Referenced by CL_VM_ConsoleCommand(), MP_ConsoleCommand(), PRVM_FindOffsets(), and SV_VM_ConsoleCommand().
mfunction_t* prvm_prog_t::functions |
Definition at line 541 of file progsvm.h.
Referenced by CLVM_ExecuteProgram(), PRVM_CallProfile(), PRVM_ED_CallSpawnFunction(), PRVM_ED_FindFunction(), PRVM_ED_FindFunctionOffset(), PRVM_ED_ParseEpair(), PRVM_PrintFunctionStatements(), PRVM_Profile(), PRVM_Prog_Load(), PRVM_UglyValueString(), PRVM_ValueString(), SVVM_ExecuteProgram(), VM_callfunction(), VM_CL_R_AddDynamicLight(), VM_CL_R_AddEntities(), VM_CL_R_AddEntity(), and VM_CL_R_RenderScene().
int prvm_prog_t::functions_covered |
Definition at line 542 of file progsvm.h.
Referenced by PRVM_FunctionCoverageEvent().
prvm_prog_garbagecollection_state_t prvm_prog_t::gc |
garbage collection status
Definition at line 599 of file progsvm.h.
Referenced by PRVM_GarbageCollection().
mdef_t* prvm_prog_t::globaldefs |
Definition at line 546 of file progsvm.h.
Referenced by Cvar_UpdateAutoCvar(), PRVM_ED_FindGlobal(), PRVM_ED_GlobalAtOfs(), PRVM_ED_WriteGlobals(), PRVM_GarbageCollection(), PRVM_Globals_f(), PRVM_IsStringReferenced(), PRVM_MarkReferencedEdicts(), and PRVM_Prog_Load().
prvm_prog_globaloffsets_t prvm_prog_t::globaloffsets |
Definition at line 692 of file progsvm.h.
Referenced by CL_VM_Init(), and PRVM_FindOffsets().
union { ... } prvm_prog_t::globals |
Referenced by MP_GetServerListEntryCategory(), MP_KeyEvent(), MP_ToggleMenu(), PRVM_ED_FindGlobalEval(), PRVM_ED_GlobalGet_f(), PRVM_ED_ParseEpair(), PRVM_ED_WriteGlobals(), PRVM_EnterFunction(), PRVM_GarbageCollection(), PRVM_GlobalString(), PRVM_LeaveFunction(), PRVM_Prog_Load(), SV_Color_f(), SV_Frame(), and SV_ThreadFunc().
void(* prvm_prog_t::init_cmd) (struct prvm_prog_s *prog) |
[INIT] used by PRVM_InitProg
Definition at line 744 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_Prog_Load(), and SV_VM_Setup().
void(* prvm_prog_t::init_edict) (struct prvm_prog_s *prog, prvm_edict_t *edict) |
[INIT] used by PRVM_ED_ClearEdict
Definition at line 737 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_ED_ClearEdict(), and SV_VM_Setup().
double prvm_prog_t::inittime |
system time when QC initialization code finished (any entity created before is not a leak)
Definition at line 539 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_IsEdictRelevant(), PRVM_Prog_Load(), and SV_SpawnServer().
prvm_int_t* prvm_prog_t::ip |
Definition at line 581 of file progsvm.h.
Referenced by PRVM_EnterFunction(), PRVM_GarbageCollection(), PRVM_LeaveFunction(), and PRVM_Prog_Load().
const char** prvm_prog_t::knownstrings |
Definition at line 591 of file progsvm.h.
Referenced by PRVM_AllocString(), PRVM_ChangeEngineString(), PRVM_FreeString(), PRVM_GarbageCollection(), PRVM_GetString(), PRVM_LeakTest(), PRVM_NewKnownString(), PRVM_Prog_Load(), and PRVM_SetEngineString().
unsigned char* prvm_prog_t::knownstrings_flags |
Definition at line 592 of file progsvm.h.
Referenced by PRVM_ChangeEngineString(), PRVM_FreeString(), PRVM_GarbageCollection(), PRVM_GetString(), PRVM_LeakTest(), PRVM_NewKnownString(), and PRVM_Prog_Load().
const char** prvm_prog_t::knownstrings_origin |
Definition at line 593 of file progsvm.h.
Referenced by PRVM_AllocString(), PRVM_FreeString(), PRVM_LeakTest(), and PRVM_NewKnownString().
qbool prvm_prog_t::leaktest_active |
Definition at line 711 of file progsvm.h.
Referenced by PRVM_AllocationOrigin(), PRVM_AllocString(), PRVM_FreeString(), PRVM_LeakTest(), PRVM_NewKnownString(), and PRVM_Prog_Init().
int prvm_prog_t::limit_edicts |
used instead of the constant MAX_EDICTS
Definition at line 675 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_ED_Alloc(), PRVM_ED_ParseEpair(), PRVM_MEM_Alloc(), PRVM_MEM_IncreaseEdicts(), PRVM_Prog_Load(), and SV_VM_Setup().
qbool(* prvm_prog_t::load_edict) (struct prvm_prog_s *prog, prvm_edict_t *ent) |
[INIT] used by PRVM_ED_LoadFromFile
Definition at line 742 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_ED_LoadFromFile(), and SV_VM_Setup().
qbool prvm_prog_t::loaded |
used to indicate whether a prog is loaded
Definition at line 710 of file progsvm.h.
Referenced by CL_VM_Event_Sound(), CL_VM_Init(), CL_VM_InputEvent(), CL_VM_Parse_CenterPrint(), CL_VM_Parse_StuffCmd(), CL_VM_Parse_TempEntity(), CL_VM_PreventInformationLeaks(), CL_VM_ShutDown(), CL_VM_UpdateCoopDeathmatchGlobals(), CL_VM_UpdateDmgGlobals(), CL_VM_UpdateIntermissionState(), CL_VM_UpdateShowingScoresState(), CL_VM_UpdateView(), CSQC_AddPrintText(), CSQC_ReadEntities(), CSQC_UpdateNetworkTimes(), Cvar_IsAutoCvar(), Cvar_UpdateAutoCvar(), MP_Draw(), MP_Shutdown(), PRVM_ConsoleCommand(), PRVM_FriendlyProgFromString(), PRVM_Prog_Load(), PRVM_Prog_Reset(), PRVM_UpdateBreakpoints(), SV_DisableCheats_c(), SV_VM_Shutdown(), and uri_to_string_callback().
qbool prvm_prog_t::loadintoworld |
Definition at line 707 of file progsvm.h.
Referenced by PRVM_ED_LoadFromFile(), and SV_VM_Setup().
prvm_int_t prvm_prog_t::localstack[PRVM_LOCALSTACK_SIZE] |
Definition at line 628 of file progsvm.h.
Referenced by PRVM_EnterFunction(), and PRVM_LeaveFunction().
int prvm_prog_t::localstack_used |
Definition at line 629 of file progsvm.h.
Referenced by PRVM_EnterFunction(), PRVM_Init_Exec(), and PRVM_LeaveFunction().
int prvm_prog_t::max_edicts |
number of edicts for which space has been (should be) allocated
Definition at line 673 of file progsvm.h.
Referenced by CL_VM_Init(), EntityFrame4_WriteFrame(), EntityFrame5_WriteFrame(), PRVM_ED_Alloc(), PRVM_ED_ParseEpair(), PRVM_Fields_f(), PRVM_MarkReferencedEdicts(), PRVM_MEM_Alloc(), PRVM_MEM_IncreaseEdicts(), PRVM_ValueString(), SV_CreateBaseline(), SV_Loadgame_f(), SV_ReadClientMove(), SV_SendServerinfo(), SV_UpdateToReliableMessages(), SV_VM_Setup(), VM_ftoe(), and World_LinkEdict_AreaGrid().
int prvm_prog_t::maxknownstrings |
Definition at line 586 of file progsvm.h.
Referenced by PRVM_NewKnownString(), and PRVM_Prog_Load().
const char* prvm_prog_t::name |
name of the prog, e.g. "Server", "Client" or "Menu" (used for text output)
Definition at line 700 of file progsvm.h.
Referenced by CL_CheckRequiredFuncs(), CL_VM_Init(), Cvar_IsAutoCvar(), MP_CheckRequiredFuncs(), MP_Init(), PHYS_NudgeOutOfSolid(), PRVM_Breakpoint(), PRVM_CallProfile(), PRVM_Crash(), PRVM_ED_Alloc(), PRVM_ED_LoadFromFile(), PRVM_ED_ParseEdict(), PRVM_ED_ParseEpair(), PRVM_ED_ParseGlobals(), PRVM_ED_Print(), PRVM_ED_PrintEdicts_f(), PRVM_EDICT_NUM_ERROR(), PRVM_EnterFunction(), PRVM_ExplicitCoverageEvent(), PRVM_Fields_f(), PRVM_FreeString(), PRVM_FunctionCoverageEvent(), PRVM_GarbageCollection(), PRVM_Globals_f(), PRVM_LeaveFunction(), PRVM_PrintFunctionStatements(), PRVM_Profile(), PRVM_Prog_Load(), PRVM_SetTempString(), PRVM_ShortStackTrace(), PRVM_StatementCoverageEvent(), PRVM_UpdateBreakpoints(), SV_Savegame_to(), SV_VM_Setup(), VM_break(), VM_callfunction(), VM_CheckEmptyString(), VM_CL_findbox(), VM_CL_findradius(), VM_CL_modelnameforindex(), VM_CL_setmodelindex(), VM_CL_tracebox(), VM_CL_traceline(), VM_coredump(), VM_crash(), VM_dprint(), VM_error(), VM_fclose(), VM_fgets(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_fopen(), VM_fputs(), VM_GetFileHandle(), VM_M_getserverliststring(), VM_M_WriteDest(), VM_nudgeoutofsolid(), VM_objerror(), VM_parseentitydata(), VM_SV_findbox(), VM_SV_findradius(), VM_SV_tracebox(), VM_SV_traceline(), VM_uri_get(), and VM_Warning().
int prvm_prog_t::num_edicts |
copies of some vars that were former read from sv
Definition at line 671 of file progsvm.h.
Referenced by CL_VM_Init(), CLVM_count_edicts(), EntityFrameCSQC_WriteFrame(), FindViewthing(), MP_Init(), MVM_count_edicts(), PRVM_ED_Alloc(), PRVM_ED_LoadFromFile(), PRVM_ED_PrintEdict_f(), PRVM_ED_PrintEdicts_f(), PRVM_GarbageCollection(), PRVM_IsEdictReferenced(), PRVM_IsStringReferenced(), PRVM_LeakTest(), PRVM_MarkReferencedEdicts(), PRVM_MEM_Alloc(), PRVM_UpdateBreakpoints(), R_DrawEntityBBoxes(), SV_CleanupEnts(), SV_Ent_Remove_All_f(), SV_EntitiesInBox(), SV_Loadgame_f(), SV_Physics(), SV_PrepareEntitiesForSending(), SV_Savegame_to(), SVVM_count_edicts(), VM_CL_R_AddEntities(), VM_find(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_findflags(), VM_findfloat(), VM_nextent(), VM_SV_aim(), and World_EntitiesInBox().
int prvm_prog_t::numbuiltins |
Definition at line 605 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), and SV_VM_Setup().
int prvm_prog_t::numexplicitcoveragestatements |
Definition at line 577 of file progsvm.h.
Referenced by PRVM_ExplicitCoverageEvent(), and PRVM_Prog_Load().
int prvm_prog_t::numfielddefs |
Definition at line 565 of file progsvm.h.
Referenced by PRVM_ED_FieldAtOfs(), PRVM_ED_FindField(), PRVM_ED_Print(), PRVM_ED_Write(), PRVM_Fields_f(), PRVM_GarbageCollection(), PRVM_IsEdictReferenced(), PRVM_IsStringReferenced(), PRVM_Prog_Load(), VM_entityfieldname(), VM_entityfieldtype(), VM_getentityfieldstring(), VM_numentityfields(), and VM_putentityfieldstring().
int prvm_prog_t::numfunctions |
Definition at line 566 of file progsvm.h.
Referenced by CLVM_ExecuteProgram(), PRVM_CallProfile(), PRVM_ED_FindFunction(), PRVM_FunctionCoverageEvent(), PRVM_PrintFunctionStatements(), PRVM_Profile(), PRVM_Prog_Load(), and SVVM_ExecuteProgram().
int prvm_prog_t::numglobaldefs |
Definition at line 564 of file progsvm.h.
Referenced by PRVM_ED_FindGlobal(), PRVM_ED_GlobalAtOfs(), PRVM_ED_WriteGlobals(), PRVM_GarbageCollection(), PRVM_Globals_f(), PRVM_IsStringReferenced(), PRVM_MarkReferencedEdicts(), and PRVM_Prog_Load().
int prvm_prog_t::numglobals |
Definition at line 568 of file progsvm.h.
Referenced by PRVM_Globals_f(), and PRVM_Prog_Load().
int prvm_prog_t::numknownstrings |
Definition at line 587 of file progsvm.h.
Referenced by PRVM_ChangeEngineString(), PRVM_GarbageCollection(), PRVM_GetString(), PRVM_LeakTest(), PRVM_NewKnownString(), PRVM_Prog_Load(), and PRVM_SetEngineString().
int prvm_prog_t::numstatements |
Definition at line 563 of file progsvm.h.
Referenced by PRVM_PrintFunctionStatements(), PRVM_Prog_Load(), and PRVM_StatementCoverageEvent().
int prvm_prog_t::numstrings |
Definition at line 567 of file progsvm.h.
Referenced by PRVM_Prog_Load().
struct qfile_s* prvm_prog_t::openfiles[PRVM_MAX_OPENFILES] |
Definition at line 636 of file progsvm.h.
Referenced by PRVM_LeakTest(), VM_buf_writefile(), VM_fclose(), VM_fgets(), VM_Files_CloseAll(), VM_Files_Init(), VM_fopen(), VM_fputs(), and VM_GetFileHandle().
const char* prvm_prog_t::openfiles_origin[PRVM_MAX_OPENFILES] |
Definition at line 637 of file progsvm.h.
Referenced by PRVM_LeakTest(), VM_fclose(), and VM_fopen().
struct fssearch_s* prvm_prog_t::opensearches[PRVM_MAX_OPENSEARCHES] |
Definition at line 638 of file progsvm.h.
Referenced by PRVM_LeakTest(), VM_search_begin(), VM_search_end(), VM_search_getfilename(), VM_search_getsize(), VM_Search_Init(), and VM_Search_Reset().
const char* prvm_prog_t::opensearches_origin[PRVM_MAX_OPENSEARCHES] |
Definition at line 639 of file progsvm.h.
Referenced by PRVM_LeakTest(), VM_search_begin(), and VM_search_end().
void* prvm_prog_t::po |
translation buffer (only needs to be freed on unloading progs, type is private to prvm_edict.c)
Definition at line 714 of file progsvm.h.
Referenced by PRVM_Prog_Reset().
int prvm_prog_t::polygonbegin_drawflags |
Definition at line 664 of file progsvm.h.
Referenced by VM_CL_R_PolygonBegin(), and VM_CL_R_PolygonEnd().
qbool prvm_prog_t::polygonbegin_guess2d |
indicates if polygonbegin should be interpreted as 2d (clearscene sets this to false, renderscene sets this to true, drawpic also sets this to true) note that in FTEQW polygonbegin with 2 args is handled very differently, where the behavior is always 3D unless DRAWFLAG_2D is passed, but DRAWFLAG_2D conflicts with our DRAWFLAG_SCREEN.
Definition at line 661 of file progsvm.h.
Referenced by CL_VM_UpdateView(), CLVM_init_cmd(), CLVM_reset_cmd(), MVM_init_cmd(), MVM_reset_cmd(), VM_CL_R_ClearScene(), VM_CL_R_PolygonBegin(), VM_CL_R_RenderScene(), VM_drawcharacter(), VM_drawcolorcodedstring(), VM_drawfill(), VM_drawline(), VM_drawpic(), VM_drawresetcliparea(), VM_drawrotpic(), VM_drawsetcliparea(), VM_drawstring(), and VM_drawsubpic().
int prvm_prog_t::polygonbegin_maxvertices |
Definition at line 667 of file progsvm.h.
Referenced by VM_CL_R_PolygonVertex().
struct model_s* prvm_prog_t::polygonbegin_model |
this tracks the last polygonbegin's choice of CL_Mesh_CSQC or CL_Mesh_UI for this polygon
Definition at line 654 of file progsvm.h.
Referenced by CLVM_init_cmd(), CLVM_reset_cmd(), MVM_init_cmd(), MVM_reset_cmd(), VM_CL_R_PolygonBegin(), VM_CL_R_PolygonEnd(), and VM_CL_R_PolygonVertex().
int prvm_prog_t::polygonbegin_numvertices |
Definition at line 666 of file progsvm.h.
Referenced by VM_CL_R_PolygonBegin(), VM_CL_R_PolygonEnd(), and VM_CL_R_PolygonVertex().
char prvm_prog_t::polygonbegin_texname[MAX_QPATH] |
Definition at line 663 of file progsvm.h.
Referenced by VM_CL_R_PolygonBegin(), and VM_CL_R_PolygonEnd().
float* prvm_prog_t::polygonbegin_vertexdata |
Definition at line 668 of file progsvm.h.
Referenced by VM_CL_R_PolygonEnd(), and VM_CL_R_PolygonVertex().
double prvm_prog_t::profiletime |
system time when last PRVM_CallProfile was called (or PRVM_Prog_Load initially)
Definition at line 540 of file progsvm.h.
Referenced by PRVM_CallProfile(), and PRVM_Prog_Load().
int prvm_prog_t::progs_crc |
Definition at line 553 of file progsvm.h.
Referenced by PRVM_Prog_Load(), and SV_VM_Setup().
int prvm_prog_t::progs_entityfields |
Definition at line 560 of file progsvm.h.
Referenced by PRVM_Prog_Load().
mempool_t* prvm_prog_t::progs_mempool |
all memory allocations related to this vm_prog (code, edicts, strings)
Definition at line 602 of file progsvm.h.
Referenced by animatemodel(), BufStr_Expand(), BufStr_Flush(), BufStr_Set(), CL_VM_Init(), MP_Init(), MVM_init_cmd(), PRVM_LoadLNO(), PRVM_MEM_Alloc(), PRVM_MEM_IncreaseEdicts(), PRVM_Prog_Load(), PRVM_Prog_Reset(), PRVM_SetTempString(), SV_VM_Setup(), VM_buf_copy(), VM_buf_cvarlist(), VM_buf_loadfile(), VM_bufstr_add(), VM_CL_R_PolygonVertex(), VM_SV_skel_create(), and VM_UpdateEdictSkeleton().
int prvm_prog_t::progs_numfielddefs |
Definition at line 556 of file progsvm.h.
Referenced by PRVM_LoadLNO(), and PRVM_Prog_Load().
int prvm_prog_t::progs_numfunctions |
Definition at line 557 of file progsvm.h.
Referenced by PRVM_Prog_Load(), PRVM_UglyValueString(), and PRVM_ValueString().
int prvm_prog_t::progs_numglobaldefs |
Definition at line 555 of file progsvm.h.
Referenced by PRVM_LoadLNO(), and PRVM_Prog_Load().
int prvm_prog_t::progs_numglobals |
Definition at line 559 of file progsvm.h.
Referenced by PRVM_LoadLNO(), and PRVM_Prog_Load().
int prvm_prog_t::progs_numstatements |
Definition at line 554 of file progsvm.h.
Referenced by PRVM_LoadLNO(), and PRVM_Prog_Load().
int prvm_prog_t::progs_numstrings |
Definition at line 558 of file progsvm.h.
Referenced by PRVM_Prog_Load().
int prvm_prog_t::progs_version |
Definition at line 552 of file progsvm.h.
Referenced by PRVM_Prog_Load().
int prvm_prog_t::reserved_edicts |
number of reserved edicts (allocated from 1)
Definition at line 678 of file progsvm.h.
Referenced by CL_VM_Init(), PRVM_ED_Alloc(), PRVM_ED_Free(), PRVM_IsEdictRelevant(), PRVM_MEM_Alloc(), SV_VM_Setup(), and VM_remove().
void(* prvm_prog_t::reset_cmd) (struct prvm_prog_s *prog) |
[INIT] used by PRVM_ResetProg
Definition at line 745 of file progsvm.h.
Referenced by CL_VM_Init(), MP_Init(), PRVM_Prog_Reset(), and SV_VM_Setup().
mdef_t* prvm_prog_t::self |
struct skeleton_s* prvm_prog_t::skeletons[MAX_EDICTS] |
Definition at line 640 of file progsvm.h.
Referenced by animatemodel(), VM_CL_skel_build(), VM_CL_skel_copybones(), VM_CL_skel_create(), VM_CL_skel_delete(), VM_CL_skel_find_bone(), VM_CL_skel_get_boneabs(), VM_CL_skel_get_bonename(), VM_CL_skel_get_boneparent(), VM_CL_skel_get_bonerel(), VM_CL_skel_get_numbones(), VM_CL_skel_mul_bone(), VM_CL_skel_mul_bones(), VM_CL_skel_set_bone(), VM_SV_skel_build(), VM_SV_skel_copybones(), VM_SV_skel_create(), VM_SV_skel_delete(), VM_SV_skel_find_bone(), VM_SV_skel_get_boneabs(), VM_SV_skel_get_bonename(), VM_SV_skel_get_boneparent(), VM_SV_skel_get_bonerel(), VM_SV_skel_get_numbones(), VM_SV_skel_mul_bone(), VM_SV_skel_mul_bones(), VM_SV_skel_set_bone(), and VM_UpdateEdictSkeleton().
prvm_stack_t prvm_prog_t::stack[PRVM_MAX_STACK_DEPTH+1] |
stacktrace writes into stack[MAX_STACK_DEPTH] thus increase the array, so depth wont be overwritten
Definition at line 625 of file progsvm.h.
Referenced by PRVM_EnterFunction(), PRVM_LeaveFunction(), PRVM_PrintState(), PRVM_ShortStackTrace(), and PRVM_StackTrace().
double prvm_prog_t::starttime |
system time when PRVM_Prog_Load was called
Definition at line 538 of file progsvm.h.
Referenced by PRVM_ED_CanAlloc(), PRVM_Prog_Load(), uri_to_string_callback(), VM_gettime(), and VM_uri_get().
int* prvm_prog_t::statement_columnnums |
NULL if not available.
Definition at line 571 of file progsvm.h.
Referenced by PRVM_LoadLNO(), PRVM_PrintStatement(), PRVM_StackTrace(), and PRVM_WhereAmI().
int* prvm_prog_t::statement_linenums |
NULL if not available.
Definition at line 570 of file progsvm.h.
Referenced by PRVM_LoadLNO(), PRVM_PrintStatement(), PRVM_StackTrace(), and PRVM_WhereAmI().
double* prvm_prog_t::statement_profile |
only incremented if prvm_statementprofiling is on
Definition at line 573 of file progsvm.h.
Referenced by PRVM_PrintFunctionStatements(), PRVM_PrintStatement(), and PRVM_Prog_Load().
mstatement_t* prvm_prog_t::statements |
Definition at line 547 of file progsvm.h.
Referenced by CLVM_ExecuteProgram(), PRVM_PrintFunctionStatements(), PRVM_PrintState(), PRVM_PrintStatement(), PRVM_Prog_Load(), and SVVM_ExecuteProgram().
int prvm_prog_t::statements_covered |
Definition at line 574 of file progsvm.h.
Referenced by PRVM_StatementCoverageEvent().
const char* prvm_prog_t::statestring |
printed together with backtraces
Definition at line 717 of file progsvm.h.
Referenced by PRVM_ED_Write(), PRVM_ED_WriteGlobals(), and PRVM_PrintState().
memexpandablearray_t prvm_prog_t::stringbuffersarray |
Definition at line 596 of file progsvm.h.
Referenced by BufStr_Del(), BufStr_FindCreateReplace(), BufStr_Flush(), PRVM_LeakTest(), PRVM_Prog_Load(), SV_Loadgame_f(), SV_Savegame_to(), VM_buf_copy(), VM_buf_create(), VM_buf_cvarlist(), VM_buf_del(), VM_buf_getsize(), VM_buf_implode(), VM_buf_loadfile(), VM_buf_sort(), VM_buf_writefile(), VM_bufstr_add(), VM_bufstr_find(), VM_bufstr_free(), VM_bufstr_get(), VM_bufstr_set(), and VM_uri_get().
char* prvm_prog_t::strings |
Definition at line 543 of file progsvm.h.
Referenced by PRVM_GetString(), PRVM_Prog_Load(), and PRVM_SetEngineString().
int prvm_prog_t::stringssize |
Definition at line 544 of file progsvm.h.
Referenced by PRVM_GetString(), PRVM_Prog_Load(), and PRVM_SetEngineString().
sizebuf_t prvm_prog_t::tempstringsbuf |
buffer for storing all tempstrings created during one invocation of ExecuteProgram
Definition at line 644 of file progsvm.h.
Referenced by CL_VM_Parse_CenterPrint(), CL_VM_Parse_Print(), CL_VM_Parse_StuffCmd(), CLVM_ExecuteProgram(), PRVM_ConsoleCommand(), PRVM_GameCommand(), PRVM_GetString(), PRVM_Prog_Reset(), PRVM_SetEngineString(), PRVM_SetTempString(), SV_Impact(), SV_ReadClientMessage(), and SVVM_ExecuteProgram().
int prvm_prog_t::trace |
Definition at line 609 of file progsvm.h.
Referenced by CLVM_ExecuteProgram(), SVVM_ExecuteProgram(), VM_traceoff(), and VM_traceon().
int prvm_prog_t::watch_edict |
Definition at line 615 of file progsvm.h.
Referenced by PRVM_UpdateBreakpoints().
prvm_eval_t prvm_prog_t::watch_edictfield_value |
Definition at line 618 of file progsvm.h.
Referenced by PRVM_UpdateBreakpoints().
int prvm_prog_t::watch_field |
Definition at line 616 of file progsvm.h.
Referenced by PRVM_UpdateBreakpoints().
etype_t prvm_prog_t::watch_field_type |
Definition at line 617 of file progsvm.h.
Referenced by CLVM_ExecuteProgram(), PRVM_Prog_Reset(), PRVM_UpdateBreakpoints(), and SVVM_ExecuteProgram().
int prvm_prog_t::watch_global |
Definition at line 612 of file progsvm.h.
Referenced by PRVM_UpdateBreakpoints().
etype_t prvm_prog_t::watch_global_type |
Definition at line 613 of file progsvm.h.
Referenced by CLVM_ExecuteProgram(), PRVM_Prog_Reset(), PRVM_UpdateBreakpoints(), and SVVM_ExecuteProgram().
prvm_eval_t prvm_prog_t::watch_global_value |
Definition at line 614 of file progsvm.h.
Referenced by PRVM_UpdateBreakpoints().
mfunction_t* prvm_prog_t::xfunction |
Definition at line 620 of file progsvm.h.
Referenced by CLVM_ExecuteProgram(), PRVM_EnterFunction(), PRVM_LeaveFunction(), PRVM_PrintFunctionStatements(), PRVM_PrintState(), PRVM_PrintStatement(), PRVM_ShortStackTrace(), PRVM_StackTrace(), SVVM_ExecuteProgram(), VM_callfunction(), VM_CL_tracebox(), VM_CL_traceline(), VM_CL_tracetoss(), VM_CL_walkmove(), VM_coverage(), VM_error(), VM_find(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_findflags(), VM_findfloat(), VM_nextent(), VM_objerror(), VM_remove(), VM_spawn(), VM_SV_aim(), VM_SV_findbox(), VM_SV_findradius(), VM_SV_newcheckclient(), VM_SV_spawnclient(), VM_SV_tracebox(), VM_SV_traceline(), VM_SV_tracetoss(), and VM_SV_walkmove().
int prvm_prog_t::xstatement |
Definition at line 621 of file progsvm.h.
Referenced by PRVM_EnterFunction(), PRVM_PrintState(), PRVM_ShortStackTrace(), PRVM_StackTrace(), and VM_coverage().