EgtInterface 1.6c6 :
- utilizzato gestore lua di EgtGeneral.
This commit is contained in:
+14
-17
@@ -13,12 +13,13 @@
|
||||
|
||||
//--------------------------- Include ----------------------------------------
|
||||
#include "stdafx.h"
|
||||
#include "LUA.h"
|
||||
#include "API.h"
|
||||
#include "LUA.h"
|
||||
#include "LUA_Base.h"
|
||||
#include "LUA_Aux.h"
|
||||
#include "/EgtDev/Include/EInAPI.h"
|
||||
#include "/EgtDev/Include/EInConst.h"
|
||||
#include "/EgtDev/Include/EgnStringUtils.h"
|
||||
#include "/EgtDev/Extern/Lua/Include/lua.hpp"
|
||||
|
||||
using namespace std ;
|
||||
|
||||
@@ -156,20 +157,16 @@ LuaSplitText( lua_State* L)
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
bool
|
||||
LuaInstallGdbModify( lua_State* L)
|
||||
LuaInstallGdbModify( void)
|
||||
{
|
||||
try {
|
||||
lua_register( L, "EgtChangeGroupFrame", LuaChangeGroupFrame) ;
|
||||
lua_register( L, "EgtChangeVectorBase", LuaChangeVectorBase) ;
|
||||
lua_register( L, "EgtModifyText", LuaModifyText) ;
|
||||
lua_register( L, "EgtChangeTextFont", LuaChangeTextFont) ;
|
||||
lua_register( L, "EgtFlipText", LuaFlipText) ;
|
||||
lua_register( L, "EgtMirrorText", LuaMirrorText) ;
|
||||
lua_register( L, "EgtExplodeText", LuaExplodeText) ;
|
||||
lua_register( L, "EgtSplitText", LuaSplitText) ;
|
||||
}
|
||||
catch ( ...) {
|
||||
return false ;
|
||||
}
|
||||
return true ;
|
||||
bool bOk = true ;
|
||||
bOk = bOk && LuaRegisterFunction( "EgtChangeGroupFrame", LuaChangeGroupFrame) ;
|
||||
bOk = bOk && LuaRegisterFunction( "EgtChangeVectorBase", LuaChangeVectorBase) ;
|
||||
bOk = bOk && LuaRegisterFunction( "EgtModifyText", LuaModifyText) ;
|
||||
bOk = bOk && LuaRegisterFunction( "EgtChangeTextFont", LuaChangeTextFont) ;
|
||||
bOk = bOk && LuaRegisterFunction( "EgtFlipText", LuaFlipText) ;
|
||||
bOk = bOk && LuaRegisterFunction( "EgtMirrorText", LuaMirrorText) ;
|
||||
bOk = bOk && LuaRegisterFunction( "EgtExplodeText", LuaExplodeText) ;
|
||||
bOk = bOk && LuaRegisterFunction( "EgtSplitText", LuaSplitText) ;
|
||||
return bOk ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user