Update for 37-13

Update for NWNEE 37-13.  Updated NWNxEE.  Full compile.
This commit is contained in:
Jaysyn904
2025-01-09 12:55:50 -05:00
parent f8835e0b32
commit 49e8177b4e
519 changed files with 5007 additions and 6378 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(name);
if (tag0_value != "" && tag0_tag != "")
{
NWNX_PushArgumentString(tag0_value);
NWNX_PushArgumentString(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);
}