Updated for NWNEE 37-13

Updated for NWNEE 37-13.  Updated NWNxEE scripts.  CODI Core AI tweaks.  Added Diamond Golem AI.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-01-10 19:01:12 -05:00
parent 37c79b6d57
commit ce72b8d120
685 changed files with 6642 additions and 7699 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);
}