_GLOBAL__sub_I_nav_show_area_info
0x003a60d0 · 1237 bytes · unknown
Decompiled
undefined (0 params)
void _GLOBAL__sub_I_nav_show_area_info(void)
{
vec2_origin._0_4_ = 0;
vec2_invalid._0_4_ = 0x7f7fffff;
vec2_invalid._4_4_ = 0x7f7fffff;
vec4_invalid._0_4_ = 0x7f7fffff;
vec4_invalid._4_4_ = 0x7f7fffff;
vec4_invalid._8_4_ = 0x7f7fffff;
vec4_invalid._12_4_ = 0x7f7fffff;
vec2_origin._4_4_ = 0;
vec4_origin._0_4_ = 0;
vec4_origin._4_4_ = 0;
vec4_origin._8_4_ = 0;
vec4_origin._12_4_ = 0;
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_show_area_info,"nav_show_area_info","0.5",0x4080,
"Duration in seconds to show nav area ID and attributes while editing. (-1 = never hide)"
);
__cxa_atexit(ConVar::~ConVar,nav_show_area_info,&__dso_handle);
ConVar::ConVar((ConVar *)nav_snap_to_grid,"nav_snap_to_grid","0",0x4000,
"Snap to the nav generation grid when creating new nav areas");
__cxa_atexit(ConVar::~ConVar,nav_snap_to_grid,&__dso_handle);
ConVar::ConVar((ConVar *)nav_create_place_on_ground,"nav_create_place_on_ground","0",0x4000,
"If true, nav areas will be placed flush with the ground when created by hand.");
__cxa_atexit(ConVar::~ConVar,nav_create_place_on_ground,&__dso_handle);
ConVar::ConVar((ConVar *)nav_draw_limit,"nav_draw_limit","500",0x4000,
"The maximum number of areas to draw in edit mode");
__cxa_atexit(ConVar::~ConVar,nav_draw_limit,&__dso_handle);
ConVar::ConVar((ConVar *)nav_solid_props,"nav_solid_props","0",0x4000,
"Make props solid to nav generation/editing");
__cxa_atexit(ConVar::~ConVar,nav_solid_props,&__dso_handle);
ConVar::ConVar((ConVar *)nav_create_area_at_feet,"nav_create_area_at_feet","0",0x4000,
"Anchor nav_begin_area Z to editing player\'s feet");
__cxa_atexit(ConVar::~ConVar,nav_create_area_at_feet,&__dso_handle);
ConVar::ConVar((ConVar *)nav_drag_selection_volume_zmax_offset,
"nav_drag_selection_volume_zmax_offset","32",0x2000,
"The offset of the nav drag volume top from center");
__cxa_atexit(ConVar::~ConVar,nav_drag_selection_volume_zmax_offset,&__dso_handle);
ConVar::ConVar((ConVar *)nav_drag_selection_volume_zmin_offset,
"nav_drag_selection_volume_zmin_offset","32",0x2000,
"The offset of the nav drag volume bottom from center");
__cxa_atexit(ConVar::~ConVar,nav_drag_selection_volume_zmin_offset,&__dso_handle);
ConVar::ConVar((ConVar *)nav_max_auto_area_size,"nav_max_auto_area_size","16384",0x4000,
"Max size in x/y of any auto-generated nav area");
__cxa_atexit(ConVar::~ConVar,nav_max_auto_area_size,&__dso_handle);
EditNav_PrecachePrecache::s_ResourcePrecacher._12_4_ = DAT_0105b164;
s_dragSelectionSetAddColor._0_1_ = 100;
s_dragSelectionSetAddColor._1_1_ = 0xff;
s_dragSelectionSetAddColor._2_1_ = 100;
s_dragSelectionSetAddColor._3_1_ = 0x60;
s_dragSelectionSetDeleteColor._0_1_ = 0xff;
s_dragSelectionSetDeleteColor._1_1_ = 100;
s_dragSelectionSetDeleteColor._2_1_ = 100;
s_dragSelectionSetDeleteColor._3_1_ = 0x60;
EditNav_PrecachePrecache::s_ResourcePrecacher._4_4_ = 1;
EditNav_PrecachePrecache::s_ResourcePrecacher._8_4_ = s_EditNav_Precache_00ca2194;
DAT_0105b164 = EditNav_PrecachePrecache::s_ResourcePrecacher;
EditNav_PrecachePrecache::s_ResourcePrecacher._0_4_ = &PTR_Cache_00ca28e8;
ConVar::ConVar((ConVar *)nav_show_compass,"nav_show_compass","0",0x4000);
__cxa_atexit(ConVar::~ConVar,nav_show_compass,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_shift_command,"nav_shift",nav_shift,
"Shifts the selected areas by the specified amount",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_shift_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)nav_world_center,"nav_world_center",CommandNavCenterInWorld,
"Centers the nav mesh in the world",0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_world_center,&__dso_handle);
g_vAutoFloorProbe._0_4_ = 0;
g_vAutoFloorProbe._4_4_ = 0;
g_vAutoFloorProbe._8_4_ = 0x40800000;
ConCommand::ConCommand
((ConCommand *)nav_select_radius_command,"nav_select_radius",nav_select_radius,
"Adds all areas in a radius to the selection set",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,nav_select_radius_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.