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
+16 -16
View File
@@ -31,7 +31,7 @@ LuaSelectObj( lua_State* L)
// eseguo la selezione
bool bOk = ExeSelectObj( nId) ;
// restituisco il risultato
LuaSetReturn( L, bOk) ;
LuaSetParam( L, bOk) ;
return 1 ;
}
@@ -46,7 +46,7 @@ LuaDeselectObj( lua_State* L)
// eseguo la selezione
bool bOk = ExeDeselectObj( nId) ;
// restituisco il risultato
LuaSetReturn( L, bOk) ;
LuaSetParam( L, bOk) ;
return 1 ;
}
@@ -61,7 +61,7 @@ LuaSelectAll( lua_State* L)
// eseguo la selezione
bool bOk = ExeSelectAll( bOnlyIfVisible) ;
// restituisco il risultato
LuaSetReturn( L, bOk) ;
LuaSetParam( L, bOk) ;
return 1 ;
}
@@ -74,7 +74,7 @@ LuaDeselectAll( lua_State* L)
// eseguo la selezione
bool bOk = ExeDeselectAll() ;
// restituisco il risultato
LuaSetReturn( L, bOk) ;
LuaSetParam( L, bOk) ;
return 1 ;
}
@@ -89,7 +89,7 @@ LuaSelectGroupObjs( lua_State* L)
// eseguo la selezione
bool bOk = ExeSelectGroupObjs( GroupId) ;
// restituisco il risultato
LuaSetReturn( L, bOk) ;
LuaSetParam( L, bOk) ;
return 1 ;
}
@@ -104,7 +104,7 @@ LuaDeselectGroupObjs( lua_State* L)
// eseguo la deselezione
bool bOk = ExeDeselectGroupObjs( GroupId) ;
// restituisco il risultato
LuaSetReturn( L, bOk) ;
LuaSetParam( L, bOk) ;
return 1 ;
}
@@ -119,7 +119,7 @@ LuaIsSelectedObj( lua_State* L)
// eseguo la selezione
bool bOk = ExeIsSelectedObj( nId) ;
// restituisco il risultato
LuaSetReturn( L, bOk) ;
LuaSetParam( L, bOk) ;
return 1 ;
}
@@ -132,7 +132,7 @@ LuaGetSelectedObjNbr( lua_State* L)
// eseguo la selezione
int nNbr = ExeGetSelectedObjNbr() ;
// restituisco il risultato
LuaSetReturn( L, nNbr) ;
LuaSetParam( L, nNbr) ;
return 1 ;
}
@@ -146,9 +146,9 @@ LuaGetFirstSelectedObj( lua_State* L)
int nId = ExeGetFirstSelectedObj() ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}
@@ -162,9 +162,9 @@ LuaGetNextSelectedObj( lua_State* L)
int nId = ExeGetNextSelectedObj() ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}
@@ -178,9 +178,9 @@ LuaGetLastSelectedObj( lua_State* L)
int nId = ExeGetLastSelectedObj() ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}
@@ -194,9 +194,9 @@ LuaGetPrevSelectedObj( lua_State* L)
int nId = ExeGetPrevSelectedObj() ;
// restituisco il risultato
if ( nId != GDB_ID_NULL)
LuaSetReturn( L, nId) ;
LuaSetParam( L, nId) ;
else
LuaSetReturn( L) ;
LuaSetParam( L) ;
return 1 ;
}