DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
pr_comp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dfield16_t
struct  dfunction_t
struct  dprograms_t
struct  dprograms_v7_t
struct  dstatement16_t
struct  dstatement32_t
struct  mdef_t
struct  mfunction_t
struct  mstatement_t

Macros

#define DEF_SAVEGLOBAL   (1<<15)
#define MAX_PARMS   8
#define OFS_NULL   0
#define OFS_PARM0   4
#define OFS_PARM1   7
#define OFS_PARM2   10
#define OFS_PARM3   13
#define OFS_PARM4   16
#define OFS_PARM5   19
#define OFS_PARM6   22
#define OFS_PARM7   25
#define OFS_RETURN   1
#define PROG_SECONDARYVERSION16   ((('1'<<0)|('F'<<8)|('T'<<16)|('E'<<24))^(('P'<<0)|('R'<<8)|('O'<<16)|('G'<<24)))
#define PROG_SECONDARYVERSION32   ((('1'<<0)|('F'<<8)|('T'<<16)|('E'<<24))^(('3'<<0)|('2'<<8)|('B'<<16)|(' '<<24)))
#define PROG_VERSION   6
#define RESERVED_OFS   28

Typedefs

typedef unsigned int func_t
typedef int string_t

Enumerations

enum  etype_t {
  ev_void , ev_string , ev_float , ev_vector ,
  ev_entity , ev_field , ev_function , ev_pointer
}
enum  opcode_t {
  OP_DONE = 0 , OP_MUL_F = 1 , OP_MUL_V = 2 , OP_MUL_FV = 3 ,
  OP_MUL_VF = 4 , OP_DIV_F = 5 , OP_ADD_F = 6 , OP_ADD_V = 7 ,
  OP_SUB_F = 8 , OP_SUB_V = 9 , OP_EQ_F = 10 , OP_EQ_V = 11 ,
  OP_EQ_S = 12 , OP_EQ_E = 13 , OP_EQ_FNC = 14 , OP_NE_F = 15 ,
  OP_NE_V = 16 , OP_NE_S = 17 , OP_NE_E = 18 , OP_NE_FNC = 19 ,
  OP_LE_F = 20 , OP_GE_F = 21 , OP_LT_F = 22 , OP_GT_F = 23 ,
  OP_LOAD_F = 24 , OP_LOAD_V = 25 , OP_LOAD_S = 26 , OP_LOAD_ENT = 27 ,
  OP_LOAD_FLD = 28 , OP_LOAD_FNC = 29 , OP_ADDRESS = 30 , OP_STORE_F = 31 ,
  OP_STORE_V = 32 , OP_STORE_S = 33 , OP_STORE_ENT = 34 , OP_STORE_FLD = 35 ,
  OP_STORE_FNC = 36 , OP_STOREP_F = 37 , OP_STOREP_V = 38 , OP_STOREP_S = 39 ,
  OP_STOREP_ENT = 40 , OP_STOREP_FLD = 41 , OP_STOREP_FNC = 42 , OP_RETURN = 43 ,
  OP_NOT_F = 44 , OP_NOT_V = 45 , OP_NOT_S = 46 , OP_NOT_ENT = 47 ,
  OP_NOT_FNC = 48 , OP_IF = 49 , OP_IFNOT = 50 , OP_CALL0 = 51 ,
  OP_CALL1 = 52 , OP_CALL2 = 53 , OP_CALL3 = 54 , OP_CALL4 = 55 ,
  OP_CALL5 = 56 , OP_CALL6 = 57 , OP_CALL7 = 58 , OP_CALL8 = 59 ,
  OP_STATE = 60 , OP_GOTO = 61 , OP_AND_F = 62 , OP_OR_F = 63 ,
  OP_BITAND_F = 64 , OP_BITOR_F = 65 , OP_STORE_I = 113 , OP_ADD_I = 116 ,
  OP_ADD_FI = 117 , OP_ADD_IF = 118 , OP_SUB_I = 119 , OP_SUB_FI = 120 ,
  OP_SUB_IF = 121 , OP_CONV_ITOF = 122 , OP_CONV_FTOI = 123 , OP_LOAD_I = 126 ,
  OP_STOREP_I = 127 , OP_BITAND_I = 130 , OP_BITOR_I = 131 , OP_MUL_I = 132 ,
  OP_DIV_I = 133 , OP_EQ_I = 134 , OP_NE_I = 135 , OP_NOT_I = 138 ,
  OP_DIV_VF = 139 , OP_RSHIFT_I = 141 , OP_LSHIFT_I = 142 , OP_GLOBALADDRESS = 143 ,
  OP_ADD_PIW = 144 , OP_LOADA_F = 145 , OP_LOADA_V = 146 , OP_LOADA_S = 147 ,
  OP_LOADA_ENT = 148 , OP_LOADA_FLD = 149 , OP_LOADA_FNC = 150 , OP_LOADA_I = 151 ,
  OP_STORE_P = 152 , OP_LOAD_P = 153 , OP_LOADP_F = 154 , OP_LOADP_V = 155 ,
  OP_LOADP_S = 156 , OP_LOADP_ENT = 157 , OP_LOADP_FLD = 158 , OP_LOADP_FNC = 159 ,
  OP_LOADP_I = 160 , OP_LE_I = 161 , OP_GE_I = 162 , OP_LT_I = 163 ,
  OP_GT_I = 164 , OP_LE_IF = 165 , OP_GE_IF = 166 , OP_LT_IF = 167 ,
  OP_GT_IF = 168 , OP_LE_FI = 169 , OP_GE_FI = 170 , OP_LT_FI = 171 ,
  OP_GT_FI = 172 , OP_EQ_IF = 173 , OP_EQ_FI = 174 , OP_MUL_IF = 179 ,
  OP_MUL_FI = 180 , OP_MUL_VI = 181 , OP_DIV_IF = 183 , OP_DIV_FI = 184 ,
  OP_BITAND_IF = 185 , OP_BITOR_IF = 186 , OP_BITAND_FI = 187 , OP_BITOR_FI = 188 ,
  OP_AND_I = 189 , OP_OR_I = 190 , OP_AND_IF = 191 , OP_OR_IF = 192 ,
  OP_AND_FI = 193 , OP_OR_FI = 194 , OP_NE_IF = 195 , OP_NE_FI = 196 ,
  OP_GSTOREP_I = 197 , OP_GSTOREP_F = 198 , OP_GSTOREP_ENT = 199 , OP_GSTOREP_FLD = 200 ,
  OP_GSTOREP_S = 201 , OP_GSTOREP_FNC = 202 , OP_GSTOREP_V = 203 , OP_GLOAD_I = 205 ,
  OP_GLOAD_F = 206 , OP_GLOAD_FLD = 207 , OP_GLOAD_ENT = 208 , OP_GLOAD_S = 209 ,
  OP_GLOAD_FNC = 210 , OP_BOUNDCHECK = 211 , OP_GLOAD_V = 216 , OP_LE_U = 225 ,
  OP_LT_U = 226 , OP_DIV_U = 227 , OP_RSHIFT_U = 228 , OP_NUMREALOPS = 282
}

Macro Definition Documentation

◆ DEF_SAVEGLOBAL

◆ MAX_PARMS

#define MAX_PARMS   8

Definition at line 372 of file pr_comp.h.

◆ OFS_NULL

◆ OFS_PARM0

#define OFS_PARM0   4

Definition at line 34 of file pr_comp.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_TransformView(), CL_VM_UpdateView(), CSQC_ReadEntities(), EntityFrameCSQC_WriteFrame(), MP_Draw(), MP_GetServerListEntryCategory(), MP_KeyEvent(), MP_ToggleMenu(), PRVM_ConsoleCommand(), PRVM_EnterFunction(), PRVM_GameCommand(), SV_CheckContentsTransition(), SV_Color_f(), SV_Frame(), SV_Physics_Step(), SV_ReadClientMessage(), SV_ThreadFunc(), uri_to_string_callback(), VM_acos(), VM_altstr_count(), VM_altstr_get(), VM_altstr_ins(), VM_altstr_prepare(), VM_altstr_set(), VM_argv(), VM_argv_end_index(), VM_argv_start_index(), VM_asin(), VM_atan(), VM_atan2(), VM_bitshift(), VM_bound(), 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(), VM_callfunction(), VM_ceil(), VM_changelevel(), VM_changepitch(), VM_checkextension(), VM_chr(), VM_chr2str(), VM_cin_close(), VM_cin_getstate(), VM_cin_open(), VM_cin_restart(), VM_cin_setstate(), VM_CL_ambientsound(), VM_CL_boxparticles(), VM_CL_checkbottom(), VM_CL_checkpvs(), VM_CL_copyentity(), VM_CL_effect(), VM_CL_findbox(), VM_CL_findradius(), VM_CL_frameduration(), VM_CL_frameforname(), VM_CL_GetEntity(), VM_CL_getinputstate(), VM_CL_getlight(), VM_CL_getplayerkey(), VM_CL_getstatf(), VM_CL_getstati(), VM_CL_getstats(), VM_CL_gettagindex(), VM_CL_gettaginfo(), VM_CL_InitParticleSpawner(), VM_CL_lightstyle(), VM_CL_loadcubemap(), VM_CL_makestatic(), VM_CL_makevectors(), VM_CL_modelnameforindex(), VM_CL_particle(), VM_CL_particleeffectnum(), VM_CL_ParticleTheme(), VM_CL_ParticleThemeFree(), VM_CL_ParticleThemeSave(), VM_CL_pointcontents(), VM_CL_pointparticles(), VM_CL_pointsound(), VM_CL_precache_model(), VM_CL_project(), VM_CL_R_AddDynamicLight(), VM_CL_R_AddEntities(), VM_CL_R_AddEntity(), VM_CL_R_PolygonBegin(), VM_CL_R_PolygonVertex(), VM_CL_R_SetView(), VM_CL_registercmd(), VM_CL_RotateMoves(), VM_CL_runplayerphysics(), VM_CL_serverkey(), VM_CL_setattachment(), VM_CL_setcursormode(), VM_CL_setlistener(), VM_CL_setmodel(), VM_CL_setmodelindex(), VM_CL_setorigin(), VM_CL_setpause(), VM_CL_setsensitivityscale(), VM_CL_setsize(), 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_CL_sound(), VM_CL_SpawnParticle(), VM_CL_SpawnParticleDelayed(), VM_CL_te_beam(), VM_CL_te_blood(), VM_CL_te_bloodshower(), VM_CL_te_customflash(), VM_CL_te_explosion(), VM_CL_te_explosion2(), VM_CL_te_explosionquad(), VM_CL_te_explosionrgb(), VM_CL_te_flamejet(), VM_CL_te_gunshot(), VM_CL_te_gunshotquad(), VM_CL_te_knightspike(), VM_CL_te_lavasplash(), VM_CL_te_lightning1(), VM_CL_te_lightning2(), VM_CL_te_lightning3(), VM_CL_te_particlecube(), VM_CL_te_particlerain(), VM_CL_te_particlesnow(), VM_CL_te_plasmaburn(), VM_CL_te_smallflash(), VM_CL_te_spark(), VM_CL_te_spike(), VM_CL_te_spikequad(), VM_CL_te_superspike(), VM_CL_te_superspikequad(), VM_CL_te_tarexplosion(), VM_CL_te_teleport(), VM_CL_te_wizspike(), VM_CL_tracebox(), VM_CL_traceline(), VM_CL_tracetoss(), VM_CL_trailparticles(), VM_CL_unproject(), VM_CL_V_CalcRefdef(), VM_CL_walkmove(), VM_cos(), VM_crc16(), VM_cvar_set(), VM_digest_hex(), VM_drawcharacter(), VM_drawcolorcodedstring(), VM_drawfill(), VM_drawline(), VM_drawpic(), VM_drawrotpic(), VM_drawsetcliparea(), VM_drawstring(), VM_drawsubpic(), VM_entityfieldname(), VM_entityfieldtype(), VM_eprint(), VM_etof(), VM_etos(), VM_fabs(), VM_fclose(), VM_fgets(), VM_find(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_findflags(), VM_findfloat(), VM_findfont(), VM_findkeysforcommand(), VM_floor(), VM_fopen(), VM_fputs(), VM_freepic(), VM_ftoe(), VM_ftos(), VM_getentityfieldstring(), VM_getimagesize(), VM_getkeybind(), VM_getsoundtime(), VM_getsurfaceclippedpoint(), VM_getsurfacenearpoint(), VM_getsurfacenormal(), VM_getsurfacenumpoints(), VM_getsurfacenumtriangles(), VM_getsurfacepoint(), VM_getsurfacepointattribute(), VM_getsurfacetexture(), VM_getsurfacetriangle(), VM_gettime(), VM_infoadd(), VM_infoget(), VM_isfunction(), VM_itof(), VM_keynumtostring(), VM_loadfont(), VM_loadfromdata(), VM_loadfromfile(), VM_localsound(), VM_log(), VM_M_copyentity(), VM_M_crypto_getencryptlevel(), VM_M_crypto_getidfp(), VM_M_crypto_getidstatus(), VM_M_crypto_getkeyfp(), VM_M_crypto_getmyidfp(), VM_M_crypto_getmyidstatus(), VM_M_crypto_getmykeyfp(), VM_M_getgamedirinfo(), VM_M_getresolution(), VM_M_getserverlistindexforkey(), VM_M_getserverlistnumber(), VM_M_getserverliststat(), VM_M_getserverliststring(), VM_M_refreshserverlist(), VM_M_registercommand(), VM_M_setkeydest(), VM_M_setmousetarget(), VM_M_setserverlistmasknumber(), VM_M_setserverlistmaskstring(), VM_M_setserverlistsort(), VM_M_WriteAngle(), VM_M_WriteByte(), VM_M_WriteChar(), VM_M_WriteCoord(), VM_M_WriteEntity(), VM_M_WriteLong(), VM_M_WriteShort(), VM_M_WriteString(), VM_makevectors(), VM_matchpattern(), VM_max(), VM_min(), VM_modulo(), VM_netaddress_resolve(), VM_nextent(), VM_normalize(), VM_nudgeoutofsolid(), VM_parseentitydata(), VM_physics_addforce(), VM_physics_addtorque(), VM_physics_enable(), VM_pow(), VM_precache_file(), VM_precache_pic(), VM_precache_sound(), VM_putentityfieldstring(), VM_registercvar(), VM_remove(), VM_rint(), VM_search_begin(), VM_search_end(), VM_search_getfilename(), VM_search_getsize(), VM_setbindmaps(), VM_setkeybind(), VM_sin(), VM_soundlength(), VM_sprint(), VM_sprintf(), VM_sqrt(), VM_str2chr(), VM_strconv(), VM_strdecolorize(), VM_strftime(), VM_stringtokeynum(), VM_stringwidth(), VM_strireplace(), VM_strlen(), VM_strlennocol(), VM_strncasecmp(), VM_strncmp(), VM_strpad(), VM_strreplace(), VM_strstrofs(), VM_strtolower(), VM_strtoupper(), VM_strunzone(), VM_substring(), VM_SV_AddStat(), VM_SV_aim(), VM_SV_ambientsound(), VM_SV_centerprint(), VM_SV_checkbottom(), VM_SV_checkpvs(), VM_SV_clientcommand(), VM_SV_clienttype(), VM_SV_copyentity(), VM_SV_dropclient(), VM_SV_effect(), VM_SV_findbox(), VM_SV_findradius(), VM_SV_frameduration(), VM_SV_frameforname(), VM_SV_getlight(), VM_SV_gettagindex(), VM_SV_gettaginfo(), VM_SV_lightstyle(), VM_SV_makestatic(), VM_SV_modelnameforindex(), VM_SV_MoveToGoal(), VM_SV_particle(), VM_SV_particleeffectnum(), VM_SV_pointcontents(), VM_SV_pointparticles(), VM_SV_pointsound(), VM_SV_precache_model(), VM_SV_precache_sound(), VM_SV_registercommand(), VM_SV_serverkey(), VM_SV_setattachment(), VM_SV_setcolor(), VM_SV_setmodel(), VM_SV_setmodelindex(), VM_SV_setorigin(), VM_SV_setpause(), VM_SV_setsize(), VM_SV_setspawnparms(), 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(), VM_SV_sound(), VM_SV_sprint(), VM_SV_stuffcmd(), VM_SV_te_beam(), VM_SV_te_blood(), VM_SV_te_bloodshower(), VM_SV_te_customflash(), VM_SV_te_explosion(), VM_SV_te_explosion2(), VM_SV_te_explosionquad(), VM_SV_te_explosionrgb(), VM_SV_te_flamejet(), VM_SV_te_gunshot(), VM_SV_te_gunshotquad(), VM_SV_te_knightspike(), VM_SV_te_lavasplash(), VM_SV_te_lightning1(), VM_SV_te_lightning2(), VM_SV_te_lightning3(), VM_SV_te_particlecube(), VM_SV_te_particlerain(), VM_SV_te_particlesnow(), VM_SV_te_plasmaburn(), VM_SV_te_smallflash(), VM_SV_te_spark(), VM_SV_te_spike(), VM_SV_te_spikequad(), VM_SV_te_superspike(), VM_SV_te_superspikequad(), VM_SV_te_tarexplosion(), VM_SV_te_teleport(), VM_SV_te_wizspike(), VM_SV_tracebox(), VM_SV_traceline(), VM_SV_tracetoss(), VM_SV_trailparticles(), VM_SV_walkmove(), VM_tan(), VM_tokenize(), VM_tokenize_console(), VM_tokenizebyseparator(), VM_uncolorstring(), VM_uri_get(), VM_VarString(), VM_vectoangles(), VM_vectorvectors(), VM_vectoyaw(), VM_vlen(), VM_vtos(), VM_wasfreed(), VM_whichpack(), VM_writetofile(), and WriteDest().

◆ OFS_PARM1

#define OFS_PARM1   7

Definition at line 35 of file pr_comp.h.

Referenced by CL_VM_DrawHud(), CL_VM_Event_Sound(), CL_VM_Init(), CL_VM_InputEvent(), CL_VM_TransformView(), CL_VM_UpdateView(), EntityFrameCSQC_WriteFrame(), MP_Draw(), MP_KeyEvent(), SV_CheckContentsTransition(), uri_to_string_callback(), VM_altstr_get(), VM_altstr_ins(), VM_altstr_set(), VM_atan2(), VM_bitshift(), VM_bound(), VM_buf_copy(), VM_buf_create(), VM_buf_cvarlist(), 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(), VM_cin_open(), VM_cin_setstate(), VM_CL_ambientsound(), VM_CL_checkpvs(), VM_CL_copyentity(), VM_CL_effect(), VM_CL_findbox(), VM_CL_findradius(), VM_CL_frameduration(), VM_CL_frameforname(), VM_CL_GetEntity(), VM_CL_getlight(), VM_CL_getplayerkey(), VM_CL_getstati(), VM_CL_gettagindex(), VM_CL_gettaginfo(), VM_CL_lightstyle(), VM_CL_particle(), VM_CL_pointparticles(), VM_CL_pointsound(), VM_CL_R_AddDynamicLight(), VM_CL_R_PolygonBegin(), VM_CL_R_PolygonVertex(), VM_CL_R_SetView(), VM_CL_setattachment(), VM_CL_setlistener(), VM_CL_setmodel(), VM_CL_setmodelindex(), VM_CL_setorigin(), VM_CL_setsize(), VM_CL_skel_build(), VM_CL_skel_copybones(), 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_mul_bone(), VM_CL_skel_mul_bones(), VM_CL_skel_set_bone(), VM_CL_sound(), VM_CL_SpawnParticle(), VM_CL_SpawnParticleDelayed(), VM_CL_te_beam(), VM_CL_te_blood(), VM_CL_te_bloodshower(), VM_CL_te_customflash(), VM_CL_te_explosion2(), VM_CL_te_explosionrgb(), VM_CL_te_flamejet(), VM_CL_te_lightning1(), VM_CL_te_lightning2(), VM_CL_te_lightning3(), VM_CL_te_particlecube(), VM_CL_te_particlerain(), VM_CL_te_particlesnow(), VM_CL_te_spark(), VM_CL_tracebox(), VM_CL_traceline(), VM_CL_tracetoss(), VM_CL_trailparticles(), VM_CL_V_CalcRefdef(), VM_CL_walkmove(), VM_drawcharacter(), VM_drawcolorcodedstring(), VM_drawfill(), VM_drawline(), VM_drawpic(), VM_drawrotpic(), VM_drawsetcliparea(), VM_drawstring(), VM_drawsubpic(), VM_find(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_findflags(), VM_findfloat(), VM_findkeysforcommand(), VM_fopen(), VM_getentityfieldstring(), VM_getkeybind(), VM_getsoundtime(), VM_getsurfaceclippedpoint(), VM_getsurfacenearpoint(), VM_getsurfacenormal(), VM_getsurfacenumpoints(), VM_getsurfacenumtriangles(), VM_getsurfacepoint(), VM_getsurfacepointattribute(), VM_getsurfacetexture(), VM_getsurfacetriangle(), VM_infoadd(), VM_infoget(), VM_loadfont(), VM_localsound(), VM_M_copyentity(), VM_M_getgamedirinfo(), VM_M_getresolution(), VM_M_getserverlistnumber(), VM_M_getserverliststring(), VM_M_setserverlistmasknumber(), VM_M_setserverlistmaskstring(), VM_M_setserverlistsort(), VM_M_WriteDest(), VM_matchpattern(), VM_max(), VM_min(), VM_modulo(), VM_netaddress_resolve(), VM_parseentitydata(), VM_physics_addforce(), VM_physics_addtorque(), VM_physics_enable(), VM_pow(), VM_precache_pic(), VM_putentityfieldstring(), VM_registercvar(), VM_search_begin(), VM_search_getfilename(), VM_setkeybind(), VM_str2chr(), VM_strconv(), VM_stringwidth(), VM_strireplace(), VM_strncasecmp(), VM_strncmp(), VM_strreplace(), VM_strstrofs(), VM_substring(), VM_SV_AddStat(), VM_SV_ambientsound(), VM_SV_checkpvs(), VM_SV_clientcommand(), VM_SV_copyentity(), VM_SV_effect(), VM_SV_findbox(), VM_SV_findradius(), VM_SV_frameduration(), VM_SV_frameforname(), VM_SV_gettagindex(), VM_SV_gettaginfo(), VM_SV_lightstyle(), VM_SV_particle(), VM_SV_pointparticles(), VM_SV_pointsound(), VM_SV_setattachment(), VM_SV_setcolor(), VM_SV_setmodel(), VM_SV_setmodelindex(), VM_SV_setorigin(), VM_SV_setsize(), VM_SV_skel_build(), VM_SV_skel_copybones(), 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_mul_bone(), VM_SV_skel_mul_bones(), VM_SV_skel_set_bone(), VM_SV_sound(), VM_SV_te_beam(), VM_SV_te_blood(), VM_SV_te_bloodshower(), VM_SV_te_customflash(), VM_SV_te_explosion2(), VM_SV_te_explosionrgb(), VM_SV_te_flamejet(), VM_SV_te_lightning1(), VM_SV_te_lightning2(), VM_SV_te_lightning3(), VM_SV_te_particlecube(), VM_SV_te_particlerain(), VM_SV_te_particlesnow(), VM_SV_te_spark(), VM_SV_tracebox(), VM_SV_traceline(), VM_SV_tracetoss(), VM_SV_trailparticles(), VM_SV_walkmove(), VM_SV_WriteAngle(), VM_SV_WriteByte(), VM_SV_WriteChar(), VM_SV_WriteCoord(), VM_SV_WriteEntity(), VM_SV_WriteLong(), VM_SV_WritePicture(), VM_SV_WriteShort(), VM_SV_WriteString(), VM_SV_WriteUnterminatedString(), VM_uri_get(), VM_vectoangles(), and VM_writetofile().

◆ OFS_PARM2

#define OFS_PARM2   10

Definition at line 36 of file pr_comp.h.

Referenced by CL_VM_Event_Sound(), CL_VM_Init(), CL_VM_InputEvent(), CL_VM_UpdateView(), uri_to_string_callback(), VM_altstr_ins(), VM_altstr_set(), VM_bound(), VM_buf_cvarlist(), VM_buf_sort(), VM_buf_writefile(), VM_bufstr_add(), VM_bufstr_find(), VM_bufstr_set(), VM_CL_ambientsound(), VM_CL_boxparticles(), VM_CL_effect(), VM_CL_findbox(), VM_CL_findradius(), VM_CL_getstati(), VM_CL_particle(), VM_CL_pointparticles(), VM_CL_pointsound(), VM_CL_R_AddDynamicLight(), VM_CL_R_PolygonBegin(), VM_CL_R_PolygonVertex(), VM_CL_R_SetView(), VM_CL_setattachment(), VM_CL_setlistener(), VM_CL_setsize(), VM_CL_skel_build(), VM_CL_skel_copybones(), VM_CL_skel_mul_bone(), VM_CL_skel_mul_bones(), VM_CL_skel_set_bone(), VM_CL_sound(), VM_CL_SpawnParticle(), VM_CL_SpawnParticleDelayed(), VM_CL_te_beam(), VM_CL_te_blood(), VM_CL_te_bloodshower(), VM_CL_te_customflash(), VM_CL_te_explosion2(), VM_CL_te_flamejet(), VM_CL_te_lightning1(), VM_CL_te_lightning2(), VM_CL_te_lightning3(), VM_CL_te_particlecube(), VM_CL_te_particlerain(), VM_CL_te_particlesnow(), VM_CL_te_spark(), VM_CL_tracebox(), VM_CL_traceline(), VM_CL_trailparticles(), VM_CL_walkmove(), VM_drawcharacter(), VM_drawcolorcodedstring(), VM_drawfill(), VM_drawline(), VM_drawpic(), VM_drawrotpic(), VM_drawsetcliparea(), VM_drawstring(), VM_drawsubpic(), VM_find(), VM_findchain(), VM_findchainflags(), VM_findchainfloat(), VM_findflags(), VM_findfloat(), VM_getsurfaceclippedpoint(), VM_getsurfacepoint(), VM_getsurfacepointattribute(), VM_getsurfacetriangle(), VM_loadfont(), VM_localsound(), VM_M_setserverlistmasknumber(), VM_M_setserverlistmaskstring(), VM_M_WriteDest(), VM_matchpattern(), VM_physics_addforce(), VM_putentityfieldstring(), VM_registercvar(), VM_search_begin(), VM_setkeybind(), VM_strconv(), VM_stringwidth(), VM_strireplace(), VM_strncasecmp(), VM_strncmp(), VM_strreplace(), VM_strstrofs(), VM_substring(), VM_SV_AddStat(), VM_SV_ambientsound(), VM_SV_effect(), VM_SV_findbox(), VM_SV_findradius(), VM_SV_particle(), VM_SV_pointparticles(), VM_SV_pointsound(), VM_SV_setattachment(), VM_SV_setsize(), VM_SV_skel_build(), VM_SV_skel_copybones(), VM_SV_skel_mul_bone(), VM_SV_skel_mul_bones(), VM_SV_skel_set_bone(), VM_SV_sound(), VM_SV_te_beam(), VM_SV_te_blood(), VM_SV_te_bloodshower(), VM_SV_te_customflash(), VM_SV_te_explosion2(), VM_SV_te_flamejet(), VM_SV_te_lightning1(), VM_SV_te_lightning2(), VM_SV_te_lightning3(), VM_SV_te_particlecube(), VM_SV_te_particlerain(), VM_SV_te_particlesnow(), VM_SV_te_spark(), VM_SV_tracebox(), VM_SV_traceline(), VM_SV_trailparticles(), VM_SV_walkmove(), VM_SV_WritePicture(), and VM_uri_get().

◆ OFS_PARM3

◆ OFS_PARM4

◆ OFS_PARM5

◆ OFS_PARM6

◆ OFS_PARM7

#define OFS_PARM7   25

Definition at line 41 of file pr_comp.h.

Referenced by CL_VM_Event_Sound(), VM_CL_boxparticles(), VM_drawrotpic(), and VM_drawsubpic().

◆ OFS_RETURN

#define OFS_RETURN   1

Definition at line 33 of file pr_comp.h.

Referenced by CL_VM_TransformView(), CSQC_ReadEntities(), EntityFrameCSQC_WriteFrame(), MP_GetServerListEntryCategory(), PRVM_ConsoleCommand(), SV_MarkWriteEntityStateToClient(), VM_acos(), VM_altstr_count(), VM_altstr_get(), VM_altstr_ins(), VM_altstr_prepare(), VM_altstr_set(), VM_argv(), VM_argv_end_index(), VM_argv_start_index(), VM_asin(), VM_atan(), VM_atan2(), VM_bitshift(), VM_bound(), VM_buf_create(), VM_buf_getsize(), VM_buf_implode(), VM_buf_loadfile(), VM_buf_writefile(), VM_bufstr_add(), VM_bufstr_find(), VM_bufstr_get(), VM_ceil(), VM_checkextension(), VM_chr(), VM_chr2str(), VM_cin_getstate(), VM_cin_open(), VM_CL_checkbottom(), VM_CL_checkpvs(), VM_CL_droptofloor(), VM_CL_frameduration(), VM_CL_frameforname(), VM_CL_GetEntity(), VM_CL_getextresponse(), VM_CL_getinputstate(), VM_CL_getlight(), VM_CL_getmousepos(), VM_CL_getplayerkey(), VM_CL_getstatf(), VM_CL_getstati(), VM_CL_getstats(), VM_CL_gettagindex(), VM_CL_gettaginfo(), VM_CL_InitParticleSpawner(), VM_CL_isdemo(), VM_CL_modelnameforindex(), VM_CL_particleeffectnum(), VM_CL_ParticleThemeSave(), VM_CL_pointcontents(), VM_CL_precache_model(), VM_CL_project(), VM_CL_R_SetView(), VM_CL_ReadAngle(), VM_CL_ReadByte(), VM_CL_ReadChar(), VM_CL_ReadCoord(), VM_CL_ReadFloat(), VM_CL_ReadLong(), VM_CL_ReadPicture(), VM_CL_ReadShort(), VM_CL_ReadString(), VM_CL_serverkey(), VM_CL_skel_build(), VM_CL_skel_create(), 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_SpawnParticle(), VM_CL_SpawnParticleDelayed(), VM_CL_unproject(), VM_CL_videoplaying(), VM_CL_walkmove(), VM_clientcount(), VM_clientstate(), VM_cos(), VM_crc16(), VM_cvar(), VM_cvar_defstring(), VM_cvar_description(), VM_cvar_string(), VM_cvar_type(), VM_digest_hex(), VM_drawcharacter(), VM_drawcolorcodedstring(), VM_drawfill(), VM_drawpic(), VM_drawrotpic(), VM_drawstring(), VM_drawsubpic(), VM_entityfieldname(), VM_entityfieldtype(), VM_etof(), VM_etos(), VM_fabs(), VM_fgets(), VM_findfont(), VM_findkeysforcommand(), VM_floor(), VM_fopen(), VM_ftoe(), VM_ftos(), VM_gecko_create(), VM_gecko_get_texture_extent(), VM_gecko_keyevent(), VM_getbindmaps(), VM_getentityfieldstring(), VM_getimagesize(), VM_getkeybind(), VM_getostype(), VM_getsoundtime(), VM_getsurfaceclippedpoint(), VM_getsurfacenearpoint(), VM_getsurfacenormal(), VM_getsurfacenumpoints(), VM_getsurfacenumtriangles(), VM_getsurfacepoint(), VM_getsurfacepointattribute(), VM_getsurfacetexture(), VM_getsurfacetriangle(), VM_gettime(), VM_infoadd(), VM_infoget(), VM_iscachedpic(), VM_isfunction(), VM_isserver(), VM_itof(), VM_keynumtostring(), VM_loadfont(), VM_loadfromfile(), VM_localsound(), VM_log(), VM_M_crypto_getencryptlevel(), VM_M_crypto_getidfp(), VM_M_crypto_getidstatus(), VM_M_crypto_getkeyfp(), VM_M_crypto_getmyidfp(), VM_M_crypto_getmyidstatus(), VM_M_crypto_getmykeyfp(), VM_M_getgamedirinfo(), VM_M_getkeydest(), VM_M_getmousepos(), VM_M_getmousetarget(), VM_M_getresolution(), VM_M_getserverlistindexforkey(), VM_M_getserverlistnumber(), VM_M_getserverliststat(), VM_M_getserverliststring(), VM_matchpattern(), VM_max(), VM_min(), VM_modulo(), VM_netaddress_resolve(), VM_normalize(), VM_nudgeoutofsolid(), VM_numentityfields(), VM_pow(), VM_precache_file(), VM_precache_pic(), VM_precache_sound(), VM_putentityfieldstring(), VM_random(), VM_randomvec(), VM_registercvar(), VM_rint(), VM_search_begin(), VM_search_getfilename(), VM_search_getsize(), VM_setbindmaps(), VM_setkeybind(), VM_sin(), VM_soundlength(), VM_sprintf(), VM_sqrt(), VM_stof(), VM_stov(), VM_str2chr(), VM_strcat(), VM_strconv(), VM_strdecolorize(), VM_strftime(), VM_stringtokeynum(), VM_stringwidth(), VM_strireplace(), VM_strlen(), VM_strlennocol(), VM_strncasecmp(), VM_strncmp(), VM_strpad(), VM_strreplace(), VM_strstrofs(), VM_strtolower(), VM_strtoupper(), VM_strzone(), VM_substring(), VM_SV_aim(), VM_SV_checkbottom(), VM_SV_checkpvs(), VM_SV_clienttype(), VM_SV_droptofloor(), VM_SV_frameduration(), VM_SV_frameforname(), VM_SV_getextresponse(), VM_SV_getlight(), VM_SV_gettagindex(), VM_SV_gettaginfo(), VM_SV_modelnameforindex(), VM_SV_MoveToGoal(), VM_SV_particleeffectnum(), VM_SV_pointcontents(), VM_SV_precache_model(), VM_SV_precache_sound(), VM_SV_serverkey(), VM_SV_skel_build(), VM_SV_skel_create(), 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_walkmove(), VM_tan(), VM_tokenize(), VM_tokenize_console(), VM_tokenizebyseparator(), VM_uncolorstring(), VM_uri_escape(), VM_uri_get(), VM_uri_unescape(), VM_vectoangles(), VM_vectoyaw(), VM_vlen(), VM_vtos(), VM_wasfreed(), VM_whichpack(), and while().

◆ PROG_SECONDARYVERSION16

#define PROG_SECONDARYVERSION16   ((('1'<<0)|('F'<<8)|('T'<<16)|('E'<<24))^(('P'<<0)|('R'<<8)|('O'<<16)|('G'<<24)))

Definition at line 469 of file pr_comp.h.

Referenced by PRVM_Prog_Load().

◆ PROG_SECONDARYVERSION32

#define PROG_SECONDARYVERSION32   ((('1'<<0)|('F'<<8)|('T'<<16)|('E'<<24))^(('3'<<0)|('2'<<8)|('B'<<16)|(' '<<24)))

Definition at line 470 of file pr_comp.h.

Referenced by PRVM_Prog_Load().

◆ PROG_VERSION

#define PROG_VERSION   6

Definition at line 425 of file pr_comp.h.

Referenced by PRVM_Prog_Load().

◆ RESERVED_OFS

#define RESERVED_OFS   28

Definition at line 42 of file pr_comp.h.

Typedef Documentation

◆ func_t

typedef unsigned int func_t

Definition at line 26 of file pr_comp.h.

◆ string_t

typedef int string_t

Definition at line 27 of file pr_comp.h.

Enumeration Type Documentation

◆ etype_t

enum etype_t
Enumerator
ev_void 
ev_string 
ev_float 
ev_vector 
ev_entity 
ev_field 
ev_function 
ev_pointer 

Definition at line 29 of file pr_comp.h.

etype_t
Definition pr_comp.h:29
@ ev_function
Definition pr_comp.h:29
@ ev_void
Definition pr_comp.h:29
@ ev_vector
Definition pr_comp.h:29
@ ev_entity
Definition pr_comp.h:29
@ ev_field
Definition pr_comp.h:29
@ ev_string
Definition pr_comp.h:29
@ ev_float
Definition pr_comp.h:29
@ ev_pointer
Definition pr_comp.h:29

◆ opcode_t

enum opcode_t
Enumerator
OP_DONE 
OP_MUL_F 
OP_MUL_V 
OP_MUL_FV 
OP_MUL_VF 
OP_DIV_F 
OP_ADD_F 
OP_ADD_V 
OP_SUB_F 
OP_SUB_V 
OP_EQ_F 
OP_EQ_V 
OP_EQ_S 
OP_EQ_E 
OP_EQ_FNC 
OP_NE_F 
OP_NE_V 
OP_NE_S 
OP_NE_E 
OP_NE_FNC 
OP_LE_F 
OP_GE_F 
OP_LT_F 
OP_GT_F 
OP_LOAD_F 
OP_LOAD_V 
OP_LOAD_S 
OP_LOAD_ENT 
OP_LOAD_FLD 
OP_LOAD_FNC 
OP_ADDRESS 
OP_STORE_F 
OP_STORE_V 
OP_STORE_S 
OP_STORE_ENT 
OP_STORE_FLD 
OP_STORE_FNC 
OP_STOREP_F 
OP_STOREP_V 
OP_STOREP_S 
OP_STOREP_ENT 
OP_STOREP_FLD 
OP_STOREP_FNC 
OP_RETURN 
OP_NOT_F 
OP_NOT_V 
OP_NOT_S 
OP_NOT_ENT 
OP_NOT_FNC 
OP_IF 
OP_IFNOT 
OP_CALL0 
OP_CALL1 
OP_CALL2 
OP_CALL3 
OP_CALL4 
OP_CALL5 
OP_CALL6 
OP_CALL7 
OP_CALL8 
OP_STATE 
OP_GOTO 
OP_AND_F 
OP_OR_F 
OP_BITAND_F 
OP_BITOR_F 
OP_STORE_I 
OP_ADD_I 
OP_ADD_FI 
OP_ADD_IF 
OP_SUB_I 
OP_SUB_FI 
OP_SUB_IF 
OP_CONV_ITOF 
OP_CONV_FTOI 
OP_LOAD_I 
OP_STOREP_I 
OP_BITAND_I 
OP_BITOR_I 
OP_MUL_I 
OP_DIV_I 
OP_EQ_I 
OP_NE_I 
OP_NOT_I 
OP_DIV_VF 
OP_RSHIFT_I 
OP_LSHIFT_I 
OP_GLOBALADDRESS 
OP_ADD_PIW 
OP_LOADA_F 
OP_LOADA_V 
OP_LOADA_S 
OP_LOADA_ENT 
OP_LOADA_FLD 
OP_LOADA_FNC 
OP_LOADA_I 
OP_STORE_P 
OP_LOAD_P 
OP_LOADP_F 
OP_LOADP_V 
OP_LOADP_S 
OP_LOADP_ENT 
OP_LOADP_FLD 
OP_LOADP_FNC 
OP_LOADP_I 
OP_LE_I 
OP_GE_I 
OP_LT_I 
OP_GT_I 
OP_LE_IF 
OP_GE_IF 
OP_LT_IF 
OP_GT_IF 
OP_LE_FI 
OP_GE_FI 
OP_LT_FI 
OP_GT_FI 
OP_EQ_IF 
OP_EQ_FI 
OP_MUL_IF 
OP_MUL_FI 
OP_MUL_VI 
OP_DIV_IF 
OP_DIV_FI 
OP_BITAND_IF 
OP_BITOR_IF 
OP_BITAND_FI 
OP_BITOR_FI 
OP_AND_I 
OP_OR_I 
OP_AND_IF 
OP_OR_IF 
OP_AND_FI 
OP_OR_FI 
OP_NE_IF 
OP_NE_FI 
OP_GSTOREP_I 
OP_GSTOREP_F 
OP_GSTOREP_ENT 
OP_GSTOREP_FLD 
OP_GSTOREP_S 
OP_GSTOREP_FNC 
OP_GSTOREP_V 
OP_GLOAD_I 
OP_GLOAD_F 
OP_GLOAD_FLD 
OP_GLOAD_ENT 
OP_GLOAD_S 
OP_GLOAD_FNC 
OP_BOUNDCHECK 
OP_GLOAD_V 
OP_LE_U 
OP_LT_U 
OP_DIV_U 
OP_RSHIFT_U 
OP_NUMREALOPS 

Definition at line 45 of file pr_comp.h.

46{
47 // NOTE: List mostly generated using `./fteqcc.bin -TDP_20250104 -Fdumpopcodes`.
48 OP_DONE = 0,
49 OP_MUL_F = 1,
50 OP_MUL_V = 2,
51 OP_MUL_FV = 3,
52 OP_MUL_VF = 4,
53 OP_DIV_F = 5,
54 OP_ADD_F = 6,
55 OP_ADD_V = 7,
56 OP_SUB_F = 8,
57 OP_SUB_V = 9,
58 OP_EQ_F = 10,
59 OP_EQ_V = 11,
60 OP_EQ_S = 12,
61 OP_EQ_E = 13,
62 OP_EQ_FNC = 14,
63 OP_NE_F = 15,
64 OP_NE_V = 16,
65 OP_NE_S = 17,
66 OP_NE_E = 18,
67 OP_NE_FNC = 19,
68 OP_LE_F = 20,
69 OP_GE_F = 21,
70 OP_LT_F = 22,
71 OP_GT_F = 23,
72 OP_LOAD_F = 24,
73 OP_LOAD_V = 25,
74 OP_LOAD_S = 26,
75 OP_LOAD_ENT = 27,
76 OP_LOAD_FLD = 28,
77 OP_LOAD_FNC = 29,
78 OP_ADDRESS = 30,
79 OP_STORE_F = 31,
80 OP_STORE_V = 32,
81 OP_STORE_S = 33,
82 OP_STORE_ENT = 34,
83 OP_STORE_FLD = 35,
84 OP_STORE_FNC = 36,
85 OP_STOREP_F = 37,
86 OP_STOREP_V = 38,
87 OP_STOREP_S = 39,
88 OP_STOREP_ENT = 40,
89 OP_STOREP_FLD = 41,
90 OP_STOREP_FNC = 42,
91 OP_RETURN = 43,
92 OP_NOT_F = 44,
93 OP_NOT_V = 45,
94 OP_NOT_S = 46,
95 OP_NOT_ENT = 47,
96 OP_NOT_FNC = 48,
97 OP_IF = 49,
98 OP_IFNOT = 50,
99 OP_CALL0 = 51,
100 OP_CALL1 = 52,
101 OP_CALL2 = 53,
102 OP_CALL3 = 54,
103 OP_CALL4 = 55,
104 OP_CALL5 = 56,
105 OP_CALL6 = 57,
106 OP_CALL7 = 58,
107 OP_CALL8 = 59,
108 OP_STATE = 60,
109 OP_GOTO = 61,
110 OP_AND_F = 62,
111 OP_OR_F = 63,
112 OP_BITAND_F = 64,
113 OP_BITOR_F = 65,
114 // OP_MULSTORE_F = 66,
115 // OP_MULSTORE_VF = 67,
116 // OP_MULSTOREP_F = 68,
117 // OP_MULSTOREP_VF = 69,
118 // OP_DIVSTORE_F = 70,
119 // OP_DIVSTOREP_F = 71,
120 // OP_ADDSTORE_F = 72,
121 // OP_ADDSTORE_V = 73,
122 // OP_ADDSTOREP_F = 74,
123 // OP_ADDSTOREP_V = 75,
124 // OP_SUBSTORE_F = 76,
125 // OP_SUBSTORE_V = 77,
126 // OP_SUBSTOREP_F = 78,
127 // OP_SUBSTOREP_V = 79,
128 // OP_FETCH_GBL_F = 80,
129 // OP_FETCH_GBL_V = 81,
130 // OP_FETCH_GBL_S = 82,
131 // OP_FETCH_GBL_E = 83,
132 // OP_FETCH_GBL_FNC = 84,
133 // OP_CSTATE = 85,
134 // OP_CWSTATE = 86,
135 // OP_THINKTIME = 87,
136 // OP_BITSETSTORE_F = 88,
137 // OP_BITSETSTOREP_F = 89,
138 // OP_BITCLRSTORE_F = 90,
139 // OP_BITCLRSTOREP_F = 91,
140 // OP_RAND0 = 92,
141 // OP_RAND1 = 93,
142 // OP_RAND2 = 94,
143 // OP_RANDV0 = 95,
144 // OP_RANDV1 = 96,
145 // OP_RANDV2 = 97,
146 // OP_SWITCH_F = 98,
147 // OP_SWITCH_V = 99,
148 // OP_SWITCH_S = 100,
149 // OP_SWITCH_E = 101,
150 // OP_SWITCH_FNC = 102,
151 // OP_CASE = 103,
152 // OP_CASERANGE = 104,
153 // OP_CALL1H = 105,
154 // OP_CALL2H = 106,
155 // OP_CALL3H = 107,
156 // OP_CALL4H = 108,
157 // OP_CALL5H = 109,
158 // OP_CALL6H = 110,
159 // OP_CALL7H = 111,
160 // OP_CALL8H = 112,
161 OP_STORE_I = 113,
162 // OP_STORE_IF = 114,
163 // OP_STORE_FI = 115,
164 OP_ADD_I = 116,
165 OP_ADD_FI = 117,
166 OP_ADD_IF = 118,
167 OP_SUB_I = 119,
168 OP_SUB_FI = 120,
169 OP_SUB_IF = 121,
170 OP_CONV_ITOF = 122,
171 OP_CONV_FTOI = 123,
172 // OP_CONVP_IF = 124,
173 // OP_CONVP_FI = 125,
174 OP_LOAD_I = 126,
175 OP_STOREP_I = 127,
176 // OP_STOREP_IF = 128,
177 // OP_STOREP_FI = 129,
178 OP_BITAND_I = 130,
179 OP_BITOR_I = 131,
180 OP_MUL_I = 132,
181 OP_DIV_I = 133,
182 OP_EQ_I = 134,
183 OP_NE_I = 135,
184 // OP_IFNOTS = 136,
185 // OP_IFS = 137,
186 OP_NOT_I = 138,
187 OP_DIV_VF = 139,
188 // OP_BITXOR_I = 140,
189 OP_RSHIFT_I = 141,
190 OP_LSHIFT_I = 142,
191 OP_GLOBALADDRESS = 143,
192 OP_ADD_PIW = 144,
193 OP_LOADA_F = 145,
194 OP_LOADA_V = 146,
195 OP_LOADA_S = 147,
196 OP_LOADA_ENT = 148,
197 OP_LOADA_FLD = 149,
198 OP_LOADA_FNC = 150,
199 OP_LOADA_I = 151,
200 OP_STORE_P = 152,
201 OP_LOAD_P = 153,
202 OP_LOADP_F = 154,
203 OP_LOADP_V = 155,
204 OP_LOADP_S = 156,
205 OP_LOADP_ENT = 157,
206 OP_LOADP_FLD = 158,
207 OP_LOADP_FNC = 159,
208 OP_LOADP_I = 160,
209 OP_LE_I = 161,
210 OP_GE_I = 162,
211 OP_LT_I = 163,
212 OP_GT_I = 164,
213 OP_LE_IF = 165,
214 OP_GE_IF = 166,
215 OP_LT_IF = 167,
216 OP_GT_IF = 168,
217 OP_LE_FI = 169,
218 OP_GE_FI = 170,
219 OP_LT_FI = 171,
220 OP_GT_FI = 172,
221 OP_EQ_IF = 173,
222 OP_EQ_FI = 174,
223 // OP_ADD_SF = 175,
224 // OP_SUB_S = 176,
225 // OP_STOREP_C = 177,
226 // OP_LOADP_C = 178,
227 OP_MUL_IF = 179,
228 OP_MUL_FI = 180,
229 OP_MUL_VI = 181,
230 // OP_MUL_IV = 182,
231 OP_DIV_IF = 183,
232 OP_DIV_FI = 184,
233 OP_BITAND_IF = 185,
234 OP_BITOR_IF = 186,
235 OP_BITAND_FI = 187,
236 OP_BITOR_FI = 188,
237 OP_AND_I = 189,
238 OP_OR_I = 190,
239 OP_AND_IF = 191,
240 OP_OR_IF = 192,
241 OP_AND_FI = 193,
242 OP_OR_FI = 194,
243 OP_NE_IF = 195,
244 OP_NE_FI = 196,
245 OP_GSTOREP_I = 197,
246 OP_GSTOREP_F = 198,
247 OP_GSTOREP_ENT = 199,
248 OP_GSTOREP_FLD = 200,
249 OP_GSTOREP_S = 201,
250 OP_GSTOREP_FNC = 202,
251 OP_GSTOREP_V = 203,
252 // OP_GADDRESS = 204,
253 OP_GLOAD_I = 205,
254 OP_GLOAD_F = 206,
255 OP_GLOAD_FLD = 207,
256 OP_GLOAD_ENT = 208,
257 OP_GLOAD_S = 209,
258 OP_GLOAD_FNC = 210,
259 OP_BOUNDCHECK = 211,
260 // OP_UNUSED = 212,
261 // OP_PUSH = 213,
262 // OP_POP = 214,
263 // OP_SWITCH_I = 215,
264 OP_GLOAD_V = 216,
265 // OP_IF_F = 217,
266 // OP_IFNOT_F = 218,
267 // OP_STOREF_V = 219,
268 // OP_STOREF_F = 220,
269 // OP_STOREF_S = 221,
270 // OP_STOREF_I = 222,
271 // OP_STOREP_I8 = 223,
272 // OP_LOADP_U8 = 224,
273 OP_LE_U = 225,
274 OP_LT_U = 226,
275 OP_DIV_U = 227,
276 OP_RSHIFT_U = 228,
277 // OP_ADD_I64 = 229,
278 // OP_SUB_I64 = 230,
279 // OP_MUL_I64 = 231,
280 // OP_DIV_I64 = 232,
281 // OP_BITAND_I64 = 233,
282 // OP_BITOR_I64 = 234,
283 // OP_BITXOR_I64 = 235,
284 // OP_LSHIFT_I64I = 236,
285 // OP_RSHIFT_I64I = 237,
286 // OP_LE_I64 = 238,
287 // OP_LT_I64 = 239,
288 // OP_EQ_I64 = 240,
289 // OP_NE_I64 = 241,
290 // OP_LE_U64 = 242,
291 // OP_LT_U64 = 243,
292 // OP_DIV_U64 = 244,
293 // OP_RSHIFT_U64I = 245,
294 // OP_STORE_I64 = 246,
295 // OP_STOREP_I64 = 247,
296 // OP_STOREF_I64 = 248,
297 // OP_LOADF_I64 = 249,
298 // OP_LOADA_I64 = 250,
299 // OP_LOADP_I64 = 251,
300 // OP_CONV_UI64 = 252,
301 // OP_CONV_II64 = 253,
302 // OP_CONV_I64I = 254,
303 // OP_CONV_FD = 255,
304 // OP_CONV_DF = 256,
305 // OP_CONV_I64F = 257,
306 // OP_CONV_FI64 = 258,
307 // OP_CONV_I64D = 259,
308 // OP_CONV_DI64 = 260,
309 // OP_ADD_D = 261,
310 // OP_SUB_D = 262,
311 // OP_MUL_D = 263,
312 // OP_DIV_D = 264,
313 // OP_LE_D = 265,
314 // OP_LT_D = 266,
315 // OP_EQ_D = 267,
316 // OP_NE_D = 268,
317 // OP_STOREP_I16 = 269,
318 // OP_LOADP_I16 = 270,
319 // OP_LOADP_U16 = 271,
320 // OP_LOADP_I8 = 272,
321 // OP_BITEXTEND_I = 273,
322 // OP_BITEXTEND_U = 274,
323 // OP_BITCOPY_I = 275,
324 // OP_CONV_UF = 276,
325 // OP_CONV_FU = 277,
326 // OP_CONV_U64D = 278,
327 // OP_CONV_DU64 = 279,
328 // OP_CONV_U64F = 280,
329 // OP_CONV_FU64 = 281,
330 OP_NUMREALOPS = 282
331}
@ OP_SUB_FI
Definition pr_comp.h:168
@ OP_STOREP_S
Definition pr_comp.h:87
@ OP_NE_E
Definition pr_comp.h:66
@ OP_LOADA_ENT
Definition pr_comp.h:196
@ OP_AND_I
Definition pr_comp.h:237
@ OP_LE_FI
Definition pr_comp.h:217
@ OP_ADD_I
Definition pr_comp.h:164
@ OP_GSTOREP_FLD
Definition pr_comp.h:248
@ OP_STORE_V
Definition pr_comp.h:80
@ OP_GSTOREP_FNC
Definition pr_comp.h:250
@ OP_RSHIFT_U
Definition pr_comp.h:276
@ OP_SUB_F
Definition pr_comp.h:56
@ OP_LOAD_ENT
Definition pr_comp.h:75
@ OP_LOAD_F
Definition pr_comp.h:72
@ OP_LT_FI
Definition pr_comp.h:219
@ OP_GE_I
Definition pr_comp.h:210
@ OP_DIV_I
Definition pr_comp.h:181
@ OP_LT_I
Definition pr_comp.h:211
@ OP_IF
Definition pr_comp.h:97
@ OP_LOAD_FLD
Definition pr_comp.h:76
@ OP_MUL_VI
Definition pr_comp.h:229
@ OP_BITOR_F
Definition pr_comp.h:113
@ OP_STOREP_V
Definition pr_comp.h:86
@ OP_GLOAD_ENT
Definition pr_comp.h:256
@ OP_GLOAD_F
Definition pr_comp.h:254
@ OP_EQ_FI
Definition pr_comp.h:222
@ OP_GSTOREP_I
Definition pr_comp.h:245
@ OP_MUL_VF
Definition pr_comp.h:52
@ OP_ADD_IF
Definition pr_comp.h:166
@ OP_GLOAD_FLD
Definition pr_comp.h:255
@ OP_NOT_I
Definition pr_comp.h:186
@ OP_LOADA_I
Definition pr_comp.h:199
@ OP_GSTOREP_F
Definition pr_comp.h:246
@ OP_CALL8
Definition pr_comp.h:107
@ OP_CONV_ITOF
Definition pr_comp.h:170
@ OP_DIV_F
Definition pr_comp.h:53
@ OP_GT_F
Definition pr_comp.h:71
@ OP_DIV_IF
Definition pr_comp.h:231
@ OP_MUL_I
Definition pr_comp.h:180
@ OP_OR_FI
Definition pr_comp.h:242
@ OP_CALL6
Definition pr_comp.h:105
@ OP_ADD_V
Definition pr_comp.h:55
@ OP_STOREP_ENT
Definition pr_comp.h:88
@ OP_STOREP_FNC
Definition pr_comp.h:90
@ OP_AND_IF
Definition pr_comp.h:239
@ OP_CALL5
Definition pr_comp.h:104
@ OP_LOADP_V
Definition pr_comp.h:203
@ OP_NE_FNC
Definition pr_comp.h:67
@ OP_NUMREALOPS
Definition pr_comp.h:330
@ OP_NE_S
Definition pr_comp.h:65
@ OP_BITOR_FI
Definition pr_comp.h:236
@ OP_LT_IF
Definition pr_comp.h:215
@ OP_STORE_P
Definition pr_comp.h:200
@ OP_CONV_FTOI
Definition pr_comp.h:171
@ OP_LOADA_FNC
Definition pr_comp.h:198
@ OP_LOADP_ENT
Definition pr_comp.h:205
@ OP_STORE_I
Definition pr_comp.h:161
@ OP_SUB_V
Definition pr_comp.h:57
@ OP_BITAND_FI
Definition pr_comp.h:235
@ OP_NOT_ENT
Definition pr_comp.h:95
@ OP_GSTOREP_S
Definition pr_comp.h:249
@ OP_GLOAD_I
Definition pr_comp.h:253
@ OP_OR_IF
Definition pr_comp.h:240
@ OP_STOREP_I
Definition pr_comp.h:175
@ OP_DIV_FI
Definition pr_comp.h:232
@ OP_EQ_FNC
Definition pr_comp.h:62
@ OP_LE_U
Definition pr_comp.h:273
@ OP_STOREP_FLD
Definition pr_comp.h:89
@ OP_MUL_FV
Definition pr_comp.h:51
@ OP_LOAD_P
Definition pr_comp.h:201
@ OP_NE_V
Definition pr_comp.h:64
@ OP_STORE_FLD
Definition pr_comp.h:83
@ OP_GLOBALADDRESS
Definition pr_comp.h:191
@ OP_ADD_PIW
Definition pr_comp.h:192
@ OP_CALL1
Definition pr_comp.h:100
@ OP_EQ_I
Definition pr_comp.h:182
@ OP_EQ_V
Definition pr_comp.h:59
@ OP_STORE_ENT
Definition pr_comp.h:82
@ OP_MUL_IF
Definition pr_comp.h:227
@ OP_GSTOREP_ENT
Definition pr_comp.h:247
@ OP_GT_IF
Definition pr_comp.h:216
@ OP_NE_IF
Definition pr_comp.h:243
@ OP_ADD_F
Definition pr_comp.h:54
@ OP_LT_F
Definition pr_comp.h:70
@ OP_RSHIFT_I
Definition pr_comp.h:189
@ OP_LOADP_S
Definition pr_comp.h:204
@ OP_MUL_FI
Definition pr_comp.h:228
@ OP_LOADA_F
Definition pr_comp.h:193
@ OP_GE_F
Definition pr_comp.h:69
@ OP_GE_IF
Definition pr_comp.h:214
@ OP_DIV_U
Definition pr_comp.h:275
@ OP_LE_I
Definition pr_comp.h:209
@ OP_LE_F
Definition pr_comp.h:68
@ OP_LOADP_I
Definition pr_comp.h:208
@ OP_BITAND_F
Definition pr_comp.h:112
@ OP_LE_IF
Definition pr_comp.h:213
@ OP_ADD_FI
Definition pr_comp.h:165
@ OP_GE_FI
Definition pr_comp.h:218
@ OP_AND_F
Definition pr_comp.h:110
@ OP_CALL0
Definition pr_comp.h:99
@ OP_LOADP_FLD
Definition pr_comp.h:206
@ OP_NE_F
Definition pr_comp.h:63
@ OP_NOT_F
Definition pr_comp.h:92
@ OP_STORE_S
Definition pr_comp.h:81
@ OP_LOAD_S
Definition pr_comp.h:74
@ OP_OR_I
Definition pr_comp.h:238
@ OP_CALL4
Definition pr_comp.h:103
@ OP_EQ_E
Definition pr_comp.h:61
@ OP_DIV_VF
Definition pr_comp.h:187
@ OP_STOREP_F
Definition pr_comp.h:85
@ OP_SUB_IF
Definition pr_comp.h:169
@ OP_LSHIFT_I
Definition pr_comp.h:190
@ OP_CALL2
Definition pr_comp.h:101
@ OP_GLOAD_V
Definition pr_comp.h:264
@ OP_MUL_V
Definition pr_comp.h:50
@ OP_GLOAD_S
Definition pr_comp.h:257
@ OP_LOADA_FLD
Definition pr_comp.h:197
@ OP_SUB_I
Definition pr_comp.h:167
@ OP_NE_FI
Definition pr_comp.h:244
@ OP_LOADP_F
Definition pr_comp.h:202
@ OP_STATE
Definition pr_comp.h:108
@ OP_GT_I
Definition pr_comp.h:212
@ OP_LOAD_I
Definition pr_comp.h:174
@ OP_LOADA_V
Definition pr_comp.h:194
@ OP_LOADA_S
Definition pr_comp.h:195
@ OP_CALL3
Definition pr_comp.h:102
@ OP_RETURN
Definition pr_comp.h:91
@ OP_OR_F
Definition pr_comp.h:111
@ OP_ADDRESS
Definition pr_comp.h:78
@ OP_EQ_IF
Definition pr_comp.h:221
@ OP_BITAND_I
Definition pr_comp.h:178
@ OP_EQ_F
Definition pr_comp.h:58
@ OP_DONE
Definition pr_comp.h:48
@ OP_NOT_V
Definition pr_comp.h:93
@ OP_BOUNDCHECK
Definition pr_comp.h:259
@ OP_AND_FI
Definition pr_comp.h:241
@ OP_GSTOREP_V
Definition pr_comp.h:251
@ OP_EQ_S
Definition pr_comp.h:60
@ OP_BITOR_IF
Definition pr_comp.h:234
@ OP_LOAD_FNC
Definition pr_comp.h:77
@ OP_NE_I
Definition pr_comp.h:183
@ OP_GT_FI
Definition pr_comp.h:220
@ OP_NOT_FNC
Definition pr_comp.h:96
@ OP_LOAD_V
Definition pr_comp.h:73
@ OP_GOTO
Definition pr_comp.h:109
@ OP_GLOAD_FNC
Definition pr_comp.h:258
@ OP_BITAND_IF
Definition pr_comp.h:233
@ OP_CALL7
Definition pr_comp.h:106
@ OP_STORE_FNC
Definition pr_comp.h:84
@ OP_LT_U
Definition pr_comp.h:274
@ OP_BITOR_I
Definition pr_comp.h:179
@ OP_MUL_F
Definition pr_comp.h:49
@ OP_LOADP_FNC
Definition pr_comp.h:207
@ OP_NOT_S
Definition pr_comp.h:94
@ OP_STORE_F
Definition pr_comp.h:79
@ OP_IFNOT
Definition pr_comp.h:98