Updated for NWNEE 37-13

Updated for NWNEE 37-13.  Updated NWNxEE.  Full compile. Updated release archive.
This commit is contained in:
Jaysyn904
2025-01-10 20:29:31 -05:00
parent a8639499df
commit 82994dfc26
447 changed files with 10620 additions and 6020 deletions

View File

@@ -3,7 +3,6 @@
/// @remark These functions are for advanced users.
/// @{
/// @file nwnx_profiler.nss
#include "nwnx"
const string NWNX_Profiler = "NWNX_Profiler"; ///< @private
@@ -39,22 +38,17 @@ void NWNX_Profiler_PopPerfScope();
void NWNX_Profiler_PushPerfScope(string name, string tag0_tag = "", string tag0_value = "")
{
string sFunc = "PushPerfScope";
NWNX_PushArgumentString(NWNX_Profiler, sFunc, name);
if (tag0_value != "" && tag0_tag != "")
{
NWNX_PushArgumentString(NWNX_Profiler, sFunc, tag0_value);
NWNX_PushArgumentString(NWNX_Profiler, sFunc, tag0_tag);
NWNXPushString(tag0_value);
NWNXPushString(tag0_tag);
}
NWNX_CallFunction(NWNX_Profiler, sFunc);
NWNXPushString(name);
NWNXCall(NWNX_Profiler, "PushPerfScope");
}
void NWNX_Profiler_PopPerfScope()
{
string sFunc = "PopPerfScope";
NWNXCall(NWNX_Profiler, "PopPerfScope");
}
NWNX_CallFunction(NWNX_Profiler, sFunc);
}