_GLOBAL__sub_I_r_staticlight_streams
0x0009ab10 · 3656 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void _GLOBAL__sub_I_r_staticlight_streams(void)
{
UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
vec2_origin._0_4_ = 0;
vec2_origin._4_4_ = 0;
vec2_invalid._0_4_ = 0x7f7fffff;
vec2_invalid._4_4_ = 0x7f7fffff;
vec4_origin._0_4_ = 0;
vec4_origin._4_4_ = 0;
vec4_origin._8_4_ = 0;
vec4_origin._12_4_ = 0;
vec4_invalid._0_4_ = 0x7f7fffff;
vec4_invalid._4_4_ = 0x7f7fffff;
vec4_invalid._8_4_ = 0x7f7fffff;
vec4_invalid._12_4_ = 0x7f7fffff;
ConVar::ConVar((ConVar *)r_staticlight_streams,"r_staticlight_streams","1",0);
__cxa_atexit(ConVar::~ConVar,r_staticlight_streams,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawmodelstatsoverlay,"r_drawmodelstatsoverlay","0",0x4000);
__cxa_atexit(ConVar::~ConVar,r_drawmodelstatsoverlay,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawmodelstatsoverlaydistance,"r_drawmodelstatsoverlaydistance","500",
0x4000);
__cxa_atexit(ConVar::~ConVar,r_drawmodelstatsoverlaydistance,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawmodellightorigin,"r_DrawModelLightOrigin","0",0x4000);
__cxa_atexit(ConVar::~ConVar,r_drawmodellightorigin,&__dso_handle);
ConVar::ConVar((ConVar *)r_lod,"r_lod","-1",0,"",r_lod_f);
__cxa_atexit(ConVar::~ConVar,r_lod,&__dso_handle);
ConVar::ConVar((ConVar *)r_entity,"r_entity","-1",0x4002);
__cxa_atexit(ConVar::~ConVar,r_entity,&__dso_handle);
ConVar::ConVar((ConVar *)r_lightaverage,"r_lightaverage","1",0,
"Activates/deactivate light averaging");
__cxa_atexit(ConVar::~ConVar,r_lightaverage,&__dso_handle);
ConVar::ConVar((ConVar *)r_lightinterp,"r_lightinterp","5",0x4000,
"Controls the speed of light interpolation, 0 turns off interpolation");
__cxa_atexit(ConVar::~ConVar,r_lightinterp,&__dso_handle);
ConVar::ConVar((ConVar *)r_eyeglintlodpixels,"r_eyeglintlodpixels","20.0",0,
"The number of pixels wide an eyeball has to be before rendering an eyeglint. Is a floating point value."
);
__cxa_atexit(ConVar::~ConVar,r_eyeglintlodpixels,&__dso_handle);
ConVar::ConVar((ConVar *)r_rootlod,"r_rootlod","0",0x800000,"Root LOD",true,0.0,true,7.0,
SetRootLOD_f);
__cxa_atexit(ConVar::~ConVar,r_rootlod,&__dso_handle);
ConVar::ConVar((ConVar *)r_decalstaticprops,"r_decalstaticprops","1",0,"Decal static props test");
__cxa_atexit(ConVar::~ConVar,r_decalstaticprops,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)r_flushlod,"r_flushlod",FlushLOD_f,"Flush and reload LODs.",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,r_flushlod,&__dso_handle);
ConVar::ConVar((ConVar *)r_debugrandomstaticlighting,"r_debugrandomstaticlighting","0",0x4000,
"Set to 1 to randomize static lighting for debugging. Must restart for change to take affect."
);
__cxa_atexit(ConVar::~ConVar,r_debugrandomstaticlighting,&__dso_handle);
ConVar::ConVar((ConVar *)r_proplightingfromdisk,"r_proplightingfromdisk","1",0,
"0=Off, 1=On, 2=Show Errors");
__cxa_atexit(ConVar::~ConVar,r_proplightingfromdisk,&__dso_handle);
ConVar::ConVar((ConVar *)r_itemblinkmax,"r_itemblinkmax",".3",0x4000);
__cxa_atexit(ConVar::~ConVar,r_itemblinkmax,&__dso_handle);
ConVar::ConVar((ConVar *)r_itemblinkrate,"r_itemblinkrate","4.5",0x4000);
__cxa_atexit(ConVar::~ConVar,r_itemblinkrate,&__dso_handle);
ConVar::ConVar((ConVar *)r_proplightingpooling,"r_proplightingpooling","-1.0",0x4000,
"0 - off, 1 - static prop color meshes are allocated from a single shared vertex buffer (on hardware that supports stream offset)"
);
__cxa_atexit(ConVar::~ConVar,r_proplightingpooling,&__dso_handle);
ConVar::ConVar((ConVar *)r_showenvcubemap,"r_showenvcubemap","0",0x4000);
__cxa_atexit(ConVar::~ConVar,r_showenvcubemap,&__dso_handle);
ConVar::ConVar((ConVar *)r_eyemove,"r_eyemove","1",0x80);
__cxa_atexit(ConVar::~ConVar,r_eyemove,&__dso_handle);
ConVar::ConVar((ConVar *)r_eyeshift_x,"r_eyeshift_x","0",0x80);
__cxa_atexit(ConVar::~ConVar,r_eyeshift_x,&__dso_handle);
ConVar::ConVar((ConVar *)r_eyeshift_y,"r_eyeshift_y","0",0x80);
__cxa_atexit(ConVar::~ConVar,r_eyeshift_y,&__dso_handle);
ConVar::ConVar((ConVar *)r_eyeshift_z,"r_eyeshift_z","0",0x80);
__cxa_atexit(ConVar::~ConVar,r_eyeshift_z,&__dso_handle);
ConVar::ConVar((ConVar *)r_eyesize,"r_eyesize","0",0x80);
__cxa_atexit(ConVar::~ConVar,r_eyesize,&__dso_handle);
ConVar::ConVar((ConVar *)mat_softwareskin,"mat_softwareskin","0",0x4000);
__cxa_atexit(ConVar::~ConVar,mat_softwareskin,&__dso_handle);
ConVar::ConVar((ConVar *)r_nohw,"r_nohw","0",0x4000);
__cxa_atexit(ConVar::~ConVar,r_nohw,&__dso_handle);
ConVar::ConVar((ConVar *)r_nosw,"r_nosw","0",0x4000);
__cxa_atexit(ConVar::~ConVar,r_nosw,&__dso_handle);
ConVar::ConVar((ConVar *)r_teeth,"r_teeth","1",0);
__cxa_atexit(ConVar::~ConVar,r_teeth,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawentities,"r_drawentities","1",0x4000);
__cxa_atexit(ConVar::~ConVar,r_drawentities,&__dso_handle);
ConVar::ConVar((ConVar *)r_flex,"r_flex","1",0);
__cxa_atexit(ConVar::~ConVar,r_flex,&__dso_handle);
ConVar::ConVar((ConVar *)r_eyes,"r_eyes","1",0);
__cxa_atexit(ConVar::~ConVar,r_eyes,&__dso_handle);
ConVar::ConVar((ConVar *)r_skin,"r_skin","0",0x4000);
__cxa_atexit(ConVar::~ConVar,r_skin,&__dso_handle);
ConVar::ConVar((ConVar *)r_modelwireframedecal,"r_modelwireframedecal","0",0x4000);
__cxa_atexit(ConVar::~ConVar,r_modelwireframedecal,&__dso_handle);
ConVar::ConVar((ConVar *)r_maxmodeldecal,"r_maxmodeldecal","50",0);
__cxa_atexit(ConVar::~ConVar,r_maxmodeldecal,&__dso_handle);
ConVar::ConVar((ConVar *)r_slowpathwireframe,"r_slowpathwireframe","0",0x4000);
__cxa_atexit(ConVar::~ConVar,r_slowpathwireframe,&__dso_handle);
_DAT_003a5862 = 0xffff;
DAT_003a5848 = 0;
s_ModelRender = &PTR_DrawModel_002b6a08;
_DAT_003a5844 = &DAT_002b6a8c;
_DAT_003a584c = 0;
_DAT_003a5850 = 0;
_DAT_003a5854 = 0;
DAT_003a5858 = 0xffff;
_DAT_003a585a = 0xffff;
_DAT_003a585c = 0xffff;
_DAT_003a585e = 0;
_DAT_003a5860 = 0;
_DAT_003a5864 = 0;
_DAT_003a5874 = 0;
_DAT_003a5878 = 0;
_DAT_003a587c = 0;
_DAT_003a5880 = 0xffffffff;
_DAT_003a5884 = 0;
_DAT_003a5888 = 0xffffffff;
_DAT_003a588c = 0xffffffff;
_DAT_003a5890 = 0;
_DAT_003a5870 = CaselessStringLessThan;
_DAT_003a5894 = 0;
_DAT_003a5898 = 0;
_DAT_003a589c = &PTR__CPooledVBAllocator_ColorMesh_002b6aa8;
_DAT_003a58a0 = 0;
/* try { // try from 0009b5c5 to 0009b5c9 has its CatchHandler @ 0009b958 */
CPooledVBAllocator_ColorMesh::Clear((CPooledVBAllocator_ColorMesh *)&DAT_003a589c);
__cxa_atexit(CModelRender::~CModelRender,&s_ModelRender,&__dso_handle);
InterfaceReg::InterfaceReg
((InterfaceReg *)__g_CreateCModelRenderIVModelRender_reg,
__CreateCModelRenderIVModelRender_interface,"VEngineModel016");
ConVar::ConVar((ConVar *)r_ambientboost,"r_ambientboost","1",0,
"Set to boost ambient term if it is totally swamped by local lights");
__cxa_atexit(ConVar::~ConVar,r_ambientboost,&__dso_handle);
ConVar::ConVar((ConVar *)r_ambientmin,"r_ambientmin","0.3",0,
"Threshold above which ambient cube will not boost (i.e. it\'s already sufficiently bright"
);
__cxa_atexit(ConVar::~ConVar,r_ambientmin,&__dso_handle);
ConVar::ConVar((ConVar *)r_ambientfraction,"r_ambientfraction","0.2",0x4000,
"Fraction of direct lighting used to boost lighting when model requests");
__cxa_atexit(ConVar::~ConVar,r_ambientfraction,&__dso_handle);
ConVar::ConVar((ConVar *)r_ambientfactor,"r_ambientfactor","5",0,
"Boost ambient cube by no more than this factor");
__cxa_atexit(ConVar::~ConVar,r_ambientfactor,&__dso_handle);
ConVar::ConVar((ConVar *)r_lightcachemodel,"r_lightcachemodel","-1",0x4000,"");
__cxa_atexit(ConVar::~ConVar,r_lightcachemodel,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawlightcache,"r_drawlightcache","0",0x4000,
"0: off\n1: draw light cache entries\n2: draw rays\n");
__cxa_atexit(ConVar::~ConVar,r_drawlightcache,&__dso_handle);
s_SavedModelInfo = 0;
_DAT_003a55ec = 0;
_DAT_003a55f0 = 0;
DAT_003a55f4 = 0;
_DAT_003a55f8 = 0;
__cxa_atexit(CUtlVector<ModelDebugOverlayData_t,CUtlMemory<ModelDebugOverlayData_t,int>>::
~CUtlVector,&s_SavedModelInfo,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawmodelstatsoverlaymin,"r_drawmodelstatsoverlaymin","0.1",0x80,
"time in milliseconds that a model must take to render before showing an overlay in r_drawmodelstatsoverlay 2"
);
__cxa_atexit(ConVar::~ConVar,r_drawmodelstatsoverlaymin,&__dso_handle);
ConVar::ConVar((ConVar *)r_drawmodelstatsoverlaymax,"r_drawmodelstatsoverlaymax","1.5",0x80,
"time in milliseconds beyond which a model overlay is fully red in r_drawmodelstatsoverlay 2"
);
__cxa_atexit(ConVar::~ConVar,r_drawmodelstatsoverlaymax,&__dso_handle);
ConVar::ConVar((ConVar *)r_staticprop_lod,"r_staticprop_lod","-1",0);
__cxa_atexit(ConVar::~ConVar,r_staticprop_lod,&__dso_handle);
ConVar::ConVar((ConVar *)r_shadowlod,"r_shadowlod","-1",0);
__cxa_atexit(ConVar::~ConVar,r_shadowlod,&__dso_handle);
ConVar::ConVar((ConVar *)r_shadowlodbias,"r_shadowlodbias","2",0);
__cxa_atexit(ConVar::~ConVar,r_shadowlodbias,&__dso_handle);
return;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
Just a Signatures{} block, ready to drop into a gamedata
file. Wire it up in your plugin however you like - SDKCall, DHooks,
raw memory ops, or anything else.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
⚠ This function has no mangled symbol — it may be internal/static. The
Linux gamedata field uses @-prefix symbol resolution which
requires an exported mangled name. You'll need a Linux byte signature
for this one (extract via extract_signature.java).
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.