refactor lua support

This commit is contained in:
minggo 2012-02-09 18:12:45 +08:00
parent 141dac47d3
commit 6988964a6e
3 changed files with 13 additions and 29 deletions

View File

@ -31,7 +31,7 @@ AppDelegate::~AppDelegate()
{
// end simple audio engine here, or it may crashed on win32
SimpleAudioEngine::sharedEngine()->end();
CCScriptEngineManager::purgeSharedManager();
//CCScriptEngineManager::purgeSharedManager();
}
bool AppDelegate::initInstance()

View File

@ -205,11 +205,11 @@
Name="cocos2dx_support"
>
<File
RelativePath="..\..\lua\cocos2dx_support\Cocos2dxLuaLoader.cpp"
RelativePath="..\..\lua\cocos2dx_support\CCLuaEngine.cpp"
>
</File>
<File
RelativePath="..\..\lua\cocos2dx_support\Cocos2dxLuaLoader.h"
RelativePath="..\..\lua\cocos2dx_support\CCLuaEngine.h"
>
</File>
<File
@ -221,31 +221,19 @@
>
</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
RelativePath="..\..\lua\cocos2dx_support\LuaEngine.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"
RelativePath="..\..\lua\cocos2dx_support\tolua_fix.h"
>
</File>
</Filter>

View File

@ -336,10 +336,6 @@
RelativePath="..\lua\lua.h"
>
</File>
<File
RelativePath="..\lua\luac.c"
>
</File>
<File
RelativePath="..\lua\luaconf.h"
>