Update for NWNEE 37-13

Update for NWNEE 37-13.  Updated NWNxEE.  Full compile.
This commit is contained in:
Jaysyn904
2025-01-09 12:57:08 -05:00
parent 45ef9219e5
commit 9136ca2948
367 changed files with 5006 additions and 6378 deletions

View File

@@ -2,7 +2,6 @@
/// @brief Allows users to execute arbitrary Ruby from the game.
/// @{
/// @file nwnx_ruby.nss
#include "nwnx"
const string NWNX_Ruby = "NWNX_Ruby"; ///< @private
@@ -13,11 +12,9 @@ string NWNX_Ruby_Evaluate(string sCode);
/// @return The output of the call.
string NWNX_Ruby_Evaluate(string sCode)
{
string sFunc = "Evaluate";
NWNX_PushArgumentString(sCode);
NWNX_CallFunction(NWNX_Ruby, sFunc);
return NWNX_GetReturnValueString();
NWNXPushString(sCode);
NWNXCall(NWNX_Ruby, "Evaluate");
return NWNXPopString();
}
/// @}