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

@@ -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();
}
/// @}