From 3b004424db43b6bf851c74be5521c10b02618cd4 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 13 Jun 2017 07:28:23 +0000 Subject: [PATCH] Include : - aggiornamento prototipi. --- EInAPI.h | 4 ++++ EXeExecutor.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/EInAPI.h b/EInAPI.h index ee2e75f..e386971 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -109,10 +109,14 @@ EIN_EXPORT BOOL __stdcall EgtLuaSetGlobBoolVar( const wchar_t* wsVar, BOOL bVal) EIN_EXPORT BOOL __stdcall EgtLuaSetGlobIntVar( const wchar_t* wsVar, int nVal) ; EIN_EXPORT BOOL __stdcall EgtLuaSetGlobNumVar( const wchar_t* wsVar, double dVal) ; EIN_EXPORT BOOL __stdcall EgtLuaSetGlobStringVar( const wchar_t* wsVar, const wchar_t* wsVal) ; +EIN_EXPORT BOOL __stdcall EgtLuaSetGlobVectorVar( const wchar_t* wsVar, const double vtVal[3]) ; +EIN_EXPORT BOOL __stdcall EgtLuaSetGlobPointVar( const wchar_t* wsVar, const double ptVal[3]) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobBoolVar( const wchar_t* wsVar, BOOL* pbVal) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobIntVar( const wchar_t* wsVar, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobNumVar( const wchar_t* wsVar, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtLuaGetGlobStringVar( const wchar_t* wsVar, wchar_t*& wsVal) ; +EIN_EXPORT BOOL __stdcall EgtLuaGetGlobVectorVar( const wchar_t* wsVar, double vtVal[3]) ; +EIN_EXPORT BOOL __stdcall EgtLuaGetGlobPointVar( const wchar_t* wsVar, double ptVal[3]) ; EIN_EXPORT BOOL __stdcall EgtLuaResetGlobVar( const wchar_t* wsVar) ; EIN_EXPORT BOOL __stdcall EgtLuaCallFunction( const wchar_t* wsFun) ; EIN_EXPORT BOOL __stdcall EgtLuaEvalNumExpr( const wchar_t* wsExpr, double* pdVal) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 88111de..20bba02 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -113,10 +113,14 @@ EXE_EXPORT bool ExeLuaSetGlobBoolVar( const std::string& sVar, bool bVal) ; EXE_EXPORT bool ExeLuaSetGlobIntVar( const std::string& sVar, int nVal) ; EXE_EXPORT bool ExeLuaSetGlobNumVar( const std::string& sVar, double dVal) ; EXE_EXPORT bool ExeLuaSetGlobStringVar( const std::string& sVar, const std::string& sVal) ; +EXE_EXPORT bool ExeLuaSetGlobVectorVar( const std::string& sVar, const Vector3d& vtVal) ; +EXE_EXPORT bool ExeLuaSetGlobPointVar( const std::string& sVar, const Point3d& ptVal) ; EXE_EXPORT bool ExeLuaGetGlobBoolVar( const std::string& sVar, bool* pbVal) ; EXE_EXPORT bool ExeLuaGetGlobIntVar( const std::string& sVar, int* pnVal) ; EXE_EXPORT bool ExeLuaGetGlobNumVar( const std::string& sVar, double* pdVal) ; EXE_EXPORT bool ExeLuaGetGlobStringVar( const std::string& sVar, std::string& sVal) ; +EXE_EXPORT bool ExeLuaGetGlobVectorVar( const std::string& sVar, Vector3d& vtVal) ; +EXE_EXPORT bool ExeLuaGetGlobPointVar( const std::string& sVar, Point3d& ptVal) ; EXE_EXPORT bool ExeLuaResetGlobVar( const std::string& sVar) ; EXE_EXPORT bool ExeLuaCallFunction( const std::string& sFun) ; EXE_EXPORT bool ExeLuaEvalNumExpr( const std::string& sExpr, double* pdVal) ;