* add lua_socket module

This commit is contained in:
YuLei Liao 2011-11-23 12:24:14 +08:00
parent 151b373239
commit 44b5e55876
1 changed files with 3 additions and 2 deletions

View File

@ -29,12 +29,12 @@ THE SOFTWARE.
extern "C" { extern "C" {
#include "lualib.h" #include "lualib.h"
#include "lauxlib.h" #include "lauxlib.h"
#include "lualoadexts.h"
} }
#include "LuaSimpleAudioEngine.h"
#include "LuaCocos2d.h" #include "LuaCocos2d.h"
#include "LuaSimpleAudioEngine.h"
#include "LuaGameInterfaces.h" #include "LuaGameInterfaces.h"
#include "cocos2d.h"
using namespace cocos2d; using namespace cocos2d;
@ -49,6 +49,7 @@ LuaEngine::LuaEngine()
tolua_SimpleAudioEngine_open(m_state); tolua_SimpleAudioEngine_open(m_state);
tolua_prepare_ccobject_table(m_state); tolua_prepare_ccobject_table(m_state);
tolua_LuaGameInterfaces_open(m_state); tolua_LuaGameInterfaces_open(m_state);
luax_initpreload(m_state);
} }
LuaEngine::~LuaEngine() LuaEngine::~LuaEngine()