EgtInterface 1.5i5 :

- aggiunto interprete Lua
- portate in interfaccia API molte funzioni di base.
This commit is contained in:
Dario Sassi
2014-10-07 07:04:28 +00:00
parent 6735c79753
commit 50b2d271ac
31 changed files with 5816 additions and 42 deletions
+10 -2
View File
@@ -14,6 +14,7 @@
//--------------------------- Include ----------------------------------------
#include "stdafx.h"
#include "API.h"
#include "LUA.h"
#include "/EgtDev/Include/EInAPI.h"
#include "/EgtDev/Include/EInDllMain.h"
#include "/EgtDev/Include/EGkDllMain.h"
@@ -64,6 +65,9 @@ __stdcall EgtInit( int nDebug, const wchar_t* sLogFile)
LOG_INFO( s_pLogGen, GetEExVersion())
LOG_INFO( s_pLogGen, GetEGrVersion())
// inizializzo l'interprete LUA
LuaInit() ;
return TRUE ;
}
@@ -71,11 +75,15 @@ __stdcall EgtInit( int nDebug, const wchar_t* sLogFile)
BOOL
__stdcall EgtExit( void)
{
// cancello tutti i contesti
ClearAllGseContexts() ;
// termino l'interprete LUA
LuaExit() ;
// fine programma
LOG_DATETIME( s_pLogGen, " Exit")
// cancello tutti i contesti
ClearAllGseContexts() ;
// cancello il logger
if ( s_pLogGen != nullptr) {
delete s_pLogGen ;