_GLOBAL__sub_I_z_spew_areas
0x003c4700 · 4349 bytes · unknown
Decompiled
undefined (0 params)
void _GLOBAL__sub_I_z_spew_areas(void)
{
undefined4 *puVar1;
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;
UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
ConVar::ConVar((ConVar *)z_spew_areas,"z_spew_areas","0",0x4000);
__cxa_atexit(ConVar::~ConVar,z_spew_areas,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowClear,"z_show_clear","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowClear,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowTraffic,"z_show_traffic","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowTraffic,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowFlowDelta,"z_show_flow_delta","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowFlowDelta,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowBottlenecks,"z_show_bottlenecks","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowBottlenecks,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowDamaging,"z_show_damaging","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowDamaging,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowEscapeRoute,"z_show_escape_route","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowEscapeRoute,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowPopulationDensity,"z_show_population_density","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowPopulationDensity,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowPotentiallyVisible,"z_show_potentially_visible","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowPotentiallyVisible,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowMutuallyVisibleSet,"z_show_mutually_visible_set","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowMutuallyVisibleSet,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowPotentiallyVisibleToSurvivorTeam,
"z_show_potentially_visible_to_survivor_team","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowPotentiallyVisibleToSurvivorTeam,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieShowCompletelyVisibleToSurvivorTeam,
"z_show_completely_visible_to_survivor_team","0",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieShowCompletelyVisibleToSurvivorTeam,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieClearRange,"z_clear_range","750",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieClearRange,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieClearMinTime,"z_clear_min_time","0.2",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieClearMinTime,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieClearMinTimeRange,"z_clear_min_time_range","300",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieClearMinTimeRange,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieClearMaxTime,"z_clear_max_time","5",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieClearMaxTime,&__dso_handle);
ConVar::ConVar((ConVar *)NavMaxViewDistance,"nav_max_view_distance","0",0x4000,
"Maximum range for precomputed nav mesh visibility (0 = default 1500 units)");
__cxa_atexit(ConVar::~ConVar,NavMaxViewDistance,&__dso_handle);
ConVar::ConVar((ConVar *)NavUpdateVisibilityOnEdit,"nav_update_visibility_on_edit","0",0x4000,
"If nonzero editing the mesh will incrementally recompue visibility");
__cxa_atexit(ConVar::~ConVar,NavUpdateVisibilityOnEdit,&__dso_handle);
ConVar::ConVar((ConVar *)NavObscureRange,"nav_obscure_range","400",0x4000);
__cxa_atexit(ConVar::~ConVar,NavObscureRange,&__dso_handle);
ConVar::ConVar((ConVar *)NavPotentiallyVisibleDotTolerance,"nav_potentially_visible_dot_tolerance"
,"0.98",0x4000);
__cxa_atexit(ConVar::~ConVar,NavPotentiallyVisibleDotTolerance,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieBoundarySpreadSpeed,"z_boundary_spread_speed","200",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieBoundarySpreadSpeed,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieBoundaryMaxRange,"z_boundary_max_range","5000",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieBoundaryMaxRange,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieBoundaryClearType,"z_boundary_clear_type","1",0x4000,
"0 = floodfill, 1 = new creep");
__cxa_atexit(ConVar::~ConVar,ZombieBoundaryClearType,&__dso_handle);
ConVar::ConVar((ConVar *)NavFogEdit,"nav_fog_edit","0",0x4000);
__cxa_atexit(ConVar::~ConVar,NavFogEdit,&__dso_handle);
ConVar::ConVar((ConVar *)ZombiePopulation,"z_population","default",0,
"Default population on the current map (saved/loaded in the nav mesh)");
__cxa_atexit(ConVar::~ConVar,ZombiePopulation,&__dso_handle);
ConVar::ConVar((ConVar *)NavMaxVisDeltaListLength,"nav_max_vis_delta_list_length","64",0x4000);
__cxa_atexit(ConVar::~ConVar,NavMaxVisDeltaListLength,&__dso_handle);
ConVar::ConVar((ConVar *)NavDebugFinaleArea,"nav_debug_finale_area","0",0x4000,
"Show extents of finale area and selected finale center");
__cxa_atexit(ConVar::~ConVar,NavDebugFinaleArea,&__dso_handle);
ConVar::ConVar((ConVar *)NavFlowMaxSurvivorDropHeight,"nav_flow_max_survivor_drop_height","240",
0x4000,"Maximum Survivor drop-down height used during flow computation");
__cxa_atexit(ConVar::~ConVar,NavFlowMaxSurvivorDropHeight,&__dso_handle);
ConVar::ConVar((ConVar *)NavFlowMaxSurvivorClimbHeight,"nav_flow_max_survivor_climb_height","66",
0x4000,"Maximum Survivor climb-up height used during flow computation");
__cxa_atexit(ConVar::~ConVar,NavFlowMaxSurvivorClimbHeight,&__dso_handle);
ConVar::ConVar((ConVar *)nav_flood_select_tolerance,"nav_flood_select_tolerance","0",0x4000,
"Allowable z distance of selectable areas from the start area.");
__cxa_atexit(ConVar::~ConVar,nav_flood_select_tolerance,&__dso_handle);
ConVar::ConVar((ConVar *)NavLyingDownPercent,"nav_lying_down_percent","50",0x4000,
"Chance that wandering infected will be lying down in a SPAWN_LYINGDOWN area.");
__cxa_atexit(ConVar::~ConVar,NavLyingDownPercent,&__dso_handle);
ConVar::ConVar((ConVar *)director_output_population_visits,"director_output_population_visit","0",
0x4000);
__cxa_atexit(ConVar::~ConVar,director_output_population_visits,&__dso_handle);
g_ComputedVis = 0;
DAT_010134ec = 0;
DAT_010134f0 = 0;
DAT_010134f4 = 0;
__cxa_atexit(CTSListWithFreeList<TerrorNavArea::AreaBindInfo>::~CTSListWithFreeList,&g_ComputedVis
,&__dso_handle);
TerrorNavArea::gm_wanderingPopulationRequests._0_4_ = 0;
TerrorNavArea::gm_wanderingPopulationRequests._4_4_ = 0;
TerrorNavArea::gm_wanderingPopulationRequests._8_4_ = 0;
TerrorNavArea::gm_wanderingPopulationRequests._12_4_ = 0;
TerrorNavArea::gm_wanderingPopulationRequests._16_4_ = 0;
__cxa_atexit(CUtlVector<CNavArea*,CUtlMemory<CNavArea*,int>>::~CUtlVector,
TerrorNavArea::gm_wanderingPopulationRequests,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)ClearAllAttributes,"wipe_attributes",TerrorEditClearAllAttributes,
"Clear all attributes of selected area.",0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,ClearAllAttributes,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)ClearAttribute,"clear_attribute",TerrorEditClearAttribute,
"Remove given attribute from all areas in the selected set.",0x4000,
(int_____char_const__char *)AttributeAutocomplete);
__cxa_atexit(ConCommand::~ConCommand,ClearAttribute,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)MarkAttribute,"mark",TerrorEditMarkAttribute,
"Set attribute of selected area.",0x4000,
(int_____char_const__char *)AttributeAutocomplete);
__cxa_atexit(ConCommand::~ConCommand,MarkAttribute,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)SelectInvalidFinaleNoSpawn,"select_invalid_finale_nospawn",
TerrorEditSelectInvalidFinaleNoSpawn,
"Selects all FINALE_NOSPAWN areas that aren\'t also FINALE.",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,SelectInvalidFinaleNoSpawn,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)SelectWithAttribute,"select_with_attribute",TerrorEditSelectWithAttribute
,"Selects areas with the given attribute.",0x4000,
(int_____char_const__char *)AttributeAutocomplete);
__cxa_atexit(ConCommand::~ConCommand,SelectWithAttribute,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)SelectCliff,"select_cliff",TerrorEditSelectCliff,
"Selects all NAV_MESH_CLIFF areas.",0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,SelectCliff,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)MeasureTravelDistance,"travel_distance",TerrorMeasureTravelDistance,
"Build the shortest path from the previously marked area to the currently selected one and print the length of that path."
,0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,MeasureTravelDistance,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)current_flow_distance,"current_flow_distance",current_flow_distance_f,
"Reports the flow distance for the local player",0x4000,(int_____char_const__char *)0x0
);
__cxa_atexit(ConCommand::~ConCommand,current_flow_distance,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_recompute_flow,"nav_recompute_flow",TerrorEditRecomputeFlow,
"Recomputes flow distance",0x4004,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_recompute_flow,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_fix_playerclips,"nav_fix_playerclips",TerrorFixPlayerclips,
"Fixup nodes marked with NAV_PLAYERCLIP.",0x4004,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_fix_playerclips,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_fog_set,"nav_fog_set",TerrorEditUseFog,
"If used without arguments, all available Fog values will be listed. If a Fog argument is given, the current Fog is set."
,0x4004,(int_____char_const__char *)FogNameAutocompleteCallback);
__cxa_atexit(ConCommand::~ConCommand,nav_fog_set,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_fog_mark,"nav_fog_mark",TerrorEditSetFog,
"Sets fog value for selected areas.",0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_fog_mark,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_fog_pick,"nav_fog_pick",CommandNavFogPick,
"Sets fog value for selected areas.",0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_fog_pick,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_test_visibility,"nav_test_visibility",CommandNavTestVisibility,
"Tests visibility from the selected area to the one under the cursor.",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_test_visibility,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_select_completely_visible,"nav_select_completely_visible",
CommandNavSelectCompletelyVisible,
"Selects all areas completely visible to the selected area.",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_select_completely_visible,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_select_partially_visible,"nav_select_partially_visible",
CommandNavSelectParitallyVisible,
"Selects all areas at least partially visible to the selected area.",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_select_partially_visible,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_select_view_distance_command,"nav_select_view_distance",
nav_select_view_distance,"Selects all areas within nav_max_view_distance.",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_select_view_distance_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_select_threat,"nav_select_threat",CommandNavSelectThreat,
"Selects all threat areas",0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_select_threat,&__dso_handle);
g_TerrorNavArea_ScriptDesc._0_4_ = 0;
g_TerrorNavArea_ScriptDesc._4_4_ = 0;
g_TerrorNavArea_ScriptDesc._8_4_ = 0;
g_TerrorNavArea_ScriptDesc._12_4_ = 0;
g_TerrorNavArea_ScriptDesc._16_4_ = 0;
g_TerrorNavArea_ScriptDesc._20_4_ = 0;
g_TerrorNavArea_ScriptDesc._24_4_ = 0;
g_TerrorNavArea_ScriptDesc._28_4_ = 0;
g_TerrorNavArea_ScriptDesc._32_4_ = 0;
g_TerrorNavArea_ScriptDesc._36_4_ = 0;
g_TerrorNavArea_ScriptDesc._40_4_ = 0;
g_TerrorNavArea_ScriptDesc._44_4_ = 0;
__cxa_atexit(ScriptClassDesc_t::~ScriptClassDesc_t,g_TerrorNavArea_ScriptDesc,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_select_visible_set_size_command,"nav_select_visible_set_size",
nav_select_visible_set_size,"Selects all areas with visible sets this size or greater."
,0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_select_visible_set_size_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_print_visible_set_counts_command,"nav_print_visible_set_counts",
nav_print_visible_set_counts,"Outputs the sizes of the visible sets",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_print_visible_set_counts_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_print_visibility_info_command,"nav_print_visibility_info",
nav_print_visibility_info,"Dumps some visibility-related data to the console.",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_print_visibility_info_command,&__dso_handle);
CFuncNavAttributeRegion_DataDescInit::g_DataMapHolder =
DataMapInit<CFuncNavAttributeRegion>((CFuncNavAttributeRegion *)0x0);
CEntityFactory<CFuncNavAttributeRegion>::CEntityFactory
((CEntityFactory<CFuncNavAttributeRegion> *)&func_nav_attribute_region,
"func_nav_attribute_region");
CEntityFactory<CFuncNavAttributeRegion>::CEntityFactory
((CEntityFactory<CFuncNavAttributeRegion> *)&point_nav_attribute_region,
"point_nav_attribute_region");
CScriptNavAttributeRegion_DataDescInit::g_DataMapHolder =
DataMapInit<CScriptNavAttributeRegion>((CScriptNavAttributeRegion *)0x0);
script_nav_attribute_region = &PTR_Create_00d11cd8;
puVar1 = (undefined4 *)EntityFactoryDictionary();
(**(code **)*puVar1)(puVar1,&script_nav_attribute_region,"script_nav_attribute_region");
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.