mirror of https://github.com/axmolengine/axmol.git
refactor lua support
This commit is contained in:
parent
141dac47d3
commit
6988964a6e
|
@ -31,7 +31,7 @@ AppDelegate::~AppDelegate()
|
||||||
{
|
{
|
||||||
// end simple audio engine here, or it may crashed on win32
|
// end simple audio engine here, or it may crashed on win32
|
||||||
SimpleAudioEngine::sharedEngine()->end();
|
SimpleAudioEngine::sharedEngine()->end();
|
||||||
CCScriptEngineManager::purgeSharedManager();
|
//CCScriptEngineManager::purgeSharedManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AppDelegate::initInstance()
|
bool AppDelegate::initInstance()
|
||||||
|
|
|
@ -205,11 +205,11 @@
|
||||||
Name="cocos2dx_support"
|
Name="cocos2dx_support"
|
||||||
>
|
>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\lua\cocos2dx_support\Cocos2dxLuaLoader.cpp"
|
RelativePath="..\..\lua\cocos2dx_support\CCLuaEngine.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\lua\cocos2dx_support\Cocos2dxLuaLoader.h"
|
RelativePath="..\..\lua\cocos2dx_support\CCLuaEngine.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
|
@ -221,31 +221,19 @@
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\lua\cocos2dx_support\LuaEngine.cpp"
|
RelativePath="..\..\lua\cocos2dx_support\tolua_fix.c"
|
||||||
>
|
>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\lua\cocos2dx_support\LuaEngine.h"
|
RelativePath="..\..\lua\cocos2dx_support\tolua_fix.h"
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\lua\cocos2dx_support\LuaEngineImpl.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\lua\cocos2dx_support\LuaEngineImpl.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
</Filter>
|
|
||||||
<Filter
|
|
||||||
Name="CocosDenshion_support"
|
|
||||||
>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\lua\CocosDenshion_support\LuaSimpleAudioEngine.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\lua\CocosDenshion_support\LuaSimpleAudioEngine.h"
|
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|
|
@ -336,10 +336,6 @@
|
||||||
RelativePath="..\lua\lua.h"
|
RelativePath="..\lua\lua.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="..\lua\luac.c"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath="..\lua\luaconf.h"
|
RelativePath="..\lua\luaconf.h"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue