_GLOBAL__sub_I_nav_slope_limit
0x003a69e0 · 1107 bytes · unknown
Decompiled
undefined (0 params)
void _GLOBAL__sub_I_nav_slope_limit(void)
{
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 *)nav_slope_limit,"nav_slope_limit","0.7",0x4000,
"The ground unit normal\'s Z component must be greater than this for nav areas to be generated."
);
__cxa_atexit(ConVar::~ConVar,nav_slope_limit,&__dso_handle);
ConVar::ConVar((ConVar *)nav_slope_tolerance,"nav_slope_tolerance","0.1",0x4000,
"The ground unit normal\'s Z component must be this close to the nav area\'s Z component to be generated."
);
__cxa_atexit(ConVar::~ConVar,nav_slope_tolerance,&__dso_handle);
ConVar::ConVar((ConVar *)nav_displacement_test,"nav_displacement_test","10000",0x4000,
"Checks for nodes embedded in displacements (useful for in-development maps)");
__cxa_atexit(ConVar::~ConVar,nav_displacement_test,&__dso_handle);
ConVar::ConVar((ConVar *)nav_generate_fencetops,"nav_generate_fencetops","1",0x4000,
"Autogenerate nav areas on fence and obstacle tops");
__cxa_atexit(ConVar::~ConVar,nav_generate_fencetops,&__dso_handle);
ConVar::ConVar((ConVar *)nav_generate_fixup_jump_areas,"nav_generate_fixup_jump_areas","1",0x4000,
"Convert obsolete jump areas into 2-way connections");
__cxa_atexit(ConVar::~ConVar,nav_generate_fixup_jump_areas,&__dso_handle);
ConVar::ConVar((ConVar *)nav_generate_incremental_range,"nav_generate_incremental_range","2000",
0x4000);
__cxa_atexit(ConVar::~ConVar,nav_generate_incremental_range,&__dso_handle);
ConVar::ConVar((ConVar *)nav_generate_incremental_tolerance,"nav_generate_incremental_tolerance",
"0",0x4000,"Z tolerance for adding new nav areas.");
__cxa_atexit(ConVar::~ConVar,nav_generate_incremental_tolerance,&__dso_handle);
ConVar::ConVar((ConVar *)nav_area_max_size,"nav_area_max_size","50",0x4000,
"Max area size created in nav generation");
__cxa_atexit(ConVar::~ConVar,nav_area_max_size,&__dso_handle);
DAT_00fe6bb4 = 0;
NavTraceMins = 0xbee66666;
DAT_00fe6bb0 = 0xbee66666;
NavTraceMaxs = 0x3ee66666;
DAT_00fe6ba4 = 0x3ee66666;
DAT_00fe6ba8 = 0x425c0000;
ConCommand::ConCommand
((ConCommand *)nav_check_stairs,"nav_check_stairs",CommandNavCheckStairs,
"Update the nav mesh STAIRS attribute",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_check_stairs,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_test_stairs_command,"nav_test_stairs",nav_test_stairs,
"Test the selected set for being on stairs",0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_test_stairs_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_subdivide_command,"nav_subdivide",nav_subdivide,
"Subdivides all selected areas.",0x4004,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_subdivide_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_gen_cliffs_approx_command,"nav_gen_cliffs_approx",
nav_gen_cliffs_approx,"Mark cliff areas, post-processing approximation",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_gen_cliffs_approx_command,&__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.