add float in script engine

This commit is contained in:
xmaple555 2026-07-20 15:03:45 +08:00
parent aa2b0ff7f6
commit ec5fe7cc8a
27 changed files with 2824 additions and 914 deletions

View file

@ -346,6 +346,7 @@ ScriptEngineEvalWrapper(PGUEST_REGS GuestRegs,
string Expr)
{
SCRIPT_ENGINE_GENERAL_REGISTERS ScriptGeneralRegisters = {0};
g_CurrentExprEvalResultHasError = FALSE;
//
// Allocate global variables holder
@ -477,6 +478,7 @@ ScriptEngineEvalWrapper(PGUEST_REGS GuestRegs,
else
{
ShowMessages("%s\n", CodeBuffer->Message);
g_CurrentExprEvalResultHasError = TRUE;
}
RemoveSymbolBuffer(CodeBuffer);