From 6988964a6ef6aa3992d82ffdafa877ba407d1210 Mon Sep 17 00:00:00 2001 From: minggo Date: Thu, 9 Feb 2012 18:12:45 +0800 Subject: [PATCH] refactor lua support --- HelloLua/Classes/AppDelegate.cpp | 2 +- HelloLua/win32/HelloLua.win32.vcproj | 36 ++++++++++------------------ lua/proj.win32/liblua.vcproj | 4 ---- 3 files changed, 13 insertions(+), 29 deletions(-) diff --git a/HelloLua/Classes/AppDelegate.cpp b/HelloLua/Classes/AppDelegate.cpp index 31a12c7595..9e0d92e3dd 100644 --- a/HelloLua/Classes/AppDelegate.cpp +++ b/HelloLua/Classes/AppDelegate.cpp @@ -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() diff --git a/HelloLua/win32/HelloLua.win32.vcproj b/HelloLua/win32/HelloLua.win32.vcproj index c7118e5ebe..057c0de1a9 100644 --- a/HelloLua/win32/HelloLua.win32.vcproj +++ b/HelloLua/win32/HelloLua.win32.vcproj @@ -205,11 +205,11 @@ Name="cocos2dx_support" > + + + - - - - - - - - - - diff --git a/lua/proj.win32/liblua.vcproj b/lua/proj.win32/liblua.vcproj index 077df1b941..08898e3c93 100644 --- a/lua/proj.win32/liblua.vcproj +++ b/lua/proj.win32/liblua.vcproj @@ -336,10 +336,6 @@ RelativePath="..\lua\lua.h" > - -