EgtExecutor 1.6g3 :

- correzione controlli in ExeCreateGeoFrame
- ExeInitGeomDB rinominata ExeInitContext
- aggiunta ExeDeleteContext
- migliorato log di ExeExit
- aggiunta possibilità di leggere e scrivere variabili LUA_Base.cpp
- aggiunta possibilità di chiamare funzioni Lua.
This commit is contained in:
Dario Sassi
2015-07-14 15:48:55 +00:00
parent d070901ce0
commit c5fdfea88c
27 changed files with 673 additions and 524 deletions
+14 -14
View File
@@ -41,9 +41,9 @@ LuaCreateGroup( lua_State* L)
int nId = ExeCreateGroup( nParentId, frFrame, nRefType) ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}
@@ -63,9 +63,9 @@ LuaCreateGeoPoint( lua_State* L)
int nId = ExeCreateGeoPoint( nParentId, ptP, nRefType) ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}
@@ -89,9 +89,9 @@ LuaCreateGeoVector( lua_State* L)
int nId = ExeCreateGeoVector( nParentId, vtV, ptB, nRefType) ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}
@@ -111,9 +111,9 @@ LuaCreateGeoFrame( lua_State* L)
int nId = ExeCreateGeoFrame( nParentId, frFrame, nRefType) ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}
@@ -139,9 +139,9 @@ LuaCreateText( lua_State* L)
int nId = ExeCreateText( nParentId, ptP, dAngRotDeg, sText, dH, nRefType) ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}
@@ -175,9 +175,9 @@ LuaCreateTextEx( lua_State* L)
int nId = ExeCreateTextEx( nParentId, ptP, vtN, vtD, sText, sFont, bItalic, dH, nRefType) ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}
@@ -220,9 +220,9 @@ LuaCreateTextAdv( lua_State* L)
sText, sFont, nW, bItalic, dH, dRat, dAddAdv, nInsPos, nRefType) ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}