52 RegisterLunaClasses();
81 void moScriptManager::RegisterLunaClasses()
83 lua_State *state = (lua_State *)
m_vm;
88 lua_setglobal( state ,
"ConsoleDataPath" );
91 lua_setglobal( state ,
"MoldeoAppPath" );
109 lua_State *state = (lua_State *)
m_vm;
111 if (p_pResourceManager) {
112 m_pLuaResourceManager->Set( p_pResourceManager );
115 if (m_pLuaResourceManager) {
118 return m_pLuaResourceManager;
moResourceManager * GetResourceManager()
void SetName(const moText &p_name)
static moLuaVirtualMachine & GetVM(void)
#define REGISTER_CLASS(ClassName, LuaState)
void SetResourceType(moResourceType p_restype)
static moLuaDebugger m_dbg
static T * createFromExisting(lua_State *L, T *existingobj)
moResourceManager * m_pResourceManager
Puntero al administrador de recursos.
Dispositivo de entrada/salida, típicamente, interfaces humanas de IO y datos ( teclado, mouse, tableta, tcp, udp, serial )
moLuaResourceManager * PushLuaResourceManager(moResourceManager *p_pResourceManager=NULL)
Administrador de recursos.
void SetLabelName(const moText &p_labelname)
virtual MOboolean Finish()
moDataManager * GetDataMan()
static moLuaVirtualMachine m_vm
static moLuaDebugger & GetDBG(void)
void SetType(moMoldeoObjectType p_type)