Merge branch 'develop' into newRenderer

This commit is contained in:
Nite Luo 2013-11-15 11:33:38 -08:00
commit c5f9434331
67 changed files with 796 additions and 1444 deletions

View File

@ -1 +1 @@
fc62a687ea195f7070f35f85160a6c8361e63e08 caa0d8bbee812b409469990c2fd4b9e7987be705

View File

@ -136,7 +136,7 @@ FontFreeType::~FontFreeType()
} }
if (_ttfData) if (_ttfData)
{ {
delete _ttfData; free(_ttfData);
_ttfData = nullptr; _ttfData = nullptr;
} }
} }

View File

@ -396,7 +396,7 @@ bool ParticleSystem::initWithDictionary(Dictionary *dictionary, const std::strin
CCASSERT( buffer != NULL, "CCParticleSystem: error decoding textureImageData"); CCASSERT( buffer != NULL, "CCParticleSystem: error decoding textureImageData");
CC_BREAK_IF(!buffer); CC_BREAK_IF(!buffer);
int deflatedLen = ZipUtils::ccInflateMemory(buffer, decodeLen, &deflated); int deflatedLen = ZipUtils::inflateMemory(buffer, decodeLen, &deflated);
CCASSERT( deflated != NULL, "CCParticleSystem: error ungzipping textureImageData"); CCASSERT( deflated != NULL, "CCParticleSystem: error ungzipping textureImageData");
CC_BREAK_IF(!deflated); CC_BREAK_IF(!deflated);
@ -420,8 +420,8 @@ bool ParticleSystem::initWithDictionary(Dictionary *dictionary, const std::strin
bRet = true; bRet = true;
} }
} while (0); } while (0);
CC_SAFE_DELETE_ARRAY(buffer); free(buffer);
CC_SAFE_DELETE_ARRAY(deflated); free(deflated);
return bRet; return bRet;
} }

View File

@ -66,7 +66,7 @@ TMXLayerInfo::~TMXLayerInfo()
CC_SAFE_RELEASE(_properties); CC_SAFE_RELEASE(_properties);
if( _ownTiles && _tiles ) if( _ownTiles && _tiles )
{ {
delete [] _tiles; free(_tiles);
_tiles = NULL; _tiles = NULL;
} }
} }
@ -757,12 +757,12 @@ void TMXMapInfo::endElement(void *ctx, const char *name)
// int sizeHint = s.width * s.height * sizeof(uint32_t); // int sizeHint = s.width * s.height * sizeof(uint32_t);
int sizeHint = (int)(s.width * s.height * sizeof(unsigned int)); int sizeHint = (int)(s.width * s.height * sizeof(unsigned int));
int inflatedLen = ZipUtils::ccInflateMemoryWithHint(buffer, len, &deflated, sizeHint); int inflatedLen = ZipUtils::inflateMemoryWithHint(buffer, len, &deflated, sizeHint);
CCASSERT(inflatedLen == sizeHint, ""); CCASSERT(inflatedLen == sizeHint, "");
inflatedLen = (size_t)&inflatedLen; // XXX: to avoid warnings in compiler inflatedLen = (size_t)&inflatedLen; // XXX: to avoid warnings in compiler
delete [] buffer; free(buffer);
buffer = NULL; buffer = NULL;
if( ! deflated ) if( ! deflated )

View File

@ -622,7 +622,7 @@ void VolatileTextureMgr::reloadAllTextures()
Texture2D::setDefaultAlphaPixelFormat(oldPixelFormat); Texture2D::setDefaultAlphaPixelFormat(oldPixelFormat);
} }
CC_SAFE_DELETE_ARRAY(pBuffer); free(pBuffer);
CC_SAFE_RELEASE(image); CC_SAFE_RELEASE(image);
} }
break; break;

View File

@ -59,7 +59,7 @@ static tinyxml2::XMLElement* getXMLNodeForKey(const char* pKey, tinyxml2::XMLEle
*doc = xmlDoc; *doc = xmlDoc;
//CCFileData data(UserDefault::getInstance()->getXMLFilePath().c_str(),"rt"); //CCFileData data(UserDefault::getInstance()->getXMLFilePath().c_str(),"rt");
long nSize; long nSize;
const char* pXmlBuffer = (const char*)FileUtils::getInstance()->getFileData(UserDefault::getInstance()->getXMLFilePath().c_str(), "rb", &nSize); char* pXmlBuffer = (char*)FileUtils::getInstance()->getFileData(UserDefault::getInstance()->getXMLFilePath().c_str(), "rb", &nSize);
//const char* pXmlBuffer = (const char*)data.getBuffer(); //const char* pXmlBuffer = (const char*)data.getBuffer();
if(NULL == pXmlBuffer) if(NULL == pXmlBuffer)
{ {
@ -67,7 +67,7 @@ static tinyxml2::XMLElement* getXMLNodeForKey(const char* pKey, tinyxml2::XMLEle
break; break;
} }
xmlDoc->Parse(pXmlBuffer, nSize); xmlDoc->Parse(pXmlBuffer, nSize);
delete[] pXmlBuffer; free(pXmlBuffer);
// get root node // get root node
*rootNode = xmlDoc->RootElement(); *rootNode = xmlDoc->RootElement();
if (NULL == *rootNode) if (NULL == *rootNode)
@ -323,7 +323,7 @@ Data* UserDefault::getDataForKey(const char* pKey, Data* defaultValue)
if (decodedData) { if (decodedData) {
ret = Data::create(decodedData, decodedDataLen); ret = Data::create(decodedData, decodedDataLen);
delete decodedData; free(decodedData);
} }
} }
@ -408,7 +408,8 @@ void UserDefault::setDataForKey(const char* pKey, const Data& value) {
setValueForKey(pKey, encodedData); setValueForKey(pKey, encodedData);
if (encodedData) delete encodedData; if (encodedData)
free(encodedData);
} }
UserDefault* UserDefault::getInstance() UserDefault* UserDefault::getInstance()

View File

@ -74,7 +74,7 @@ static tinyxml2::XMLElement* getXMLNodeForKey(const char* pKey, tinyxml2::XMLDoc
tinyxml2::XMLDocument* xmlDoc = new tinyxml2::XMLDocument(); tinyxml2::XMLDocument* xmlDoc = new tinyxml2::XMLDocument();
*doc = xmlDoc; *doc = xmlDoc;
long size; long size;
const char* pXmlBuffer = (const char*)FileUtils::getInstance()->getFileData(UserDefault::getInstance()->getXMLFilePath().c_str(), "rb", &size); char* pXmlBuffer = (char*)FileUtils::getInstance()->getFileData(UserDefault::getInstance()->getXMLFilePath().c_str(), "rb", &size);
//const char* pXmlBuffer = (const char*)data.getBuffer(); //const char* pXmlBuffer = (const char*)data.getBuffer();
if(NULL == pXmlBuffer) if(NULL == pXmlBuffer)
{ {
@ -82,7 +82,7 @@ static tinyxml2::XMLElement* getXMLNodeForKey(const char* pKey, tinyxml2::XMLDoc
break; break;
} }
xmlDoc->Parse(pXmlBuffer); xmlDoc->Parse(pXmlBuffer);
delete[] pXmlBuffer; free(pXmlBuffer);
// get root node // get root node
rootNode = xmlDoc->RootElement(); rootNode = xmlDoc->RootElement();
if (NULL == rootNode) if (NULL == rootNode)
@ -394,7 +394,7 @@ Data* UserDefault::getDataForKey(const char* pKey, Data* defaultValue)
// set value in NSUserDefaults // set value in NSUserDefaults
setDataForKey(pKey, ret); setDataForKey(pKey, ret);
delete decodedData; free(decodedData);
flush(); flush();

View File

@ -75,7 +75,7 @@ static tinyxml2::XMLElement* getXMLNodeForKey(const char* pKey, tinyxml2::XMLDoc
tinyxml2::XMLDocument* xmlDoc = new tinyxml2::XMLDocument(); tinyxml2::XMLDocument* xmlDoc = new tinyxml2::XMLDocument();
*doc = xmlDoc; *doc = xmlDoc;
long size; long size;
const char* pXmlBuffer = (const char*)FileUtils::getInstance()->getFileData(UserDefault::getInstance()->getXMLFilePath().c_str(), "rb", &size); char* pXmlBuffer = (char*)FileUtils::getInstance()->getFileData(UserDefault::getInstance()->getXMLFilePath().c_str(), "rb", &size);
//const char* pXmlBuffer = (const char*)data.getBuffer(); //const char* pXmlBuffer = (const char*)data.getBuffer();
if(NULL == pXmlBuffer) if(NULL == pXmlBuffer)
{ {
@ -83,7 +83,7 @@ static tinyxml2::XMLElement* getXMLNodeForKey(const char* pKey, tinyxml2::XMLDoc
break; break;
} }
xmlDoc->Parse(pXmlBuffer); xmlDoc->Parse(pXmlBuffer);
delete[] pXmlBuffer; free(pXmlBuffer);
// get root node // get root node
rootNode = xmlDoc->RootElement(); rootNode = xmlDoc->RootElement();
if (NULL == rootNode) if (NULL == rootNode)
@ -367,10 +367,7 @@ Data* UserDefault::getDataForKey(const char* pKey, Data* defaultValue)
// set value in NSUserDefaults // set value in NSUserDefaults
setDataForKey(pKey, ret); setDataForKey(pKey, ret);
CC_SAFE_DELETE_ARRAY(decodedData); free(decodedData);
delete decodedData;
flush(); flush();
// delete xmle node // delete xmle node
@ -392,9 +389,8 @@ Data* UserDefault::getDataForKey(const char* pKey, Data* defaultValue)
string encodedStr = getStringForKeyJNI(pKey, encodedDefaultData); string encodedStr = getStringForKeyJNI(pKey, encodedDefaultData);
if (encodedDefaultData) { if (encodedDefaultData)
delete encodedDefaultData; free(encodedDefaultData);
}
CCLOG("ENCODED STRING: --%s--%d", encodedStr.c_str(), encodedStr.length()); CCLOG("ENCODED STRING: --%s--%d", encodedStr.c_str(), encodedStr.length());
@ -408,6 +404,7 @@ Data* UserDefault::getDataForKey(const char* pKey, Data* defaultValue)
if (decodedData && decodedDataLen) { if (decodedData && decodedDataLen) {
ret = Data::create(decodedData, decodedDataLen); ret = Data::create(decodedData, decodedDataLen);
free(decodedData);
} }
CCLOG("RETURNED %p!", ret); CCLOG("RETURNED %p!", ret);
@ -475,9 +472,8 @@ void UserDefault::setDataForKey(const char* pKey, const Data& value)
return setStringForKeyJNI(pKey, encodedData); return setStringForKeyJNI(pKey, encodedData);
if (encodedData) { if (encodedData)
delete encodedData; free(encodedData);
}
} }
// XXX: deprecated // XXX: deprecated

View File

@ -270,7 +270,7 @@ tImageTGA * tgaLoad(const char *filename)
} }
} while(0); } while(0);
CC_SAFE_DELETE_ARRAY(pBuffer); free(pBuffer);
return info; return info;
} }

View File

@ -39,7 +39,7 @@ bool ZipUtils::s_bEncryptionKeyIsValid = false;
// --------------------- ZipUtils --------------------- // --------------------- ZipUtils ---------------------
inline void ZipUtils::ccDecodeEncodedPvr(unsigned int *data, long len) inline void ZipUtils::decodeEncodedPvr(unsigned int *data, long len)
{ {
const int enclen = 1024; const int enclen = 1024;
const int securelen = 512; const int securelen = 512;
@ -47,10 +47,10 @@ inline void ZipUtils::ccDecodeEncodedPvr(unsigned int *data, long len)
// check if key was set // check if key was set
// make sure to call caw_setkey_part() for all 4 key parts // make sure to call caw_setkey_part() for all 4 key parts
CCASSERT(s_uEncryptedPvrKeyParts[0] != 0, "Cocos2D: CCZ file is encrypted but key part 0 is not set. Did you call ZipUtils::ccSetPvrEncryptionKeyPart(...)?"); CCASSERT(s_uEncryptedPvrKeyParts[0] != 0, "Cocos2D: CCZ file is encrypted but key part 0 is not set. Did you call ZipUtils::setPvrEncryptionKeyPart(...)?");
CCASSERT(s_uEncryptedPvrKeyParts[1] != 0, "Cocos2D: CCZ file is encrypted but key part 1 is not set. Did you call ZipUtils::ccSetPvrEncryptionKeyPart(...)?"); CCASSERT(s_uEncryptedPvrKeyParts[1] != 0, "Cocos2D: CCZ file is encrypted but key part 1 is not set. Did you call ZipUtils::setPvrEncryptionKeyPart(...)?");
CCASSERT(s_uEncryptedPvrKeyParts[2] != 0, "Cocos2D: CCZ file is encrypted but key part 2 is not set. Did you call ZipUtils::ccSetPvrEncryptionKeyPart(...)?"); CCASSERT(s_uEncryptedPvrKeyParts[2] != 0, "Cocos2D: CCZ file is encrypted but key part 2 is not set. Did you call ZipUtils::setPvrEncryptionKeyPart(...)?");
CCASSERT(s_uEncryptedPvrKeyParts[3] != 0, "Cocos2D: CCZ file is encrypted but key part 3 is not set. Did you call ZipUtils::ccSetPvrEncryptionKeyPart(...)?"); CCASSERT(s_uEncryptedPvrKeyParts[3] != 0, "Cocos2D: CCZ file is encrypted but key part 3 is not set. Did you call ZipUtils::setPvrEncryptionKeyPart(...)?");
// create long key // create long key
if(!s_bEncryptionKeyIsValid) if(!s_bEncryptionKeyIsValid)
@ -108,7 +108,7 @@ inline void ZipUtils::ccDecodeEncodedPvr(unsigned int *data, long len)
} }
} }
inline unsigned int ZipUtils::ccChecksumPvr(const unsigned int *data, long len) inline unsigned int ZipUtils::checksumPvr(const unsigned int *data, long len)
{ {
unsigned int cs = 0; unsigned int cs = 0;
const int cslen = 128; const int cslen = 128;
@ -127,13 +127,13 @@ inline unsigned int ZipUtils::ccChecksumPvr(const unsigned int *data, long len)
// Should buffer factor be 1.5 instead of 2 ? // Should buffer factor be 1.5 instead of 2 ?
#define BUFFER_INC_FACTOR (2) #define BUFFER_INC_FACTOR (2)
int ZipUtils::ccInflateMemoryWithHint(unsigned char *in, long inLength, unsigned char **out, long *outLength, long outLenghtHint) int ZipUtils::inflateMemoryWithHint(unsigned char *in, long inLength, unsigned char **out, long *outLength, long outLenghtHint)
{ {
/* ret value */ /* ret value */
int err = Z_OK; int err = Z_OK;
long bufferSize = outLenghtHint; long bufferSize = outLenghtHint;
*out = new unsigned char[bufferSize]; *out = (unsigned char*)malloc(bufferSize);
z_stream d_stream; /* decompression stream */ z_stream d_stream; /* decompression stream */
d_stream.zalloc = (alloc_func)0; d_stream.zalloc = (alloc_func)0;
@ -192,10 +192,10 @@ int ZipUtils::ccInflateMemoryWithHint(unsigned char *in, long inLength, unsigned
return err; return err;
} }
int ZipUtils::ccInflateMemoryWithHint(unsigned char *in, long inLength, unsigned char **out, long outLengthHint) int ZipUtils::inflateMemoryWithHint(unsigned char *in, long inLength, unsigned char **out, long outLengthHint)
{ {
long outLength = 0; long outLength = 0;
int err = ccInflateMemoryWithHint(in, inLength, out, &outLength, outLengthHint); int err = inflateMemoryWithHint(in, inLength, out, &outLength, outLengthHint);
if (err != Z_OK || *out == NULL) { if (err != Z_OK || *out == NULL) {
if (err == Z_MEM_ERROR) if (err == Z_MEM_ERROR)
@ -215,21 +215,23 @@ int ZipUtils::ccInflateMemoryWithHint(unsigned char *in, long inLength, unsigned
CCLOG("cocos2d: ZipUtils: Unknown error while decompressing map data!"); CCLOG("cocos2d: ZipUtils: Unknown error while decompressing map data!");
} }
delete[] *out; if(*out) {
free(*out);
*out = NULL; *out = NULL;
}
outLength = 0; outLength = 0;
} }
return outLength; return outLength;
} }
int ZipUtils::ccInflateMemory(unsigned char *in, long inLength, unsigned char **out) int ZipUtils::inflateMemory(unsigned char *in, long inLength, unsigned char **out)
{ {
// 256k for hint // 256k for hint
return ccInflateMemoryWithHint(in, inLength, out, 256 * 1024); return inflateMemoryWithHint(in, inLength, out, 256 * 1024);
} }
int ZipUtils::ccInflateGZipFile(const char *path, unsigned char **out) int ZipUtils::inflateGZipFile(const char *path, unsigned char **out)
{ {
int len; int len;
unsigned int offset = 0; unsigned int offset = 0;
@ -299,7 +301,7 @@ int ZipUtils::ccInflateGZipFile(const char *path, unsigned char **out)
return offset; return offset;
} }
bool ZipUtils::ccIsCCZFile(const char *path) bool ZipUtils::isCCZFile(const char *path)
{ {
// load file into memory // load file into memory
unsigned char* compressed = NULL; unsigned char* compressed = NULL;
@ -307,16 +309,19 @@ bool ZipUtils::ccIsCCZFile(const char *path)
long fileLen = 0; long fileLen = 0;
compressed = FileUtils::getInstance()->getFileData(path, "rb", &fileLen); compressed = FileUtils::getInstance()->getFileData(path, "rb", &fileLen);
if(NULL == compressed || 0 == fileLen) if(compressed == NULL || fileLen == 0)
{ {
CCLOG("cocos2d: ZipUtils: loading file failed"); CCLOG("cocos2d: ZipUtils: loading file failed");
return false; return false;
} }
return ccIsCCZBuffer(compressed, fileLen); bool ret = isCCZBuffer(compressed, fileLen);
free(compressed);
return ret;
} }
bool ZipUtils::ccIsCCZBuffer(const unsigned char *buffer, long len) bool ZipUtils::isCCZBuffer(const unsigned char *buffer, long len)
{ {
if (static_cast<size_t>(len) < sizeof(struct CCZHeader)) if (static_cast<size_t>(len) < sizeof(struct CCZHeader))
{ {
@ -328,7 +333,7 @@ bool ZipUtils::ccIsCCZBuffer(const unsigned char *buffer, long len)
} }
bool ZipUtils::ccIsGZipFile(const char *path) bool ZipUtils::isGZipFile(const char *path)
{ {
// load file into memory // load file into memory
unsigned char* compressed = NULL; unsigned char* compressed = NULL;
@ -342,10 +347,12 @@ bool ZipUtils::ccIsGZipFile(const char *path)
return false; return false;
} }
return ccIsGZipBuffer(compressed, fileLen); bool ret = isGZipBuffer(compressed, fileLen);
free(compressed);
return ret;
} }
bool ZipUtils::ccIsGZipBuffer(const unsigned char *buffer, long len) bool ZipUtils::isGZipBuffer(const unsigned char *buffer, long len)
{ {
if (len < 2) if (len < 2)
{ {
@ -356,7 +363,7 @@ bool ZipUtils::ccIsGZipBuffer(const unsigned char *buffer, long len)
} }
int ZipUtils::ccInflateCCZBuffer(const unsigned char *buffer, long bufferLen, unsigned char **out) int ZipUtils::inflateCCZBuffer(const unsigned char *buffer, long bufferLen, unsigned char **out)
{ {
struct CCZHeader *header = (struct CCZHeader*) buffer; struct CCZHeader *header = (struct CCZHeader*) buffer;
@ -402,11 +409,11 @@ int ZipUtils::ccInflateCCZBuffer(const unsigned char *buffer, long bufferLen, un
unsigned int* ints = (unsigned int*)(buffer+12); unsigned int* ints = (unsigned int*)(buffer+12);
int enclen = (bufferLen-12)/4; int enclen = (bufferLen-12)/4;
ccDecodeEncodedPvr(ints, enclen); decodeEncodedPvr(ints, enclen);
#if COCOS2D_DEBUG > 0 #if COCOS2D_DEBUG > 0
// verify checksum in debug mode // verify checksum in debug mode
unsigned int calculated = ccChecksumPvr(ints, enclen); unsigned int calculated = checksumPvr(ints, enclen);
unsigned int required = CC_SWAP_INT32_BIG_TO_HOST( header->reserved ); unsigned int required = CC_SWAP_INT32_BIG_TO_HOST( header->reserved );
if(calculated != required) if(calculated != required)
@ -446,7 +453,7 @@ int ZipUtils::ccInflateCCZBuffer(const unsigned char *buffer, long bufferLen, un
return len; return len;
} }
int ZipUtils::ccInflateCCZFile(const char *path, unsigned char **out) int ZipUtils::inflateCCZFile(const char *path, unsigned char **out)
{ {
CCAssert(out, ""); CCAssert(out, "");
CCAssert(&*out, ""); CCAssert(&*out, "");
@ -463,10 +470,12 @@ int ZipUtils::ccInflateCCZFile(const char *path, unsigned char **out)
return -1; return -1;
} }
return ccInflateCCZBuffer(compressed, fileLen, out); int ret = inflateCCZBuffer(compressed, fileLen, out);
free(compressed);
return ret;
} }
void ZipUtils::ccSetPvrEncryptionKeyPart(int index, unsigned int value) void ZipUtils::setPvrEncryptionKeyPart(int index, unsigned int value)
{ {
CCASSERT(index >= 0, "Cocos2d: key part index cannot be less than 0"); CCASSERT(index >= 0, "Cocos2d: key part index cannot be less than 0");
CCASSERT(index <= 3, "Cocos2d: key part index cannot be greater than 3"); CCASSERT(index <= 3, "Cocos2d: key part index cannot be greater than 3");
@ -478,12 +487,12 @@ void ZipUtils::ccSetPvrEncryptionKeyPart(int index, unsigned int value)
} }
} }
void ZipUtils::ccSetPvrEncryptionKey(unsigned int keyPart1, unsigned int keyPart2, unsigned int keyPart3, unsigned int keyPart4) void ZipUtils::setPvrEncryptionKey(unsigned int keyPart1, unsigned int keyPart2, unsigned int keyPart3, unsigned int keyPart4)
{ {
ccSetPvrEncryptionKeyPart(0, keyPart1); setPvrEncryptionKeyPart(0, keyPart1);
ccSetPvrEncryptionKeyPart(1, keyPart2); setPvrEncryptionKeyPart(1, keyPart2);
ccSetPvrEncryptionKeyPart(2, keyPart3); setPvrEncryptionKeyPart(2, keyPart3);
ccSetPvrEncryptionKeyPart(3, keyPart4); setPvrEncryptionKeyPart(3, keyPart4);
} }
// --------------------- ZipFile --------------------- // --------------------- ZipFile ---------------------
@ -582,13 +591,11 @@ bool ZipFile::fileExists(const std::string &fileName) const
return ret; return ret;
} }
unsigned char *ZipFile::getFileData(const std::string &fileName, long *pSize) unsigned char *ZipFile::getFileData(const std::string &fileName, long *size)
{ {
unsigned char * pBuffer = NULL; unsigned char * buffer = NULL;
if (pSize) if (size)
{ *size = 0;
*pSize = 0;
}
do do
{ {
@ -606,18 +613,18 @@ unsigned char *ZipFile::getFileData(const std::string &fileName, long *pSize)
nRet = unzOpenCurrentFile(_data->zipFile); nRet = unzOpenCurrentFile(_data->zipFile);
CC_BREAK_IF(UNZ_OK != nRet); CC_BREAK_IF(UNZ_OK != nRet);
pBuffer = new unsigned char[fileInfo.uncompressed_size]; buffer = (unsigned char*)malloc(fileInfo.uncompressed_size);
int CC_UNUSED nSize = unzReadCurrentFile(_data->zipFile, pBuffer, fileInfo.uncompressed_size); int CC_UNUSED nSize = unzReadCurrentFile(_data->zipFile, buffer, fileInfo.uncompressed_size);
CCASSERT(nSize == 0 || nSize == (int)fileInfo.uncompressed_size, "the file size is wrong"); CCASSERT(nSize == 0 || nSize == (int)fileInfo.uncompressed_size, "the file size is wrong");
if (pSize) if (size)
{ {
*pSize = fileInfo.uncompressed_size; *size = fileInfo.uncompressed_size;
} }
unzCloseCurrentFile(_data->zipFile); unzCloseCurrentFile(_data->zipFile);
} while (0); } while (0);
return pBuffer; return buffer;
} }
NS_CC_END NS_CC_END

View File

@ -27,6 +27,7 @@ THE SOFTWARE.
#include <string> #include <string>
#include "CCPlatformConfig.h" #include "CCPlatformConfig.h"
#include "CCPlatformDefine.h" #include "CCPlatformDefine.h"
#include "CCPlatformMacros.h"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#include "platform/android/CCFileUtilsAndroid.h" #include "platform/android/CCFileUtilsAndroid.h"
@ -64,7 +65,8 @@ namespace cocos2d
* *
@since v0.8.1 @since v0.8.1
*/ */
static int ccInflateMemory(unsigned char *in, long inLength, unsigned char **out); CC_DEPRECATED_ATTRIBUTE static int ccInflateMemory(unsigned char *in, long inLength, unsigned char **out) { return inflateMemory(in, inLength, out); }
static int inflateMemory(unsigned char *in, long inLength, unsigned char **out);
/** /**
* Inflates either zlib or gzip deflated memory. The inflated memory is * Inflates either zlib or gzip deflated memory. The inflated memory is
@ -76,7 +78,8 @@ namespace cocos2d
* *
@since v1.0.0 @since v1.0.0
*/ */
static int ccInflateMemoryWithHint(unsigned char *in, long inLength, unsigned char **out, long outLenghtHint); CC_DEPRECATED_ATTRIBUTE static int ccInflateMemoryWithHint(unsigned char *in, long inLength, unsigned char **out, long outLengthHint) { return inflateMemoryWithHint(in, inLength, out, outLengthHint); }
static int inflateMemoryWithHint(unsigned char *in, long inLength, unsigned char **out, long outLengthHint);
/** inflates a GZip file into memory /** inflates a GZip file into memory
* *
@ -84,7 +87,8 @@ namespace cocos2d
* *
* @since v0.99.5 * @since v0.99.5
*/ */
static int ccInflateGZipFile(const char *filename, unsigned char **out); CC_DEPRECATED_ATTRIBUTE static int ccInflateGZipFile(const char *filename, unsigned char **out) { return inflateGZipFile(filename, out); }
static int inflateGZipFile(const char *filename, unsigned char **out);
/** test a file is a GZip format file or not /** test a file is a GZip format file or not
* *
@ -92,7 +96,8 @@ namespace cocos2d
* *
* @since v3.0 * @since v3.0
*/ */
static bool ccIsGZipFile(const char *filename); CC_DEPRECATED_ATTRIBUTE static bool ccIsGZipFile(const char *filename) { return isGZipFile(filename); }
static bool isGZipFile(const char *filename);
/** test the buffer is GZip format or not /** test the buffer is GZip format or not
* *
@ -100,7 +105,8 @@ namespace cocos2d
* *
* @since v3.0 * @since v3.0
*/ */
static bool ccIsGZipBuffer(const unsigned char *buffer, long len); CC_DEPRECATED_ATTRIBUTE static bool ccIsGZipBuffer(const unsigned char *buffer, long len) { return isGZipBuffer(buffer, len); }
static bool isGZipBuffer(const unsigned char *buffer, long len);
/** inflates a CCZ file into memory /** inflates a CCZ file into memory
* *
@ -108,7 +114,8 @@ namespace cocos2d
* *
* @since v0.99.5 * @since v0.99.5
*/ */
static int ccInflateCCZFile(const char *filename, unsigned char **out); CC_DEPRECATED_ATTRIBUTE static int ccInflateCCZFile(const char *filename, unsigned char **out) { return inflateCCZFile(filename, out); }
static int inflateCCZFile(const char *filename, unsigned char **out);
/** inflates a buffer with CCZ format into memory /** inflates a buffer with CCZ format into memory
* *
@ -116,7 +123,8 @@ namespace cocos2d
* *
* @since v3.0 * @since v3.0
*/ */
static int ccInflateCCZBuffer(const unsigned char *buffer, long len, unsigned char **out); CC_DEPRECATED_ATTRIBUTE static int ccInflateCCZBuffer(const unsigned char *buffer, long len, unsigned char **out) { return inflateCCZBuffer(buffer, len, out); }
static int inflateCCZBuffer(const unsigned char *buffer, long len, unsigned char **out);
/** test a file is a CCZ format file or not /** test a file is a CCZ format file or not
* *
@ -124,7 +132,8 @@ namespace cocos2d
* *
* @since v3.0 * @since v3.0
*/ */
static bool ccIsCCZFile(const char *filename); CC_DEPRECATED_ATTRIBUTE static bool ccIsCCZFile(const char *filename) { return isCCZFile(filename); }
static bool isCCZFile(const char *filename);
/** test the buffer is CCZ format or not /** test the buffer is CCZ format or not
* *
@ -132,7 +141,8 @@ namespace cocos2d
* *
* @since v3.0 * @since v3.0
*/ */
static bool ccIsCCZBuffer(const unsigned char *buffer, long len); CC_DEPRECATED_ATTRIBUTE static bool ccIsCCZBuffer(const unsigned char *buffer, long len) { return isCCZBuffer(buffer, len); }
static bool isCCZBuffer(const unsigned char *buffer, long len);
/** Sets the pvr.ccz encryption key parts separately for added /** Sets the pvr.ccz encryption key parts separately for added
* security. * security.
@ -141,10 +151,10 @@ namespace cocos2d
* 0xaaaaaaaabbbbbbbbccccccccdddddddd you will call this function 4 * 0xaaaaaaaabbbbbbbbccccccccdddddddd you will call this function 4
* different times, preferably from 4 different source files, as follows * different times, preferably from 4 different source files, as follows
* *
* ZipUtils::ccSetPvrEncryptionKeyPart(0, 0xaaaaaaaa); * ZipUtils::setPvrEncryptionKeyPart(0, 0xaaaaaaaa);
* ZipUtils::ccSetPvrEncryptionKeyPart(1, 0xbbbbbbbb); * ZipUtils::setPvrEncryptionKeyPart(1, 0xbbbbbbbb);
* ZipUtils::ccSetPvrEncryptionKeyPart(2, 0xcccccccc); * ZipUtils::setPvrEncryptionKeyPart(2, 0xcccccccc);
* ZipUtils::ccSetPvrEncryptionKeyPart(3, 0xdddddddd); * ZipUtils::setPvrEncryptionKeyPart(3, 0xdddddddd);
* *
* Splitting the key into 4 parts and calling the function * Splitting the key into 4 parts and calling the function
* from 4 different source files increases the difficulty to * from 4 different source files increases the difficulty to
@ -152,15 +162,16 @@ namespace cocos2d
* is *never* 100% secure and the key code can be cracked by * is *never* 100% secure and the key code can be cracked by
* knowledgable persons. * knowledgable persons.
* *
* IMPORTANT: Be sure to call ccSetPvrEncryptionKey or * IMPORTANT: Be sure to call setPvrEncryptionKey or
* ccSetPvrEncryptionKeyPart with all of the key parts *before* loading * setPvrEncryptionKeyPart with all of the key parts *before* loading
* the spritesheet or decryption will fail and the spritesheet * the spritesheet or decryption will fail and the spritesheet
* will fail to load. * will fail to load.
* *
* @param index part of the key [0..3] * @param index part of the key [0..3]
* @param value value of the key part * @param value value of the key part
*/ */
static void ccSetPvrEncryptionKeyPart(int index, unsigned int value); CC_DEPRECATED_ATTRIBUTE static void ccSetPvrEncryptionKeyPart(int index, unsigned int value) { setPvrEncryptionKeyPart(index, value); }
static void setPvrEncryptionKeyPart(int index, unsigned int value);
/** Sets the pvr.ccz encryption key. /** Sets the pvr.ccz encryption key.
* *
@ -168,14 +179,14 @@ namespace cocos2d
* 0xaaaaaaaabbbbbbbbccccccccdddddddd you will call this function with * 0xaaaaaaaabbbbbbbbccccccccdddddddd you will call this function with
* the key split into 4 parts as follows * the key split into 4 parts as follows
* *
* ZipUtils::ccSetPvrEncryptionKey(0xaaaaaaaa, 0xbbbbbbbb, 0xcccccccc, 0xdddddddd); * ZipUtils::setPvrEncryptionKey(0xaaaaaaaa, 0xbbbbbbbb, 0xcccccccc, 0xdddddddd);
* *
* Note that using this function makes it easier to reverse engineer and * Note that using this function makes it easier to reverse engineer and
* discover the complete key because the key parts are present in one * discover the complete key because the key parts are present in one
* function call. * function call.
* *
* IMPORTANT: Be sure to call ccSetPvrEncryptionKey or * IMPORTANT: Be sure to call setPvrEncryptionKey or
* ccSetPvrEncryptionKeyPart with all of the key parts *before* loading * setPvrEncryptionKeyPart with all of the key parts *before* loading
* the spritesheet or decryption will fail and the spritesheet * the spritesheet or decryption will fail and the spritesheet
* will fail to load. * will fail to load.
* *
@ -184,13 +195,13 @@ namespace cocos2d
* @param keyPart3 the key value part 3. * @param keyPart3 the key value part 3.
* @param keyPart4 the key value part 4. * @param keyPart4 the key value part 4.
*/ */
static void ccSetPvrEncryptionKey(unsigned int keyPart1, unsigned int keyPart2, unsigned int keyPart3, unsigned int keyPart4); CC_DEPRECATED_ATTRIBUTE static void ccSetPvrEncryptionKey(unsigned int keyPart1, unsigned int keyPart2, unsigned int keyPart3, unsigned int keyPart4) { setPvrEncryptionKey(keyPart1, keyPart2, keyPart3, keyPart4); }
static void setPvrEncryptionKey(unsigned int keyPart1, unsigned int keyPart2, unsigned int keyPart3, unsigned int keyPart4);
private: private:
static int ccInflateMemoryWithHint(unsigned char *in, long inLength, unsigned char **out, long *outLength, static int inflateMemoryWithHint(unsigned char *in, long inLength, unsigned char **out, long *outLength, long outLenghtHint);
long outLenghtHint); static inline void decodeEncodedPvr (unsigned int *data, long len);
static inline void ccDecodeEncodedPvr (unsigned int *data, long len); static inline unsigned int checksumPvr(const unsigned int *data, long len);
static inline unsigned int ccChecksumPvr(const unsigned int *data, long len);
static unsigned int s_uEncryptedPvrKeyParts[4]; static unsigned int s_uEncryptedPvrKeyParts[4];
static unsigned int s_uEncryptionKey[1024]; static unsigned int s_uEncryptionKey[1024];
@ -249,7 +260,7 @@ namespace cocos2d
* @param fileName File name * @param fileName File name
* @param[out] pSize If the file read operation succeeds, it will be the data size, otherwise 0. * @param[out] pSize If the file read operation succeeds, it will be the data size, otherwise 0.
* @return Upon success, a pointer to the data is returned, otherwise NULL. * @return Upon success, a pointer to the data is returned, otherwise NULL.
* @warning Recall: you are responsible for calling delete[] on any Non-NULL pointer returned. * @warning Recall: you are responsible for calling free() on any Non-NULL pointer returned.
* *
* @since v2.0.5 * @since v2.0.5
*/ */

View File

@ -141,7 +141,7 @@ int base64Decode(const unsigned char *in, unsigned int inLength, unsigned char *
unsigned int outLength = 0; unsigned int outLength = 0;
//should be enough to store 6-bit buffers in 8-bit buffers //should be enough to store 6-bit buffers in 8-bit buffers
*out = new unsigned char[(size_t)(inLength * 3.0f / 4.0f + 1)]; *out = (unsigned char*)malloc(inLength * 3.0f / 4.0f + 1);
if( *out ) { if( *out ) {
int ret = _base64Decode(in, inLength, *out, &outLength); int ret = _base64Decode(in, inLength, *out, &outLength);
@ -150,7 +150,7 @@ int base64Decode(const unsigned char *in, unsigned int inLength, unsigned char *
#if (CC_TARGET_PLATFORM != CC_PLATFORM_BADA) #if (CC_TARGET_PLATFORM != CC_PLATFORM_BADA)
printf("Base64Utils: error decoding"); printf("Base64Utils: error decoding");
#endif #endif
delete [] *out; free(*out);
*out = NULL; *out = NULL;
outLength = 0; outLength = 0;
} }
@ -162,7 +162,7 @@ int base64Encode(const unsigned char *in, unsigned int inLength, char **out) {
unsigned int outLength = inLength * 4 / 3 + (inLength % 3 > 0 ? 4 : 0); unsigned int outLength = inLength * 4 / 3 + (inLength % 3 > 0 ? 4 : 0);
//should be enough to store 8-bit buffers in 6-bit buffers //should be enough to store 8-bit buffers in 6-bit buffers
*out = new char[outLength+1]; *out = (char*)malloc(outLength+1);
if( *out ) { if( *out ) {
_base64Encode(in, inLength, *out); _base64Encode(in, inLength, *out);
} }

View File

@ -37,7 +37,7 @@ namespace cocos2d {
/** /**
* Decodes a 64base encoded memory. The decoded memory is * Decodes a 64base encoded memory. The decoded memory is
* expected to be freed by the caller. * expected to be freed by the caller by calling `free()`
* *
* @returns the length of the out buffer * @returns the length of the out buffer
* *
@ -47,7 +47,7 @@ int base64Decode(const unsigned char *in, unsigned int inLength, unsigned char *
/** /**
* Encodes bytes into a 64base encoded memory with terminating '\0' character. * Encodes bytes into a 64base encoded memory with terminating '\0' character.
* The encoded memory is expected to be freed by the caller. * The encoded memory is expected to be freed by the caller by calling `free()`
* *
* @returns the length of the out buffer * @returns the length of the out buffer
* *

View File

@ -503,7 +503,7 @@ unsigned char* FileUtils::getFileData(const char* filename, const char* mode, lo
fseek(fp,0,SEEK_END); fseek(fp,0,SEEK_END);
*size = ftell(fp); *size = ftell(fp);
fseek(fp,0,SEEK_SET); fseek(fp,0,SEEK_SET);
buffer = new unsigned char[*size]; buffer = (unsigned char*)malloc(*size);
*size = fread(buffer,sizeof(unsigned char), *size,fp); *size = fread(buffer,sizeof(unsigned char), *size,fp);
fclose(fp); fclose(fp);
} while (0); } while (0);
@ -543,7 +543,7 @@ unsigned char* FileUtils::getFileDataFromZip(const char* zipFilePath, const char
nRet = unzOpenCurrentFile(pFile); nRet = unzOpenCurrentFile(pFile);
CC_BREAK_IF(UNZ_OK != nRet); CC_BREAK_IF(UNZ_OK != nRet);
buffer = new unsigned char[FileInfo.uncompressed_size]; buffer = (unsigned char*)malloc(FileInfo.uncompressed_size);
int CC_UNUSED nSize = unzReadCurrentFile(pFile, buffer, FileInfo.uncompressed_size); int CC_UNUSED nSize = unzReadCurrentFile(pFile, buffer, FileInfo.uncompressed_size);
CCASSERT(nSize == 0 || nSize == (int)FileInfo.uncompressed_size, "the file size is wrong"); CCASSERT(nSize == 0 || nSize == (int)FileInfo.uncompressed_size, "the file size is wrong");

View File

@ -86,7 +86,7 @@ public:
* @param[in] pszMode The read mode of the file. * @param[in] pszMode The read mode of the file.
* @param[out] pSize If the file read operation succeeds, it will be the data size, otherwise 0. * @param[out] pSize If the file read operation succeeds, it will be the data size, otherwise 0.
* @return Upon success, a pointer to the data is returned, otherwise NULL. * @return Upon success, a pointer to the data is returned, otherwise NULL.
* @warning Recall: you are responsible for calling delete[] on any Non-NULL pointer returned. * @warning Recall: you are responsible for calling free() on any Non-NULL pointer returned.
*/ */
virtual unsigned char* getFileData(const char* filename, const char* mode, long *size); virtual unsigned char* getFileData(const char* filename, const char* mode, long *size);
@ -96,7 +96,7 @@ public:
* @param[in] filename The resource file name which contains the relative path of the zip file. * @param[in] filename The resource file name which contains the relative path of the zip file.
* @param[out] size If the file read operation succeeds, it will be the data size, otherwise 0. * @param[out] size If the file read operation succeeds, it will be the data size, otherwise 0.
* @return Upon success, a pointer to the data is returned, otherwise NULL. * @return Upon success, a pointer to the data is returned, otherwise NULL.
* @warning Recall: you are responsible for calling delete[] on any Non-NULL pointer returned. * @warning Recall: you are responsible for calling free() on any Non-NULL pointer returned.
*/ */
virtual unsigned char* getFileDataFromZip(const char* zipFilePath, const char* filename, long *size); virtual unsigned char* getFileDataFromZip(const char* zipFilePath, const char* filename, long *size);

View File

@ -424,7 +424,7 @@ bool Image::initWithImageFile(const char * strPath)
bRet = initWithImageData(buffer, bufferLen); bRet = initWithImageData(buffer, bufferLen);
} }
CC_SAFE_DELETE_ARRAY(buffer); free(buffer);
#endif // EMSCRIPTEN #endif // EMSCRIPTEN
return bRet; return bRet;
@ -444,7 +444,7 @@ bool Image::initWithImageFileThreadSafe(const char *fullpath)
{ {
ret = initWithImageData(buffer, dataLen); ret = initWithImageData(buffer, dataLen);
} }
CC_SAFE_DELETE_ARRAY(buffer); free(buffer);
return ret; return ret;
} }
@ -460,13 +460,13 @@ bool Image::initWithImageData(const unsigned char * data, long dataLen)
int unpackedLen = 0; int unpackedLen = 0;
//detecgt and unzip the compress file //detecgt and unzip the compress file
if (ZipUtils::ccIsCCZBuffer(data, dataLen)) if (ZipUtils::isCCZBuffer(data, dataLen))
{ {
unpackedLen = ZipUtils::ccInflateCCZBuffer(data, dataLen, &unpackedData); unpackedLen = ZipUtils::inflateCCZBuffer(data, dataLen, &unpackedData);
} }
else if (ZipUtils::ccIsGZipBuffer(data, dataLen)) else if (ZipUtils::isGZipBuffer(data, dataLen))
{ {
unpackedLen = ZipUtils::ccInflateMemory(const_cast<unsigned char*>(data), dataLen, &unpackedData); unpackedLen = ZipUtils::inflateMemory(const_cast<unsigned char*>(data), dataLen, &unpackedData);
} }
else else
{ {

View File

@ -121,7 +121,7 @@ bool SAXParser::parse(const char *pszFile)
{ {
ret = parse(pBuffer, size); ret = parse(pBuffer, size);
} }
CC_SAFE_DELETE_ARRAY(pBuffer); free(pBuffer);
return ret; return ret;
} }

View File

@ -181,7 +181,7 @@ unsigned char* FileUtilsAndroid::doGetFileData(const char* filename, const char*
off_t fileSize = AAsset_getLength(asset); off_t fileSize = AAsset_getLength(asset);
data = new unsigned char[fileSize]; data = (unsigned char*) malloc(fileSize);
int bytesread = AAsset_read(asset, (void*)data, fileSize); int bytesread = AAsset_read(asset, (void*)data, fileSize);
if (size) if (size)
@ -204,7 +204,7 @@ unsigned char* FileUtilsAndroid::doGetFileData(const char* filename, const char*
fseek(fp,0,SEEK_END); fseek(fp,0,SEEK_END);
fileSize = ftell(fp); fileSize = ftell(fp);
fseek(fp,0,SEEK_SET); fseek(fp,0,SEEK_SET);
data = new unsigned char[fileSize]; data = (unsigned char*) malloc(fileSize);
fileSize = fread(data,sizeof(unsigned char), fileSize,fp); fileSize = fread(data,sizeof(unsigned char), fileSize,fp);
fclose(fp); fclose(fp);

View File

@ -139,7 +139,7 @@ unsigned char* FileUtilsWin32::getFileData(const char* filename, const char* mod
*size = ::GetFileSize(fileHandle, NULL); *size = ::GetFileSize(fileHandle, NULL);
pBuffer = new unsigned char[*size]; pBuffer = (unsigned char*) malloc(*size);
DWORD sizeRead = 0; DWORD sizeRead = 0;
BOOL successed = FALSE; BOOL successed = FALSE;
successed = ::ReadFile(fileHandle, pBuffer, *size, &sizeRead, NULL); successed = ::ReadFile(fileHandle, pBuffer, *size, &sizeRead, NULL);
@ -147,7 +147,7 @@ unsigned char* FileUtilsWin32::getFileData(const char* filename, const char* mod
if (!successed) if (!successed)
{ {
CC_SAFE_DELETE_ARRAY(pBuffer); free(pBuffer);
} }
} while (0); } while (0);

View File

@ -260,7 +260,7 @@ String* String::createWithContentsOfFile(const char* filename)
String* ret = NULL; String* ret = NULL;
data = FileUtils::getInstance()->getFileData(filename, "rb", &size); data = FileUtils::getInstance()->getFileData(filename, "rb", &size);
ret = String::createWithData(data, size); ret = String::createWithData(data, size);
CC_SAFE_DELETE_ARRAY(data); free(data);
return ret; return ret;
} }

View File

@ -248,7 +248,7 @@ Node* CCBReader::readNodeGraphFromFile(const char *pCCBFileName, Object *pOwner,
unsigned char * pBytes = FileUtils::getInstance()->getFileData(strPath.c_str(), "rb", &size); unsigned char * pBytes = FileUtils::getInstance()->getFileData(strPath.c_str(), "rb", &size);
Data *data = new Data(pBytes, size); Data *data = new Data(pBytes, size);
CC_SAFE_DELETE_ARRAY(pBytes); free(pBytes);
Node *ret = this->readNodeGraphFromData(data, pOwner, parentSize); Node *ret = this->readNodeGraphFromData(data, pOwner, parentSize);
@ -387,7 +387,7 @@ bool CCBReader::readHeader()
int magicBytes = *((int*)(this->_bytes + this->_currentByte)); int magicBytes = *((int*)(this->_bytes + this->_currentByte));
this->_currentByte += 4; this->_currentByte += 4;
if(CC_SWAP_INT32_LITTLE_TO_HOST(magicBytes) != (*reinterpret_cast<const int*>("ccbi"))) { if(CC_SWAP_INT32_BIG_TO_HOST(magicBytes) != (*reinterpret_cast<const int*>("ccbi"))) {
return false; return false;
} }

View File

@ -930,7 +930,7 @@ Node * NodeLoader::parsePropTypeCCBFile(Node * pNode, Node * pParent, CCBReader
reader->getAnimationManager()->setRootContainerSize(pParent->getContentSize()); reader->getAnimationManager()->setRootContainerSize(pParent->getContentSize());
Data *data = new Data(pBytes, size); Data *data = new Data(pBytes, size);
CC_SAFE_DELETE_ARRAY(pBytes); free(pBytes);
data->retain(); data->retain();
reader->_data = data; reader->_data = data;

View File

@ -297,7 +297,7 @@ void DataReaderHelper::addDataFromFile(const char *filePath)
long size; long size;
std::string fullPath = CCFileUtils::getInstance()->fullPathForFilename(filePath); std::string fullPath = CCFileUtils::getInstance()->fullPathForFilename(filePath);
const char *pFileContent = (char *)CCFileUtils::getInstance()->getFileData(fullPath.c_str() , "r", &size); char *pFileContent = (char *)CCFileUtils::getInstance()->getFileData(fullPath.c_str() , "r", &size);
DataInfo dataInfo; DataInfo dataInfo;
dataInfo.filename = filePathStr; dataInfo.filename = filePathStr;
@ -312,6 +312,7 @@ void DataReaderHelper::addDataFromFile(const char *filePath)
{ {
DataReaderHelper::addDataFromJsonCache(pFileContent, &dataInfo); DataReaderHelper::addDataFromJsonCache(pFileContent, &dataInfo);
} }
free(pFileContent);
} }
void DataReaderHelper::addDataFromFileAsync(const char *imagePath, const char *plistPath, const char *filePath, Object *target, SEL_SCHEDULE selector) void DataReaderHelper::addDataFromFileAsync(const char *imagePath, const char *plistPath, const char *filePath, Object *target, SEL_SCHEDULE selector)
@ -395,6 +396,8 @@ void DataReaderHelper::addDataFromFileAsync(const char *imagePath, const char *p
std::string fullPath = CCFileUtils::getInstance()->fullPathForFilename(filePath); std::string fullPath = CCFileUtils::getInstance()->fullPathForFilename(filePath);
long size; long size;
// XXX fileContent is being leaked
data->fileContent = (char *)CCFileUtils::getInstance()->getFileData(fullPath.c_str() , "r", &size); data->fileContent = (char *)CCFileUtils::getInstance()->getFileData(fullPath.c_str() , "r", &size);
if (str.compare(".xml") == 0) if (str.compare(".xml") == 0)

View File

@ -122,7 +122,7 @@ const cocos2d::Size GUIReader::getFileDesignSize(const char* fileName) const
UIWidget* GUIReader::widgetFromJsonFile(const char *fileName) UIWidget* GUIReader::widgetFromJsonFile(const char *fileName)
{ {
DictionaryHelper* dicHelper = DICTOOL; DictionaryHelper* dicHelper = DICTOOL;
const char *des = nullptr; char *des = nullptr;
std::string jsonpath; std::string jsonpath;
JsonDictionary *jsonDict = nullptr; JsonDictionary *jsonDict = nullptr;
jsonpath = CCFileUtils::getInstance()->fullPathForFilename(fileName); jsonpath = CCFileUtils::getInstance()->fullPathForFilename(fileName);
@ -164,7 +164,7 @@ UIWidget* GUIReader::widgetFromJsonFile(const char *fileName)
CC_SAFE_DELETE(pReader); CC_SAFE_DELETE(pReader);
CC_SAFE_DELETE(jsonDict); CC_SAFE_DELETE(jsonDict);
CC_SAFE_DELETE_ARRAY(des); free(des);
return widget; return widget;
} }

View File

@ -48,9 +48,10 @@ namespace cocostudio {
cocos2d::Node* SceneReader::createNodeWithSceneFile(const char* pszFileName) cocos2d::Node* SceneReader::createNodeWithSceneFile(const char* pszFileName)
{ {
long size = 0; long size = 0;
const char* pData = 0; char* pData = 0;
cocos2d::Node *pNode = nullptr; cocos2d::Node *pNode = nullptr;
do { do
{
CC_BREAK_IF(pszFileName == nullptr); CC_BREAK_IF(pszFileName == nullptr);
pData = (char*)(cocos2d::FileUtils::getInstance()->getFileData(pszFileName, "r", &size)); pData = (char*)(cocos2d::FileUtils::getInstance()->getFileData(pszFileName, "r", &size));
CC_BREAK_IF(pData == nullptr || strcmp(pData, "") == 0); CC_BREAK_IF(pData == nullptr || strcmp(pData, "") == 0);
@ -58,6 +59,7 @@ namespace cocostudio {
jsonDict->initWithDescription(pData); jsonDict->initWithDescription(pData);
pNode = createObject(jsonDict,nullptr); pNode = createObject(jsonDict,nullptr);
CC_SAFE_DELETE(jsonDict); CC_SAFE_DELETE(jsonDict);
free(pData);
} while (0); } while (0);
return pNode; return pNode;
@ -214,7 +216,7 @@ namespace cocostudio {
file_path = reDir.substr(0, pos+1); file_path = reDir.substr(0, pos+1);
} }
long size = 0; long size = 0;
const char *des = (char*)(cocos2d::FileUtils::getInstance()->getFileData(pPath.c_str(),"r" , &size)); char *des = (char*)(cocos2d::FileUtils::getInstance()->getFileData(pPath.c_str(),"r" , &size));
JsonDictionary *jsonDict = new JsonDictionary(); JsonDictionary *jsonDict = new JsonDictionary();
jsonDict->initWithDescription(des); jsonDict->initWithDescription(des);
if(nullptr == des || strcmp(des, "") == 0) if(nullptr == des || strcmp(des, "") == 0)
@ -261,7 +263,7 @@ namespace cocostudio {
CC_SAFE_DELETE(jsonDict); CC_SAFE_DELETE(jsonDict);
CC_SAFE_DELETE(subData); CC_SAFE_DELETE(subData);
CC_SAFE_DELETE_ARRAY(des); free(des);
} }
else if(comName != nullptr && strcmp(comName, "CCComAudio") == 0) else if(comName != nullptr && strcmp(comName, "CCComAudio") == 0)
{ {
@ -284,12 +286,13 @@ namespace cocostudio {
{ {
pAttribute = ComAttribute::create(); pAttribute = ComAttribute::create();
long size = 0; long size = 0;
const char* pData = 0; char* pData = 0;
pData = (char*)(cocos2d::FileUtils::getInstance()->getFileData(pPath.c_str(), "r", &size)); pData = (char*)(cocos2d::FileUtils::getInstance()->getFileData(pPath.c_str(), "r", &size));
if(pData != nullptr && strcmp(pData, "") != 0) if(pData != nullptr && strcmp(pData, "") != 0)
{ {
pAttribute->getDict()->initWithDescription(pData); pAttribute->getDict()->initWithDescription(pData);
} }
free(pData);
} }
else else
{ {

View File

@ -303,7 +303,7 @@ Atlas* Atlas_readAtlasFile (const char* path) {
data = _Util_readFile(path, &length); data = _Util_readFile(path, &length);
if (data) atlas = Atlas_readAtlas(data, length, dir); if (data) atlas = Atlas_readAtlas(data, length, dir);
delete [] data; FREE(data);
FREE(dir); FREE(dir);
return atlas; return atlas;
} }

View File

@ -240,7 +240,7 @@ SkeletonData* SkeletonJson_readSkeletonDataFile (SkeletonJson* self, const char*
return 0; return 0;
} }
skeletonData = SkeletonJson_readSkeletonData(self, json); skeletonData = SkeletonJson_readSkeletonData(self, json);
delete [] json; FREE(json);
return skeletonData; return skeletonData;
} }

View File

@ -813,9 +813,9 @@ void UILayout::doLayout()
} }
UIMargin relativeWidgetMargin; UIMargin relativeWidgetMargin;
UIMargin mg = layoutParameter->getMargin(); UIMargin mg = layoutParameter->getMargin();
if (relativeWidget) if (relativeWidgetLP)
{ {
relativeWidgetMargin = relativeWidget->getLayoutParameter(LAYOUT_PARAMETER_RELATIVE)->getMargin(); relativeWidgetMargin = relativeWidgetLP->getMargin();
} }
//handle margin //handle margin
switch (align) switch (align)
@ -853,28 +853,129 @@ void UILayout::doLayout()
break; break;
case RELATIVE_LOCATION_ABOVE_LEFTALIGN: case RELATIVE_LOCATION_ABOVE_LEFTALIGN:
case RELATIVE_LOCATION_ABOVE_CENTER: finalPosY += mg.bottom;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_CENTER_HORIZONTAL
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_LEFT
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_NONE
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_RIGHT)
{
finalPosY += relativeWidgetMargin.top;
}
finalPosX += mg.left;
break;
case RELATIVE_LOCATION_ABOVE_RIGHTALIGN: case RELATIVE_LOCATION_ABOVE_RIGHTALIGN:
finalPosY += mg.bottom; finalPosY += mg.bottom;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_CENTER_HORIZONTAL
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_LEFT
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_NONE
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_RIGHT)
{
finalPosY += relativeWidgetMargin.top; finalPosY += relativeWidgetMargin.top;
}
finalPosX -= mg.right;
break; break;
case RELATIVE_LOCATION_ABOVE_CENTER:
finalPosY += mg.bottom;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_CENTER_HORIZONTAL
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_LEFT
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_NONE
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_RIGHT)
{
finalPosY += relativeWidgetMargin.top;
}
break;
case RELATIVE_LOCATION_LEFT_OF_TOPALIGN: case RELATIVE_LOCATION_LEFT_OF_TOPALIGN:
case RELATIVE_LOCATION_LEFT_OF_CENTER: finalPosX -= mg.right;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_LEFT
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_NONE
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_LEFT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_LEFT_CENTER_VERTICAL)
{
finalPosX -= relativeWidgetMargin.left;
}
finalPosY -= mg.top;
break;
case RELATIVE_LOCATION_LEFT_OF_BOTTOMALIGN: case RELATIVE_LOCATION_LEFT_OF_BOTTOMALIGN:
finalPosX -= mg.right; finalPosX -= mg.right;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_LEFT
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_NONE
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_LEFT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_LEFT_CENTER_VERTICAL)
{
finalPosX -= relativeWidgetMargin.left; finalPosX -= relativeWidgetMargin.left;
}
finalPosY += mg.bottom;
break; break;
case RELATIVE_LOCATION_LEFT_OF_CENTER:
finalPosX -= mg.right;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_LEFT
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_NONE
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_LEFT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_LEFT_CENTER_VERTICAL)
{
finalPosX -= relativeWidgetMargin.left;
}
break;
case RELATIVE_LOCATION_RIGHT_OF_TOPALIGN: case RELATIVE_LOCATION_RIGHT_OF_TOPALIGN:
case RELATIVE_LOCATION_RIGHT_OF_CENTER: finalPosX += mg.left;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_RIGHT
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_RIGHT_CENTER_VERTICAL)
{
finalPosX += relativeWidgetMargin.right;
}
finalPosY -= mg.top;
break;
case RELATIVE_LOCATION_RIGHT_OF_BOTTOMALIGN: case RELATIVE_LOCATION_RIGHT_OF_BOTTOMALIGN:
finalPosX += mg.left; finalPosX += mg.left;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_RIGHT
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_RIGHT_CENTER_VERTICAL)
{
finalPosX += relativeWidgetMargin.right; finalPosX += relativeWidgetMargin.right;
}
finalPosY += mg.bottom;
break; break;
case RELATIVE_LOCATION_RIGHT_OF_CENTER:
finalPosX += mg.left;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_TOP_RIGHT
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_RIGHT_CENTER_VERTICAL)
{
finalPosX += relativeWidgetMargin.right;
}
break;
case RELATIVE_LOCATION_BELOW_LEFTALIGN: case RELATIVE_LOCATION_BELOW_LEFTALIGN:
case RELATIVE_LOCATION_BELOW_CENTER: finalPosY -= mg.top;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_LEFT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_BOTTOM_CENTER_HORIZONTAL)
{
finalPosY -= relativeWidgetMargin.bottom;
}
finalPosX += mg.left;
break;
case RELATIVE_LOCATION_BELOW_RIGHTALIGN: case RELATIVE_LOCATION_BELOW_RIGHTALIGN:
finalPosY -= mg.top; finalPosY -= mg.top;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_LEFT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_BOTTOM_CENTER_HORIZONTAL)
{
finalPosY -= relativeWidgetMargin.bottom; finalPosY -= relativeWidgetMargin.bottom;
}
finalPosX -= mg.right;
break;
case RELATIVE_LOCATION_BELOW_CENTER:
finalPosY -= mg.top;
if (relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_LEFT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM
&& relativeWidgetLP->getAlign() != RELATIVE_ALIGN_PARENT_BOTTOM_CENTER_HORIZONTAL)
{
finalPosY -= relativeWidgetMargin.bottom;
}
break; break;
default: default:
break; break;

View File

@ -536,7 +536,7 @@ JSBool ScriptingCore::runScript(const char *path, JSObject* global, JSContext* c
if (data) { if (data) {
script = JS_DecodeScript(cx, data, length, NULL, NULL); script = JS_DecodeScript(cx, data, length, NULL, NULL);
CC_SAFE_DELETE_ARRAY(data); free(data);
} }
// b) no jsc file, check js file // b) no jsc file, check js file

View File

@ -1 +1 @@
36a6cc6177c059364c6ccc3b1151b6475219b396 5bc5339bd77792b57c97cebbe7dfd3b634038e38

View File

@ -103,6 +103,14 @@ int lua_print(lua_State * luastate)
NS_CC_BEGIN NS_CC_BEGIN
LuaStack::~LuaStack()
{
if (nullptr != _state)
{
lua_close(_state);
}
}
LuaStack *LuaStack::create(void) LuaStack *LuaStack::create(void)
{ {
LuaStack *stack = new LuaStack(); LuaStack *stack = new LuaStack();

View File

@ -41,6 +41,8 @@ public:
static LuaStack *create(void); static LuaStack *create(void);
static LuaStack *attach(lua_State *L); static LuaStack *attach(lua_State *L);
virtual ~LuaStack();
/** /**
@brief Method used to get a pointer to the lua_State that the script module is attached to. @brief Method used to get a pointer to the lua_State that the script module is attached to.
@return A pointer to the lua_State that the script module is attached to. @return A pointer to the lua_State that the script module is attached to.

View File

@ -56,7 +56,7 @@ extern "C"
luaL_error(L, "error loading module %s from file %s :\n\t%s", luaL_error(L, "error loading module %s from file %s :\n\t%s",
lua_tostring(L, 1), filename.c_str(), lua_tostring(L, -1)); lua_tostring(L, 1), filename.c_str(), lua_tostring(L, -1));
} }
delete []codeBuffer; free(codeBuffer);
} }
else else
{ {

View File

@ -2,7 +2,7 @@ ccb = ccb or {}
function CCBReaderLoad(strFilePath,proxy,owner) function CCBReaderLoad(strFilePath,proxy,owner)
if nil == proxy then if nil == proxy then
return return nil
end end
local ccbReader = proxy:createCCBReader() local ccbReader = proxy:createCCBReader()

View File

@ -4,5 +4,6 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -31,68 +31,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?children?</key> <key>LaunchConfigHandle</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder.launch</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -2,8 +2,8 @@
<classpath> <classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -31,68 +31,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?children?</key> <key>LaunchConfigHandle</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (5).launch</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -2,8 +2,8 @@
<classpath> <classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -31,68 +31,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?children?</key> <key>LaunchConfigHandle</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (8).launch</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -46,10 +46,10 @@ void TextureAtlasEncryptionDemo::onEnter()
// 1) Set the encryption keys or step 2 will fail // 1) Set the encryption keys or step 2 will fail
// In this case the encryption key 0xaaaaaaaabbbbbbbbccccccccdddddddd is // In this case the encryption key 0xaaaaaaaabbbbbbbbccccccccdddddddd is
// split into four parts. See the header docs for more information. // split into four parts. See the header docs for more information.
ZipUtils::ccSetPvrEncryptionKeyPart(0, 0xaaaaaaaa); ZipUtils::setPvrEncryptionKeyPart(0, 0xaaaaaaaa);
ZipUtils::ccSetPvrEncryptionKeyPart(1, 0xbbbbbbbb); ZipUtils::setPvrEncryptionKeyPart(1, 0xbbbbbbbb);
ZipUtils::ccSetPvrEncryptionKeyPart(2, 0xcccccccc); ZipUtils::setPvrEncryptionKeyPart(2, 0xcccccccc);
ZipUtils::ccSetPvrEncryptionKeyPart(3, 0xdddddddd); ZipUtils::setPvrEncryptionKeyPart(3, 0xdddddddd);
// Alternatively, you can call the function that accepts the key in a single // Alternatively, you can call the function that accepts the key in a single
// function call. // function call.

View File

@ -21,68 +21,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?children?</key> <key>LaunchConfigHandle</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (9).launch</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -4,5 +4,6 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -31,68 +31,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?children?</key> <key>LaunchConfigHandle</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (3).launch</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -4,5 +4,6 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -31,68 +31,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?children?</key> <key>LaunchConfigHandle</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (4).launch</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -4,5 +4,6 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -31,68 +31,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?children?</key> <key>LaunchConfigHandle</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (7).launch</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -4,5 +4,6 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -36,68 +36,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?children?</key> <key>LaunchConfigHandle</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (10).launch</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -4,5 +4,6 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -31,68 +31,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?children?</key> <key>LaunchConfigHandle</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|\||</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (12).launch</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -4,5 +4,6 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -6,56 +6,12 @@
</projects> </projects>
<buildSpec> <buildSpec>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?name?</key> <key>LaunchConfigHandle</key>
<value></value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (6).launch</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -97,7 +97,7 @@
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile> </ResourceCompile>
<Link> <Link>
<AdditionalDependencies>lua51.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem> <SubSystem>Windows</SubSystem>

View File

@ -48,7 +48,6 @@ end
function SceneEditorTestLayer.create() function SceneEditorTestLayer.create()
local scene = cc.Scene:create() local scene = cc.Scene:create()
local layer = SceneEditorTestLayer.extend(cc.LayerColor:create()) local layer = SceneEditorTestLayer.extend(cc.LayerColor:create())
layer:initWithColor(cc.c4b(0,0,0,255))
layer:addChild(layer:createGameScene(), 0, 1) layer:addChild(layer:createGameScene(), 0, 1)
scene:addChild(layer) scene:addChild(layer)
return scene return scene

View File

@ -13,24 +13,20 @@ local cocoStudioTestItemNames =
runArmatureTestScene() runArmatureTestScene()
end end
}, },
{ {
itemTitle = "CocoStudioGUITest", itemTitle = "CocoStudioGUITest",
testScene = function () testScene = function ()
runCocosGUITestScene() runCocosGUITestScene()
end end
}, },
{
itemTitle = "CocoStudioComponentsTest",
testScene = function ()
--runComponentsTestLayer()
end
},
{ {
itemTitle = "CocoStudioSceneTest", itemTitle = "CocoStudioSceneTest",
testScene = function () testScene = function ()
runCocosSceneTestScene() runCocosSceneTestScene()
end end
} },
} }
local CocoStudioTestScene = class("CocoStudioTestScene") local CocoStudioTestScene = class("CocoStudioTestScene")

View File

@ -4,5 +4,6 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -6,56 +6,12 @@
</projects> </projects>
<buildSpec> <buildSpec>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?name?</key> <key>LaunchConfigHandle</key>
<value></value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (11).launch</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>${ProjDirPath}/build_native.sh</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>bash</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${ProjDirPath}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -21,60 +21,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
<dictionary> <dictionary>
<key>?name?</key> <key>LaunchConfigHandle</key>
<value></value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (1).launch</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>-C ${ProjDirPath} NDK_MODULE_PATH=${COCOS2DX_ROOT}:${COCOS2DX_ROOT}/cocos2dx/platform/third_party/android/prebuilt -j2</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>${ProjDirPath}/ANDROID_NDK/ndk-build</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>
@ -102,7 +54,7 @@
<link> <link>
<name>Classes</name> <name>Classes</name>
<type>2</type> <type>2</type>
<location>COCOS2DX/projects/HelloCpp/Classes</location> <locationURI>COCOS2DX/projects/HelloCpp/Classes</locationURI>
</link> </link>
<link> <link>
<name>cocos2dx</name> <name>cocos2dx</name>
@ -112,7 +64,7 @@
<link> <link>
<name>extensions</name> <name>extensions</name>
<type>2</type> <type>2</type>
<location>COCOS2DX/extensions</location> <locationURI>COCOS2DX/extensions</locationURI>
</link> </link>
<link> <link>
<name>scripting</name> <name>scripting</name>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -26,65 +26,7 @@
<arguments> <arguments>
<dictionary> <dictionary>
<key>LaunchConfigHandle</key> <key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/Javah_jni_builder.launch</value> <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>-C ${ProjDirPath} NDK_MODULE_PATH=${COCOS2DX_ROOT}:${COCOS2DX_ROOT}/cocos2dx/platform/third_party/android/prebuilt -j2</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>${ProjDirPath}/ANDROID_NDK/ndk-build</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary> </dictionary>
</arguments> </arguments>
</buildCommand> </buildCommand>
@ -112,7 +54,7 @@
<link> <link>
<name>Classes</name> <name>Classes</name>
<type>2</type> <type>2</type>
<location>COCOS2DX/projects/HelloJavascript/Classes</location> <locationURI>COCOS2DX/projects/HelloJavascript/Classes</locationURI>
</link> </link>
<link> <link>
<name>cocos2dx</name> <name>cocos2dx</name>
@ -122,7 +64,7 @@
<link> <link>
<name>extensions</name> <name>extensions</name>
<type>2</type> <type>2</type>
<location>COCOS2DX/extensions</location> <locationURI>COCOS2DX/extensions</locationURI>
</link> </link>
<link> <link>
<name>scripting</name> <name>scripting</name>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

View File

@ -7,17 +7,48 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
1525771E17CEFBD400BE417B /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1525771B17CEFBD400BE417B /* DeprecatedClass.lua */; }; 15A8A4441834C43700142BE0 /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4291834BDA200142BE0 /* libchipmunk iOS.a */; };
1525771F17CEFBD400BE417B /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1525771C17CEFBD400BE417B /* DeprecatedEnum.lua */; }; 15A8A4451834C43700142BE0 /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4251834BDA200142BE0 /* libcocos2dx iOS.a */; };
1525772017CEFBD400BE417B /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1525771D17CEFBD400BE417B /* DeprecatedOpenglEnum.lua */; }; 15A8A4461834C43700142BE0 /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4271834BDA200142BE0 /* libcocos2dx-extensions iOS.a */; };
15C1568E1683131500D239F2 /* libcurl.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C1568D1683131500D239F2 /* libcurl.a */; }; 15A8A4471834C43700142BE0 /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A42D1834BDA200142BE0 /* libCocosDenshion iOS.a */; };
1A0227AC17A3AA3500B867AD /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A517A3AA3500B867AD /* AudioEngine.lua */; }; 15A8A4481834C43700142BE0 /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4311834BDA200142BE0 /* libluabindings iOS.a */; };
1A0227AD17A3AA3500B867AD /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A617A3AA3500B867AD /* CCBReaderLoad.lua */; }; 15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810C17EBBCAC00990C9B /* Icon-114.png */; };
1A0227AE17A3AA3500B867AD /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A717A3AA3500B867AD /* Cocos2dConstants.lua */; }; 15A8A4641834C6AD00142BE0 /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4551834C6AD00142BE0 /* AudioEngine.lua */; };
1A0227AF17A3AA3500B867AD /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A817A3AA3500B867AD /* Deprecated.lua */; }; 15A8A4651834C6AD00142BE0 /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4551834C6AD00142BE0 /* AudioEngine.lua */; };
1A0227B017A3AA3500B867AD /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A917A3AA3500B867AD /* DrawPrimitives.lua */; }; 15A8A4661834C6AD00142BE0 /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4561834C6AD00142BE0 /* CCBReaderLoad.lua */; };
1A0227B117A3AA3500B867AD /* Opengl.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227AA17A3AA3500B867AD /* Opengl.lua */; }; 15A8A4671834C6AD00142BE0 /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4561834C6AD00142BE0 /* CCBReaderLoad.lua */; };
1A0227B217A3AA3500B867AD /* OpenglConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227AB17A3AA3500B867AD /* OpenglConstants.lua */; }; 15A8A4681834C6AD00142BE0 /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4571834C6AD00142BE0 /* Cocos2d.lua */; };
15A8A4691834C6AD00142BE0 /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4571834C6AD00142BE0 /* Cocos2d.lua */; };
15A8A46A1834C6AD00142BE0 /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4581834C6AD00142BE0 /* Cocos2dConstants.lua */; };
15A8A46B1834C6AD00142BE0 /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4581834C6AD00142BE0 /* Cocos2dConstants.lua */; };
15A8A46C1834C6AD00142BE0 /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4591834C6AD00142BE0 /* Deprecated.lua */; };
15A8A46D1834C6AD00142BE0 /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4591834C6AD00142BE0 /* Deprecated.lua */; };
15A8A46E1834C6AD00142BE0 /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45A1834C6AD00142BE0 /* DeprecatedClass.lua */; };
15A8A46F1834C6AD00142BE0 /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45A1834C6AD00142BE0 /* DeprecatedClass.lua */; };
15A8A4701834C6AD00142BE0 /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45B1834C6AD00142BE0 /* DeprecatedEnum.lua */; };
15A8A4711834C6AD00142BE0 /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45B1834C6AD00142BE0 /* DeprecatedEnum.lua */; };
15A8A4721834C6AD00142BE0 /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45C1834C6AD00142BE0 /* DeprecatedOpenglEnum.lua */; };
15A8A4731834C6AD00142BE0 /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45C1834C6AD00142BE0 /* DeprecatedOpenglEnum.lua */; };
15A8A4741834C6AD00142BE0 /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45D1834C6AD00142BE0 /* DrawPrimitives.lua */; };
15A8A4751834C6AD00142BE0 /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45D1834C6AD00142BE0 /* DrawPrimitives.lua */; };
15A8A4761834C6AD00142BE0 /* json.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45E1834C6AD00142BE0 /* json.lua */; };
15A8A4771834C6AD00142BE0 /* json.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45E1834C6AD00142BE0 /* json.lua */; };
15A8A4781834C6AD00142BE0 /* luaj.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45F1834C6AD00142BE0 /* luaj.lua */; };
15A8A4791834C6AD00142BE0 /* luaj.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A45F1834C6AD00142BE0 /* luaj.lua */; };
15A8A47A1834C6AD00142BE0 /* luaoc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4601834C6AD00142BE0 /* luaoc.lua */; };
15A8A47B1834C6AD00142BE0 /* luaoc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4601834C6AD00142BE0 /* luaoc.lua */; };
15A8A47C1834C6AD00142BE0 /* Opengl.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4611834C6AD00142BE0 /* Opengl.lua */; };
15A8A47D1834C6AD00142BE0 /* Opengl.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4611834C6AD00142BE0 /* Opengl.lua */; };
15A8A47E1834C6AD00142BE0 /* OpenglConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4621834C6AD00142BE0 /* OpenglConstants.lua */; };
15A8A47F1834C6AD00142BE0 /* OpenglConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4621834C6AD00142BE0 /* OpenglConstants.lua */; };
15A8A4801834C6AD00142BE0 /* StudioConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4631834C6AD00142BE0 /* StudioConstants.lua */; };
15A8A4811834C6AD00142BE0 /* StudioConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15A8A4631834C6AD00142BE0 /* StudioConstants.lua */; };
15A8A4821834C73500142BE0 /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A41B1834BDA200142BE0 /* libchipmunk Mac.a */; };
15A8A4831834C73500142BE0 /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4171834BDA200142BE0 /* libcocos2dx Mac.a */; };
15A8A4841834C73500142BE0 /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4191834BDA200142BE0 /* libcocos2dx-extensions Mac.a */; };
15A8A4851834C73500142BE0 /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A41F1834BDA200142BE0 /* libCocosDenshion Mac.a */; };
15A8A4861834C73500142BE0 /* libluabindings Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4231834BDA200142BE0 /* libluabindings Mac.a */; };
15A8A4881834C90F00142BE0 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4871834C90E00142BE0 /* libcurl.dylib */; };
1AC3622F16D47C5C000847F2 /* background.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622316D47C5C000847F2 /* background.mp3 */; }; 1AC3622F16D47C5C000847F2 /* background.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622316D47C5C000847F2 /* background.mp3 */; };
1AC3623016D47C5C000847F2 /* background.ogg in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622416D47C5C000847F2 /* background.ogg */; }; 1AC3623016D47C5C000847F2 /* background.ogg in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622416D47C5C000847F2 /* background.ogg */; };
1AC3623116D47C5C000847F2 /* crop.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622516D47C5C000847F2 /* crop.png */; }; 1AC3623116D47C5C000847F2 /* crop.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622516D47C5C000847F2 /* crop.png */; };
@ -30,13 +61,11 @@
1AC3623816D47C5C000847F2 /* land.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622C16D47C5C000847F2 /* land.png */; }; 1AC3623816D47C5C000847F2 /* land.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622C16D47C5C000847F2 /* land.png */; };
1AC3623916D47C5C000847F2 /* menu1.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622D16D47C5C000847F2 /* menu1.png */; }; 1AC3623916D47C5C000847F2 /* menu1.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622D16D47C5C000847F2 /* menu1.png */; };
1AC3623A16D47C5C000847F2 /* menu2.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622E16D47C5C000847F2 /* menu2.png */; }; 1AC3623A16D47C5C000847F2 /* menu2.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622E16D47C5C000847F2 /* menu2.png */; };
1ADB273817CCA0C200634B5E /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ADB273717CCA0C200634B5E /* Cocos2d.lua */; };
1AF4C403178663F200122817 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C402178663F200122817 /* libz.dylib */; }; 1AF4C403178663F200122817 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C402178663F200122817 /* libz.dylib */; };
5023811817EBBCAC00990C9B /* AppController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5023810817EBBCAC00990C9B /* AppController.mm */; }; 5023811817EBBCAC00990C9B /* AppController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5023810817EBBCAC00990C9B /* AppController.mm */; };
5023811917EBBCAC00990C9B /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810917EBBCAC00990C9B /* Default-568h@2x.png */; }; 5023811917EBBCAC00990C9B /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810917EBBCAC00990C9B /* Default-568h@2x.png */; };
5023811A17EBBCAC00990C9B /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810A17EBBCAC00990C9B /* Default.png */; }; 5023811A17EBBCAC00990C9B /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810A17EBBCAC00990C9B /* Default.png */; };
5023811B17EBBCAC00990C9B /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810B17EBBCAC00990C9B /* Default@2x.png */; }; 5023811B17EBBCAC00990C9B /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810B17EBBCAC00990C9B /* Default@2x.png */; };
5023811C17EBBCAC00990C9B /* Icon-114.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810C17EBBCAC00990C9B /* Icon-114.png */; };
5023811D17EBBCAC00990C9B /* Icon-120.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810D17EBBCAC00990C9B /* Icon-120.png */; }; 5023811D17EBBCAC00990C9B /* Icon-120.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810D17EBBCAC00990C9B /* Icon-120.png */; };
5023811E17EBBCAC00990C9B /* Icon-144.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810E17EBBCAC00990C9B /* Icon-144.png */; }; 5023811E17EBBCAC00990C9B /* Icon-144.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810E17EBBCAC00990C9B /* Icon-144.png */; };
5023811F17EBBCAC00990C9B /* Icon-152.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810F17EBBCAC00990C9B /* Icon-152.png */; }; 5023811F17EBBCAC00990C9B /* Icon-152.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810F17EBBCAC00990C9B /* Icon-152.png */; };
@ -65,17 +94,6 @@
5023815317EBBCE400990C9B /* land.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622C16D47C5C000847F2 /* land.png */; }; 5023815317EBBCE400990C9B /* land.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622C16D47C5C000847F2 /* land.png */; };
5023815617EBBCE400990C9B /* menu1.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622D16D47C5C000847F2 /* menu1.png */; }; 5023815617EBBCE400990C9B /* menu1.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622D16D47C5C000847F2 /* menu1.png */; };
5023815717EBBCE400990C9B /* menu2.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622E16D47C5C000847F2 /* menu2.png */; }; 5023815717EBBCE400990C9B /* menu2.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AC3622E16D47C5C000847F2 /* menu2.png */; };
5023815917EBBCE400990C9B /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A517A3AA3500B867AD /* AudioEngine.lua */; };
5023815A17EBBCE400990C9B /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A617A3AA3500B867AD /* CCBReaderLoad.lua */; };
5023815B17EBBCE400990C9B /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A717A3AA3500B867AD /* Cocos2dConstants.lua */; };
5023815C17EBBCE400990C9B /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A817A3AA3500B867AD /* Deprecated.lua */; };
5023815D17EBBCE400990C9B /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227A917A3AA3500B867AD /* DrawPrimitives.lua */; };
5023815E17EBBCE400990C9B /* Opengl.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227AA17A3AA3500B867AD /* Opengl.lua */; };
5023816117EBBCE400990C9B /* OpenglConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1A0227AB17A3AA3500B867AD /* OpenglConstants.lua */; };
5023816217EBBCE400990C9B /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ADB273717CCA0C200634B5E /* Cocos2d.lua */; };
5023816317EBBCE400990C9B /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1525771B17CEFBD400BE417B /* DeprecatedClass.lua */; };
5023816417EBBCE400990C9B /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1525771C17CEFBD400BE417B /* DeprecatedEnum.lua */; };
5023816717EBBCE400990C9B /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1525771D17CEFBD400BE417B /* DeprecatedOpenglEnum.lua */; };
5023817617EBBE3400990C9B /* Icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 5023817217EBBE3400990C9B /* Icon.icns */; }; 5023817617EBBE3400990C9B /* Icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 5023817217EBBE3400990C9B /* Icon.icns */; };
5023817817EBBE3400990C9B /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5023817417EBBE3400990C9B /* main.cpp */; }; 5023817817EBBE3400990C9B /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5023817417EBBE3400990C9B /* main.cpp */; };
5023817A17EBBE8300990C9B /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5023817917EBBE8300990C9B /* OpenGLES.framework */; }; 5023817A17EBBE8300990C9B /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5023817917EBBE8300990C9B /* OpenGLES.framework */; };
@ -86,21 +104,9 @@
5091733917ECE17A00D62437 /* Icon-58.png in Resources */ = {isa = PBXBuildFile; fileRef = 5091733317ECE17A00D62437 /* Icon-58.png */; }; 5091733917ECE17A00D62437 /* Icon-58.png in Resources */ = {isa = PBXBuildFile; fileRef = 5091733317ECE17A00D62437 /* Icon-58.png */; };
5091733A17ECE17A00D62437 /* Icon-80.png in Resources */ = {isa = PBXBuildFile; fileRef = 5091733417ECE17A00D62437 /* Icon-80.png */; }; 5091733A17ECE17A00D62437 /* Icon-80.png in Resources */ = {isa = PBXBuildFile; fileRef = 5091733417ECE17A00D62437 /* Icon-80.png */; };
5091733B17ECE17A00D62437 /* Icon-100.png in Resources */ = {isa = PBXBuildFile; fileRef = 5091733517ECE17A00D62437 /* Icon-100.png */; }; 5091733B17ECE17A00D62437 /* Icon-100.png in Resources */ = {isa = PBXBuildFile; fileRef = 5091733517ECE17A00D62437 /* Icon-100.png */; };
50D7C96517EBBECA005D0B91 /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3E11786631700122817 /* libbox2d iOS.a */; };
50D7C96617EBBECA005D0B91 /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3DF1786631700122817 /* libchipmunk iOS.a */; };
50D7C96717EBBECA005D0B91 /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3DB1786631700122817 /* libcocos2dx iOS.a */; };
50D7C96817EBBECA005D0B91 /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3DD1786631700122817 /* libcocos2dx-extensions iOS.a */; };
50D7C96917EBBECA005D0B91 /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3E31786631700122817 /* libCocosDenshion iOS.a */; };
50D7C96A17EBBECB005D0B91 /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3E71786631700122817 /* libluabindings iOS.a */; };
50D7C96C17EBBEDF005D0B91 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50D7C96B17EBBEDF005D0B91 /* OpenGL.framework */; }; 50D7C96C17EBBEDF005D0B91 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50D7C96B17EBBEDF005D0B91 /* OpenGL.framework */; };
50D7C96E17EBBEE6005D0B91 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50D7C96D17EBBEE6005D0B91 /* AppKit.framework */; }; 50D7C96E17EBBEE6005D0B91 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50D7C96D17EBBEE6005D0B91 /* AppKit.framework */; };
50D7C97017EBBEEC005D0B91 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50D7C96F17EBBEEC005D0B91 /* IOKit.framework */; }; 50D7C97017EBBEEC005D0B91 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50D7C96F17EBBEEC005D0B91 /* IOKit.framework */; };
50D7C97117EBBEF7005D0B91 /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3D31786631700122817 /* libbox2d Mac.a */; };
50D7C97217EBBEF7005D0B91 /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3D11786631700122817 /* libchipmunk Mac.a */; };
50D7C97317EBBEF7005D0B91 /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3CD1786631700122817 /* libcocos2dx Mac.a */; };
50D7C97417EBBEF7005D0B91 /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3CF1786631700122817 /* libcocos2dx-extensions Mac.a */; };
50D7C97517EBBEF7005D0B91 /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3D51786631700122817 /* libCocosDenshion Mac.a */; };
50D7C97617EBBEF7005D0B91 /* libluabindings Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C3D91786631700122817 /* libluabindings Mac.a */; };
D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B061341803AC000077942B /* CoreMotion.framework */; }; D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B061341803AC000077942B /* CoreMotion.framework */; };
F293B3CD15EB7BE500256477 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F293B3CC15EB7BE500256477 /* QuartzCore.framework */; }; F293B3CD15EB7BE500256477 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F293B3CC15EB7BE500256477 /* QuartzCore.framework */; };
F293B3D115EB7BE500256477 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F293B3D015EB7BE500256477 /* OpenAL.framework */; }; F293B3D115EB7BE500256477 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F293B3D015EB7BE500256477 /* OpenAL.framework */; };
@ -112,132 +118,125 @@
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */ /* Begin PBXContainerItemProxy section */
1AF4C3CC1786631700122817 /* PBXContainerItemProxy */ = { 15A8A4161834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = 1551A33F158F2AB200E66CFE; remoteGlobalIDString = 1551A33F158F2AB200E66CFE;
remoteInfo = "cocos2dx Mac"; remoteInfo = "cocos2dx Mac";
}; };
1AF4C3CE1786631700122817 /* PBXContainerItemProxy */ = { 15A8A4181834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A03F2FD617814595006731B9; remoteGlobalIDString = A03F2FD617814595006731B9;
remoteInfo = "cocos2dx-extensions Mac"; remoteInfo = "cocos2dx-extensions Mac";
}; };
1AF4C3D01786631700122817 /* PBXContainerItemProxy */ = { 15A8A41A1834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A03F2CB81780BD04006731B9; remoteGlobalIDString = A03F2CB81780BD04006731B9;
remoteInfo = "chipmunk Mac"; remoteInfo = "chipmunk Mac";
}; };
1AF4C3D21786631700122817 /* PBXContainerItemProxy */ = { 15A8A41C1834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A03F2D9B1780BDF7006731B9; remoteGlobalIDString = A03F2D9B1780BDF7006731B9;
remoteInfo = "box2d Mac"; remoteInfo = "box2d Mac";
}; };
1AF4C3D41786631700122817 /* PBXContainerItemProxy */ = { 15A8A41E1834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A03F2ED617814268006731B9; remoteGlobalIDString = A03F2ED617814268006731B9;
remoteInfo = "CocosDenshion Mac"; remoteInfo = "CocosDenshion Mac";
}; };
1AF4C3D61786631700122817 /* PBXContainerItemProxy */ = { 15A8A4201834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A03F31FD1781479B006731B9; remoteGlobalIDString = A03F31FD1781479B006731B9;
remoteInfo = "jsbindings Mac"; remoteInfo = "jsbindings Mac";
}; };
1AF4C3D81786631700122817 /* PBXContainerItemProxy */ = { 15A8A4221834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = 1A6FB53017854BC300CDF010; remoteGlobalIDString = 1A6FB53017854BC300CDF010;
remoteInfo = "luabindings Mac"; remoteInfo = "luabindings Mac";
}; };
1AF4C3DA1786631700122817 /* PBXContainerItemProxy */ = { 15A8A4241834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A07A4D641783777C0073F6A7; remoteGlobalIDString = A07A4D641783777C0073F6A7;
remoteInfo = "cocos2dx iOS"; remoteInfo = "cocos2dx iOS";
}; };
1AF4C3DC1786631700122817 /* PBXContainerItemProxy */ = { 15A8A4261834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A07A4EFC1783867C0073F6A7; remoteGlobalIDString = A07A4EFC1783867C0073F6A7;
remoteInfo = "cocos2dx-extensions iOS"; remoteInfo = "cocos2dx-extensions iOS";
}; };
1AF4C3DE1786631700122817 /* PBXContainerItemProxy */ = { 15A8A4281834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A07A4F3B178387670073F6A7; remoteGlobalIDString = A07A4F3B178387670073F6A7;
remoteInfo = "chipmunk iOS"; remoteInfo = "chipmunk iOS";
}; };
1AF4C3E01786631700122817 /* PBXContainerItemProxy */ = { 15A8A42A1834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A07A4F9E1783876B0073F6A7; remoteGlobalIDString = A07A4F9E1783876B0073F6A7;
remoteInfo = "box2d iOS"; remoteInfo = "box2d iOS";
}; };
1AF4C3E21786631700122817 /* PBXContainerItemProxy */ = { 15A8A42C1834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A07A4FB4178387730073F6A7; remoteGlobalIDString = A07A4FB4178387730073F6A7;
remoteInfo = "CocosDenshion iOS"; remoteInfo = "CocosDenshion iOS";
}; };
1AF4C3E41786631700122817 /* PBXContainerItemProxy */ = { 15A8A42E1834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = A07A5030178387750073F6A7; remoteGlobalIDString = A07A5030178387750073F6A7;
remoteInfo = "jsbindings iOS"; remoteInfo = "jsbindings iOS";
}; };
1AF4C3E61786631700122817 /* PBXContainerItemProxy */ = { 15A8A4301834BDA200142BE0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
proxyType = 2; proxyType = 2;
remoteGlobalIDString = 1A119791178526AA00D62A44; remoteGlobalIDString = 1A119791178526AA00D62A44;
remoteInfo = "luabindings iOS"; remoteInfo = "luabindings iOS";
}; };
5023816D17EBBDBE00990C9B /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = A03F2E8E178141C1006731B9;
remoteInfo = "build-all-libs Mac";
};
5023816F17EBBDC600990C9B /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = A07A4E0B178386390073F6A7;
remoteInfo = "build-all-libs iOS";
};
/* End PBXContainerItemProxy section */ /* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
1525771B17CEFBD400BE417B /* DeprecatedClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedClass.lua; path = ../../../scripting/lua/script/DeprecatedClass.lua; sourceTree = "<group>"; }; 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../../../build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
1525771C17CEFBD400BE417B /* DeprecatedEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedEnum.lua; path = ../../../scripting/lua/script/DeprecatedEnum.lua; sourceTree = "<group>"; }; 15A8A4551834C6AD00142BE0 /* AudioEngine.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = AudioEngine.lua; path = ../../../cocos/scripting/lua/script/AudioEngine.lua; sourceTree = "<group>"; };
1525771D17CEFBD400BE417B /* DeprecatedOpenglEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedOpenglEnum.lua; path = ../../../scripting/lua/script/DeprecatedOpenglEnum.lua; sourceTree = "<group>"; }; 15A8A4561834C6AD00142BE0 /* CCBReaderLoad.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CCBReaderLoad.lua; path = ../../../cocos/scripting/lua/script/CCBReaderLoad.lua; sourceTree = "<group>"; };
15A8A4571834C6AD00142BE0 /* Cocos2d.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2d.lua; path = ../../../cocos/scripting/lua/script/Cocos2d.lua; sourceTree = "<group>"; };
15A8A4581834C6AD00142BE0 /* Cocos2dConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2dConstants.lua; path = ../../../cocos/scripting/lua/script/Cocos2dConstants.lua; sourceTree = "<group>"; };
15A8A4591834C6AD00142BE0 /* Deprecated.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Deprecated.lua; path = ../../../cocos/scripting/lua/script/Deprecated.lua; sourceTree = "<group>"; };
15A8A45A1834C6AD00142BE0 /* DeprecatedClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedClass.lua; path = ../../../cocos/scripting/lua/script/DeprecatedClass.lua; sourceTree = "<group>"; };
15A8A45B1834C6AD00142BE0 /* DeprecatedEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedEnum.lua; path = ../../../cocos/scripting/lua/script/DeprecatedEnum.lua; sourceTree = "<group>"; };
15A8A45C1834C6AD00142BE0 /* DeprecatedOpenglEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedOpenglEnum.lua; path = ../../../cocos/scripting/lua/script/DeprecatedOpenglEnum.lua; sourceTree = "<group>"; };
15A8A45D1834C6AD00142BE0 /* DrawPrimitives.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DrawPrimitives.lua; path = ../../../cocos/scripting/lua/script/DrawPrimitives.lua; sourceTree = "<group>"; };
15A8A45E1834C6AD00142BE0 /* json.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = json.lua; path = ../../../cocos/scripting/lua/script/json.lua; sourceTree = "<group>"; };
15A8A45F1834C6AD00142BE0 /* luaj.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaj.lua; path = ../../../cocos/scripting/lua/script/luaj.lua; sourceTree = "<group>"; };
15A8A4601834C6AD00142BE0 /* luaoc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaoc.lua; path = ../../../cocos/scripting/lua/script/luaoc.lua; sourceTree = "<group>"; };
15A8A4611834C6AD00142BE0 /* Opengl.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Opengl.lua; path = ../../../cocos/scripting/lua/script/Opengl.lua; sourceTree = "<group>"; };
15A8A4621834C6AD00142BE0 /* OpenglConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = OpenglConstants.lua; path = ../../../cocos/scripting/lua/script/OpenglConstants.lua; sourceTree = "<group>"; };
15A8A4631834C6AD00142BE0 /* StudioConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = StudioConstants.lua; path = ../../../cocos/scripting/lua/script/StudioConstants.lua; sourceTree = "<group>"; };
15A8A4871834C90E00142BE0 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; };
15C1568D1683131500D239F2 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; }; 15C1568D1683131500D239F2 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; };
1A0227A517A3AA3500B867AD /* AudioEngine.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = AudioEngine.lua; path = ../../../scripting/lua/script/AudioEngine.lua; sourceTree = "<group>"; };
1A0227A617A3AA3500B867AD /* CCBReaderLoad.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CCBReaderLoad.lua; path = ../../../scripting/lua/script/CCBReaderLoad.lua; sourceTree = "<group>"; };
1A0227A717A3AA3500B867AD /* Cocos2dConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2dConstants.lua; path = ../../../scripting/lua/script/Cocos2dConstants.lua; sourceTree = "<group>"; };
1A0227A817A3AA3500B867AD /* Deprecated.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Deprecated.lua; path = ../../../scripting/lua/script/Deprecated.lua; sourceTree = "<group>"; };
1A0227A917A3AA3500B867AD /* DrawPrimitives.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DrawPrimitives.lua; path = ../../../scripting/lua/script/DrawPrimitives.lua; sourceTree = "<group>"; };
1A0227AA17A3AA3500B867AD /* Opengl.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Opengl.lua; path = ../../../scripting/lua/script/Opengl.lua; sourceTree = "<group>"; };
1A0227AB17A3AA3500B867AD /* OpenglConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = OpenglConstants.lua; path = ../../../scripting/lua/script/OpenglConstants.lua; sourceTree = "<group>"; };
1AC3622316D47C5C000847F2 /* background.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = background.mp3; path = ../Resources/background.mp3; sourceTree = "<group>"; }; 1AC3622316D47C5C000847F2 /* background.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = background.mp3; path = ../Resources/background.mp3; sourceTree = "<group>"; };
1AC3622416D47C5C000847F2 /* background.ogg */ = {isa = PBXFileReference; lastKnownFileType = file; name = background.ogg; path = ../Resources/background.ogg; sourceTree = "<group>"; }; 1AC3622416D47C5C000847F2 /* background.ogg */ = {isa = PBXFileReference; lastKnownFileType = file; name = background.ogg; path = ../Resources/background.ogg; sourceTree = "<group>"; };
1AC3622516D47C5C000847F2 /* crop.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = crop.png; path = ../Resources/crop.png; sourceTree = "<group>"; }; 1AC3622516D47C5C000847F2 /* crop.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = crop.png; path = ../Resources/crop.png; sourceTree = "<group>"; };
@ -250,8 +249,6 @@
1AC3622C16D47C5C000847F2 /* land.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = land.png; path = ../Resources/land.png; sourceTree = "<group>"; }; 1AC3622C16D47C5C000847F2 /* land.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = land.png; path = ../Resources/land.png; sourceTree = "<group>"; };
1AC3622D16D47C5C000847F2 /* menu1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = menu1.png; path = ../Resources/menu1.png; sourceTree = "<group>"; }; 1AC3622D16D47C5C000847F2 /* menu1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = menu1.png; path = ../Resources/menu1.png; sourceTree = "<group>"; };
1AC3622E16D47C5C000847F2 /* menu2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = menu2.png; path = ../Resources/menu2.png; sourceTree = "<group>"; }; 1AC3622E16D47C5C000847F2 /* menu2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = menu2.png; path = ../Resources/menu2.png; sourceTree = "<group>"; };
1ADB273717CCA0C200634B5E /* Cocos2d.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2d.lua; path = ../../../scripting/lua/script/Cocos2d.lua; sourceTree = "<group>"; };
1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../../../cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
1AF4C402178663F200122817 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; 1AF4C402178663F200122817 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
5023810717EBBCAC00990C9B /* AppController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = "<group>"; }; 5023810717EBBCAC00990C9B /* AppController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = "<group>"; };
5023810817EBBCAC00990C9B /* AppController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppController.mm; sourceTree = "<group>"; }; 5023810817EBBCAC00990C9B /* AppController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppController.mm; sourceTree = "<group>"; };
@ -305,12 +302,12 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
50D7C97117EBBEF7005D0B91 /* libbox2d Mac.a in Frameworks */, 15A8A4881834C90F00142BE0 /* libcurl.dylib in Frameworks */,
50D7C97217EBBEF7005D0B91 /* libchipmunk Mac.a in Frameworks */, 15A8A4821834C73500142BE0 /* libchipmunk Mac.a in Frameworks */,
50D7C97317EBBEF7005D0B91 /* libcocos2dx Mac.a in Frameworks */, 15A8A4831834C73500142BE0 /* libcocos2dx Mac.a in Frameworks */,
50D7C97417EBBEF7005D0B91 /* libcocos2dx-extensions Mac.a in Frameworks */, 15A8A4841834C73500142BE0 /* libcocos2dx-extensions Mac.a in Frameworks */,
50D7C97517EBBEF7005D0B91 /* libCocosDenshion Mac.a in Frameworks */, 15A8A4851834C73500142BE0 /* libCocosDenshion Mac.a in Frameworks */,
50D7C97617EBBEF7005D0B91 /* libluabindings Mac.a in Frameworks */, 15A8A4861834C73500142BE0 /* libluabindings Mac.a in Frameworks */,
50D7C97017EBBEEC005D0B91 /* IOKit.framework in Frameworks */, 50D7C97017EBBEEC005D0B91 /* IOKit.framework in Frameworks */,
50D7C96E17EBBEE6005D0B91 /* AppKit.framework in Frameworks */, 50D7C96E17EBBEE6005D0B91 /* AppKit.framework in Frameworks */,
50D7C96C17EBBEDF005D0B91 /* OpenGL.framework in Frameworks */, 50D7C96C17EBBEDF005D0B91 /* OpenGL.framework in Frameworks */,
@ -328,15 +325,13 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
15A8A4441834C43700142BE0 /* libchipmunk iOS.a in Frameworks */,
15A8A4451834C43700142BE0 /* libcocos2dx iOS.a in Frameworks */,
15A8A4461834C43700142BE0 /* libcocos2dx-extensions iOS.a in Frameworks */,
15A8A4471834C43700142BE0 /* libCocosDenshion iOS.a in Frameworks */,
15A8A4481834C43700142BE0 /* libluabindings iOS.a in Frameworks */,
D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */, D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */,
50D7C96517EBBECA005D0B91 /* libbox2d iOS.a in Frameworks */,
50D7C96617EBBECA005D0B91 /* libchipmunk iOS.a in Frameworks */,
50D7C96717EBBECA005D0B91 /* libcocos2dx iOS.a in Frameworks */,
50D7C96817EBBECA005D0B91 /* libcocos2dx-extensions iOS.a in Frameworks */,
50D7C96917EBBECA005D0B91 /* libCocosDenshion iOS.a in Frameworks */,
50D7C96A17EBBECB005D0B91 /* libluabindings iOS.a in Frameworks */,
1AF4C403178663F200122817 /* libz.dylib in Frameworks */, 1AF4C403178663F200122817 /* libz.dylib in Frameworks */,
15C1568E1683131500D239F2 /* libcurl.a in Frameworks */,
50805AAF17EBBEAA004CFAD3 /* UIKit.framework in Frameworks */, 50805AAF17EBBEAA004CFAD3 /* UIKit.framework in Frameworks */,
5023817A17EBBE8300990C9B /* OpenGLES.framework in Frameworks */, 5023817A17EBBE8300990C9B /* OpenGLES.framework in Frameworks */,
F293B3CD15EB7BE500256477 /* QuartzCore.framework in Frameworks */, F293B3CD15EB7BE500256477 /* QuartzCore.framework in Frameworks */,
@ -351,45 +346,49 @@
/* End PBXFrameworksBuildPhase section */ /* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
15A8A4041834BDA200142BE0 /* Products */ = {
isa = PBXGroup;
children = (
15A8A4171834BDA200142BE0 /* libcocos2dx Mac.a */,
15A8A4191834BDA200142BE0 /* libcocos2dx-extensions Mac.a */,
15A8A41B1834BDA200142BE0 /* libchipmunk Mac.a */,
15A8A41D1834BDA200142BE0 /* libbox2d Mac.a */,
15A8A41F1834BDA200142BE0 /* libCocosDenshion Mac.a */,
15A8A4211834BDA200142BE0 /* libjsbindings Mac.a */,
15A8A4231834BDA200142BE0 /* libluabindings Mac.a */,
15A8A4251834BDA200142BE0 /* libcocos2dx iOS.a */,
15A8A4271834BDA200142BE0 /* libcocos2dx-extensions iOS.a */,
15A8A4291834BDA200142BE0 /* libchipmunk iOS.a */,
15A8A42B1834BDA200142BE0 /* libbox2d iOS.a */,
15A8A42D1834BDA200142BE0 /* libCocosDenshion iOS.a */,
15A8A42F1834BDA200142BE0 /* libjsbindings iOS.a */,
15A8A4311834BDA200142BE0 /* libluabindings iOS.a */,
);
name = Products;
sourceTree = "<group>";
};
1A0227A417A3AA1A00B867AD /* Lua Common */ = { 1A0227A417A3AA1A00B867AD /* Lua Common */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
1525771B17CEFBD400BE417B /* DeprecatedClass.lua */, 15A8A4551834C6AD00142BE0 /* AudioEngine.lua */,
1525771C17CEFBD400BE417B /* DeprecatedEnum.lua */, 15A8A4561834C6AD00142BE0 /* CCBReaderLoad.lua */,
1525771D17CEFBD400BE417B /* DeprecatedOpenglEnum.lua */, 15A8A4571834C6AD00142BE0 /* Cocos2d.lua */,
1A0227A517A3AA3500B867AD /* AudioEngine.lua */, 15A8A4581834C6AD00142BE0 /* Cocos2dConstants.lua */,
1A0227A617A3AA3500B867AD /* CCBReaderLoad.lua */, 15A8A4591834C6AD00142BE0 /* Deprecated.lua */,
1ADB273717CCA0C200634B5E /* Cocos2d.lua */, 15A8A45A1834C6AD00142BE0 /* DeprecatedClass.lua */,
1A0227A717A3AA3500B867AD /* Cocos2dConstants.lua */, 15A8A45B1834C6AD00142BE0 /* DeprecatedEnum.lua */,
1A0227A817A3AA3500B867AD /* Deprecated.lua */, 15A8A45C1834C6AD00142BE0 /* DeprecatedOpenglEnum.lua */,
1A0227A917A3AA3500B867AD /* DrawPrimitives.lua */, 15A8A45D1834C6AD00142BE0 /* DrawPrimitives.lua */,
1A0227AA17A3AA3500B867AD /* Opengl.lua */, 15A8A45E1834C6AD00142BE0 /* json.lua */,
1A0227AB17A3AA3500B867AD /* OpenglConstants.lua */, 15A8A45F1834C6AD00142BE0 /* luaj.lua */,
15A8A4601834C6AD00142BE0 /* luaoc.lua */,
15A8A4611834C6AD00142BE0 /* Opengl.lua */,
15A8A4621834C6AD00142BE0 /* OpenglConstants.lua */,
15A8A4631834C6AD00142BE0 /* StudioConstants.lua */,
); );
name = "Lua Common"; name = "Lua Common";
sourceTree = "<group>"; sourceTree = "<group>";
}; };
1AF4C3BA1786631600122817 /* Products */ = {
isa = PBXGroup;
children = (
1AF4C3CD1786631700122817 /* libcocos2dx Mac.a */,
1AF4C3CF1786631700122817 /* libcocos2dx-extensions Mac.a */,
1AF4C3D11786631700122817 /* libchipmunk Mac.a */,
1AF4C3D31786631700122817 /* libbox2d Mac.a */,
1AF4C3D51786631700122817 /* libCocosDenshion Mac.a */,
1AF4C3D71786631700122817 /* libjsbindings Mac.a */,
1AF4C3D91786631700122817 /* libluabindings Mac.a */,
1AF4C3DB1786631700122817 /* libcocos2dx iOS.a */,
1AF4C3DD1786631700122817 /* libcocos2dx-extensions iOS.a */,
1AF4C3DF1786631700122817 /* libchipmunk iOS.a */,
1AF4C3E11786631700122817 /* libbox2d iOS.a */,
1AF4C3E31786631700122817 /* libCocosDenshion iOS.a */,
1AF4C3E51786631700122817 /* libjsbindings iOS.a */,
1AF4C3E71786631700122817 /* libluabindings iOS.a */,
);
name = Products;
sourceTree = "<group>";
};
5023810617EBBCAC00990C9B /* ios */ = { 5023810617EBBCAC00990C9B /* ios */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -442,7 +441,7 @@
F293B3BD15EB7BE500256477 = { F293B3BD15EB7BE500256477 = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */, 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */,
5023810617EBBCAC00990C9B /* ios */, 5023810617EBBCAC00990C9B /* ios */,
5023817117EBBE3400990C9B /* mac */, 5023817117EBBE3400990C9B /* mac */,
F293BB7C15EB830F00256477 /* Classes */, F293BB7C15EB830F00256477 /* Classes */,
@ -465,6 +464,7 @@
F293B3CB15EB7BE500256477 /* Frameworks */ = { F293B3CB15EB7BE500256477 /* Frameworks */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
15A8A4871834C90E00142BE0 /* libcurl.dylib */,
D6B061341803AC000077942B /* CoreMotion.framework */, D6B061341803AC000077942B /* CoreMotion.framework */,
50D7C96F17EBBEEC005D0B91 /* IOKit.framework */, 50D7C96F17EBBEEC005D0B91 /* IOKit.framework */,
50D7C96D17EBBEE6005D0B91 /* AppKit.framework */, 50D7C96D17EBBEE6005D0B91 /* AppKit.framework */,
@ -528,7 +528,6 @@
buildRules = ( buildRules = (
); );
dependencies = ( dependencies = (
5023816E17EBBDBE00990C9B /* PBXTargetDependency */,
); );
name = "HelloLua Mac"; name = "HelloLua Mac";
productName = HelloLua; productName = HelloLua;
@ -546,7 +545,6 @@
buildRules = ( buildRules = (
); );
dependencies = ( dependencies = (
5023817017EBBDC600990C9B /* PBXTargetDependency */,
); );
name = "HelloLua iOS"; name = "HelloLua iOS";
productName = HelloLua; productName = HelloLua;
@ -578,8 +576,8 @@
projectDirPath = ""; projectDirPath = "";
projectReferences = ( projectReferences = (
{ {
ProductGroup = 1AF4C3BA1786631600122817 /* Products */; ProductGroup = 15A8A4041834BDA200142BE0 /* Products */;
ProjectRef = 1AF4C3B91786631600122817 /* cocos2d_libs.xcodeproj */; ProjectRef = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
}, },
); );
projectRoot = ""; projectRoot = "";
@ -591,102 +589,102 @@
/* End PBXProject section */ /* End PBXProject section */
/* Begin PBXReferenceProxy section */ /* Begin PBXReferenceProxy section */
1AF4C3CD1786631700122817 /* libcocos2dx Mac.a */ = { 15A8A4171834BDA200142BE0 /* libcocos2dx Mac.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libcocos2dx Mac.a"; path = "libcocos2dx Mac.a";
remoteRef = 1AF4C3CC1786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A4161834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3CF1786631700122817 /* libcocos2dx-extensions Mac.a */ = { 15A8A4191834BDA200142BE0 /* libcocos2dx-extensions Mac.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libcocos2dx-extensions Mac.a"; path = "libcocos2dx-extensions Mac.a";
remoteRef = 1AF4C3CE1786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A4181834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3D11786631700122817 /* libchipmunk Mac.a */ = { 15A8A41B1834BDA200142BE0 /* libchipmunk Mac.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libchipmunk Mac.a"; path = "libchipmunk Mac.a";
remoteRef = 1AF4C3D01786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A41A1834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3D31786631700122817 /* libbox2d Mac.a */ = { 15A8A41D1834BDA200142BE0 /* libbox2d Mac.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libbox2d Mac.a"; path = "libbox2d Mac.a";
remoteRef = 1AF4C3D21786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A41C1834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3D51786631700122817 /* libCocosDenshion Mac.a */ = { 15A8A41F1834BDA200142BE0 /* libCocosDenshion Mac.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libCocosDenshion Mac.a"; path = "libCocosDenshion Mac.a";
remoteRef = 1AF4C3D41786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A41E1834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3D71786631700122817 /* libjsbindings Mac.a */ = { 15A8A4211834BDA200142BE0 /* libjsbindings Mac.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libjsbindings Mac.a"; path = "libjsbindings Mac.a";
remoteRef = 1AF4C3D61786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A4201834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3D91786631700122817 /* libluabindings Mac.a */ = { 15A8A4231834BDA200142BE0 /* libluabindings Mac.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libluabindings Mac.a"; path = "libluabindings Mac.a";
remoteRef = 1AF4C3D81786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A4221834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3DB1786631700122817 /* libcocos2dx iOS.a */ = { 15A8A4251834BDA200142BE0 /* libcocos2dx iOS.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libcocos2dx iOS.a"; path = "libcocos2dx iOS.a";
remoteRef = 1AF4C3DA1786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A4241834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3DD1786631700122817 /* libcocos2dx-extensions iOS.a */ = { 15A8A4271834BDA200142BE0 /* libcocos2dx-extensions iOS.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libcocos2dx-extensions iOS.a"; path = "libcocos2dx-extensions iOS.a";
remoteRef = 1AF4C3DC1786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A4261834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3DF1786631700122817 /* libchipmunk iOS.a */ = { 15A8A4291834BDA200142BE0 /* libchipmunk iOS.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libchipmunk iOS.a"; path = "libchipmunk iOS.a";
remoteRef = 1AF4C3DE1786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A4281834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3E11786631700122817 /* libbox2d iOS.a */ = { 15A8A42B1834BDA200142BE0 /* libbox2d iOS.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libbox2d iOS.a"; path = "libbox2d iOS.a";
remoteRef = 1AF4C3E01786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A42A1834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3E31786631700122817 /* libCocosDenshion iOS.a */ = { 15A8A42D1834BDA200142BE0 /* libCocosDenshion iOS.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libCocosDenshion iOS.a"; path = "libCocosDenshion iOS.a";
remoteRef = 1AF4C3E21786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A42C1834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3E51786631700122817 /* libjsbindings iOS.a */ = { 15A8A42F1834BDA200142BE0 /* libjsbindings iOS.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libjsbindings iOS.a"; path = "libjsbindings iOS.a";
remoteRef = 1AF4C3E41786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A42E1834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
1AF4C3E71786631700122817 /* libluabindings iOS.a */ = { 15A8A4311834BDA200142BE0 /* libluabindings iOS.a */ = {
isa = PBXReferenceProxy; isa = PBXReferenceProxy;
fileType = archive.ar; fileType = archive.ar;
path = "libluabindings iOS.a"; path = "libluabindings iOS.a";
remoteRef = 1AF4C3E61786631700122817 /* PBXContainerItemProxy */; remoteRef = 15A8A4301834BDA200142BE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
/* End PBXReferenceProxy section */ /* End PBXReferenceProxy section */
@ -696,30 +694,34 @@
isa = PBXResourcesBuildPhase; isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
15A8A4711834C6AD00142BE0 /* DeprecatedEnum.lua in Resources */,
5023814817EBBCE400990C9B /* background.mp3 in Resources */, 5023814817EBBCE400990C9B /* background.mp3 in Resources */,
5023814917EBBCE400990C9B /* background.ogg in Resources */, 5023814917EBBCE400990C9B /* background.ogg in Resources */,
5023814A17EBBCE400990C9B /* crop.png in Resources */, 5023814A17EBBCE400990C9B /* crop.png in Resources */,
15A8A4811834C6AD00142BE0 /* StudioConstants.lua in Resources */,
15A8A4791834C6AD00142BE0 /* luaj.lua in Resources */,
15A8A4671834C6AD00142BE0 /* CCBReaderLoad.lua in Resources */,
5023814B17EBBCE400990C9B /* dog.png in Resources */, 5023814B17EBBCE400990C9B /* dog.png in Resources */,
5023814D17EBBCE400990C9B /* effect1.wav in Resources */, 5023814D17EBBCE400990C9B /* effect1.wav in Resources */,
15A8A46B1834C6AD00142BE0 /* Cocos2dConstants.lua in Resources */,
5023814F17EBBCE400990C9B /* farm.jpg in Resources */, 5023814F17EBBCE400990C9B /* farm.jpg in Resources */,
15A8A4771834C6AD00142BE0 /* json.lua in Resources */,
15A8A46F1834C6AD00142BE0 /* DeprecatedClass.lua in Resources */,
15A8A47F1834C6AD00142BE0 /* OpenglConstants.lua in Resources */,
5023815017EBBCE400990C9B /* fonts in Resources */, 5023815017EBBCE400990C9B /* fonts in Resources */,
15A8A47D1834C6AD00142BE0 /* Opengl.lua in Resources */,
15A8A4691834C6AD00142BE0 /* Cocos2d.lua in Resources */,
15A8A4731834C6AD00142BE0 /* DeprecatedOpenglEnum.lua in Resources */,
5023815117EBBCE400990C9B /* hello.lua in Resources */, 5023815117EBBCE400990C9B /* hello.lua in Resources */,
15A8A46D1834C6AD00142BE0 /* Deprecated.lua in Resources */,
5023815217EBBCE400990C9B /* hello2.lua in Resources */, 5023815217EBBCE400990C9B /* hello2.lua in Resources */,
15A8A4751834C6AD00142BE0 /* DrawPrimitives.lua in Resources */,
15A8A47B1834C6AD00142BE0 /* luaoc.lua in Resources */,
5023815317EBBCE400990C9B /* land.png in Resources */, 5023815317EBBCE400990C9B /* land.png in Resources */,
5023815617EBBCE400990C9B /* menu1.png in Resources */, 5023815617EBBCE400990C9B /* menu1.png in Resources */,
5023815717EBBCE400990C9B /* menu2.png in Resources */, 5023815717EBBCE400990C9B /* menu2.png in Resources */,
5023815917EBBCE400990C9B /* AudioEngine.lua in Resources */,
5023817617EBBE3400990C9B /* Icon.icns in Resources */, 5023817617EBBE3400990C9B /* Icon.icns in Resources */,
5023815A17EBBCE400990C9B /* CCBReaderLoad.lua in Resources */, 15A8A4651834C6AD00142BE0 /* AudioEngine.lua in Resources */,
5023815B17EBBCE400990C9B /* Cocos2dConstants.lua in Resources */,
5023815C17EBBCE400990C9B /* Deprecated.lua in Resources */,
5023815D17EBBCE400990C9B /* DrawPrimitives.lua in Resources */,
5023815E17EBBCE400990C9B /* Opengl.lua in Resources */,
5023816117EBBCE400990C9B /* OpenglConstants.lua in Resources */,
5023816217EBBCE400990C9B /* Cocos2d.lua in Resources */,
5023816317EBBCE400990C9B /* DeprecatedClass.lua in Resources */,
5023816417EBBCE400990C9B /* DeprecatedEnum.lua in Resources */,
5023816717EBBCE400990C9B /* DeprecatedOpenglEnum.lua in Resources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -727,45 +729,49 @@
isa = PBXResourcesBuildPhase; isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
15A8A46E1834C6AD00142BE0 /* DeprecatedClass.lua in Resources */,
15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */,
5023811D17EBBCAC00990C9B /* Icon-120.png in Resources */, 5023811D17EBBCAC00990C9B /* Icon-120.png in Resources */,
15A8A47E1834C6AD00142BE0 /* OpenglConstants.lua in Resources */,
5091733B17ECE17A00D62437 /* Icon-100.png in Resources */, 5091733B17ECE17A00D62437 /* Icon-100.png in Resources */,
15A8A4781834C6AD00142BE0 /* luaj.lua in Resources */,
1AC3622F16D47C5C000847F2 /* background.mp3 in Resources */, 1AC3622F16D47C5C000847F2 /* background.mp3 in Resources */,
1AC3623016D47C5C000847F2 /* background.ogg in Resources */, 1AC3623016D47C5C000847F2 /* background.ogg in Resources */,
1AC3623116D47C5C000847F2 /* crop.png in Resources */, 1AC3623116D47C5C000847F2 /* crop.png in Resources */,
15A8A47C1834C6AD00142BE0 /* Opengl.lua in Resources */,
15A8A4741834C6AD00142BE0 /* DrawPrimitives.lua in Resources */,
1AC3623216D47C5C000847F2 /* dog.png in Resources */, 1AC3623216D47C5C000847F2 /* dog.png in Resources */,
5023811B17EBBCAC00990C9B /* Default@2x.png in Resources */, 5023811B17EBBCAC00990C9B /* Default@2x.png in Resources */,
1AC3623316D47C5C000847F2 /* effect1.wav in Resources */, 1AC3623316D47C5C000847F2 /* effect1.wav in Resources */,
15A8A4681834C6AD00142BE0 /* Cocos2d.lua in Resources */,
5091733617ECE17A00D62437 /* Icon-29.png in Resources */, 5091733617ECE17A00D62437 /* Icon-29.png in Resources */,
15A8A4801834C6AD00142BE0 /* StudioConstants.lua in Resources */,
5023811917EBBCAC00990C9B /* Default-568h@2x.png in Resources */, 5023811917EBBCAC00990C9B /* Default-568h@2x.png in Resources */,
1AC3623416D47C5C000847F2 /* farm.jpg in Resources */, 1AC3623416D47C5C000847F2 /* farm.jpg in Resources */,
1AC3623516D47C5C000847F2 /* fonts in Resources */, 1AC3623516D47C5C000847F2 /* fonts in Resources */,
15A8A4721834C6AD00142BE0 /* DeprecatedOpenglEnum.lua in Resources */,
15A8A4701834C6AD00142BE0 /* DeprecatedEnum.lua in Resources */,
15A8A46A1834C6AD00142BE0 /* Cocos2dConstants.lua in Resources */,
1AC3623616D47C5C000847F2 /* hello.lua in Resources */, 1AC3623616D47C5C000847F2 /* hello.lua in Resources */,
5091733917ECE17A00D62437 /* Icon-58.png in Resources */, 5091733917ECE17A00D62437 /* Icon-58.png in Resources */,
15A8A4641834C6AD00142BE0 /* AudioEngine.lua in Resources */,
1AC3623716D47C5C000847F2 /* hello2.lua in Resources */, 1AC3623716D47C5C000847F2 /* hello2.lua in Resources */,
1AC3623816D47C5C000847F2 /* land.png in Resources */, 1AC3623816D47C5C000847F2 /* land.png in Resources */,
15A8A4661834C6AD00142BE0 /* CCBReaderLoad.lua in Resources */,
5023811F17EBBCAC00990C9B /* Icon-152.png in Resources */, 5023811F17EBBCAC00990C9B /* Icon-152.png in Resources */,
5023812017EBBCAC00990C9B /* Icon-57.png in Resources */, 5023812017EBBCAC00990C9B /* Icon-57.png in Resources */,
1AC3623916D47C5C000847F2 /* menu1.png in Resources */, 1AC3623916D47C5C000847F2 /* menu1.png in Resources */,
15A8A47A1834C6AD00142BE0 /* luaoc.lua in Resources */,
1AC3623A16D47C5C000847F2 /* menu2.png in Resources */, 1AC3623A16D47C5C000847F2 /* menu2.png in Resources */,
5023812217EBBCAC00990C9B /* Icon-76.png in Resources */, 5023812217EBBCAC00990C9B /* Icon-76.png in Resources */,
15A8A46C1834C6AD00142BE0 /* Deprecated.lua in Resources */,
5091733A17ECE17A00D62437 /* Icon-80.png in Resources */, 5091733A17ECE17A00D62437 /* Icon-80.png in Resources */,
1A0227AC17A3AA3500B867AD /* AudioEngine.lua in Resources */,
1A0227AD17A3AA3500B867AD /* CCBReaderLoad.lua in Resources */,
1A0227AE17A3AA3500B867AD /* Cocos2dConstants.lua in Resources */,
1A0227AF17A3AA3500B867AD /* Deprecated.lua in Resources */,
1A0227B017A3AA3500B867AD /* DrawPrimitives.lua in Resources */,
5091733717ECE17A00D62437 /* Icon-40.png in Resources */, 5091733717ECE17A00D62437 /* Icon-40.png in Resources */,
1A0227B117A3AA3500B867AD /* Opengl.lua in Resources */,
5023811E17EBBCAC00990C9B /* Icon-144.png in Resources */, 5023811E17EBBCAC00990C9B /* Icon-144.png in Resources */,
15A8A4761834C6AD00142BE0 /* json.lua in Resources */,
5023811A17EBBCAC00990C9B /* Default.png in Resources */, 5023811A17EBBCAC00990C9B /* Default.png in Resources */,
1A0227B217A3AA3500B867AD /* OpenglConstants.lua in Resources */,
5091733817ECE17A00D62437 /* Icon-50.png in Resources */, 5091733817ECE17A00D62437 /* Icon-50.png in Resources */,
1ADB273817CCA0C200634B5E /* Cocos2d.lua in Resources */,
1525771E17CEFBD400BE417B /* DeprecatedClass.lua in Resources */,
1525771F17CEFBD400BE417B /* DeprecatedEnum.lua in Resources */,
5023812117EBBCAC00990C9B /* Icon-72.png in Resources */, 5023812117EBBCAC00990C9B /* Icon-72.png in Resources */,
5023811C17EBBCAC00990C9B /* Icon-114.png in Resources */,
1525772017CEFBD400BE417B /* DeprecatedOpenglEnum.lua in Resources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -794,24 +800,11 @@
}; };
/* End PBXSourcesBuildPhase section */ /* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
5023816E17EBBDBE00990C9B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "build-all-libs Mac";
targetProxy = 5023816D17EBBDBE00990C9B /* PBXContainerItemProxy */;
};
5023817017EBBDC600990C9B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "build-all-libs iOS";
targetProxy = 5023816F17EBBDC600990C9B /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */ /* Begin XCBuildConfiguration section */
5023816917EBBCE400990C9B /* Debug */ = { 5023816917EBBCE400990C9B /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = YES;
ARCHS = "$(ARCHS_STANDARD_64_BIT)"; ARCHS = "$(ARCHS_STANDARD_64_BIT)";
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@ -821,30 +814,9 @@
CC_TARGET_OS_MAC, CC_TARGET_OS_MAC,
"$(inherited)", "$(inherited)",
); );
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = "";
"\"$(SRCROOT)/../../../cocos2dx\"",
"\"$(SRCROOT)/../../../cocos2dx/kazmath/include\"",
"\"$(SRCROOT)/../../../scripting/lua/tolua\"",
"\"$(SRCROOT)/../../../scripting/lua/luajit/include\"",
"\"$(SRCROOT)/../../../scripting/auto-generated/lua-bindings\"",
"\"$(SRCROOT)/../../../scripting/lua/cocos2dx_support\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/mac\"",
"\"$(SRCROOT)/../../../cocos2dx/include\"",
"\"$(SRCROOT)/../../../CocosDenshion/include\"",
"\"$(SRCROOT)/../../../external/chipmunk/include/chipmunk\"",
"\"$(SRCROOT)/../../../external/chipmunk/include/constraints\"",
"\"$(SRCROOT)/../../../external\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/mac\"",
"\"$(SRCROOT)/../../../extensions\"",
"\"$(SRCROOT)/../../../external/libwebsockets/mac/include\"",
);
INFOPLIST_FILE = mac/Info.plist; INFOPLIST_FILE = mac/Info.plist;
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = "";
"$(SRCROOT)/../../../cocos2dx/platform/third_party/mac/libraries",
"$(inherited)",
"\"$(SRCROOT)/../../../scripting/lua/luajit/mac\"",
"\"$(SRCROOT)/../../../external/libwebsockets/mac/lib\"",
);
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"-image_base", "-image_base",
100000000, 100000000,
@ -852,13 +824,14 @@
10000, 10000,
); );
SDKROOT = macosx; SDKROOT = macosx;
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../cocos $(SRCROOT)/../../../cocos/base $(SRCROOT)/../../../cocos/2d $(SRCROOT)/../../../cocos/physics $(SRCROOT)/../../../cocos/math/kazmath/include $(SRCROOT)/../../../cocos/2d/platform/mac $(SRCROOT)/../../../cocos/audio/include $(SRCROOT)/../../../cocos/editor-support $(SRCROOT)/../../../cocos/gui $(SRCROOT)/../../../external/chipmunk/include/chipmunk $(SRCROOT)/../../../external $(SRCROOT)/../../../external/glfw3/include/mac $(SRCROOT)/../../../cocos/scripting/lua/bindings $(SRCROOT)/../../../external/lua/luajit/include $(SRCROOT)/../../../external/lua/tolua";
}; };
name = Debug; name = Debug;
}; };
5023816A17EBBCE400990C9B /* Release */ = { 5023816A17EBBCE400990C9B /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = YES;
ARCHS = "$(ARCHS_STANDARD_64_BIT)"; ARCHS = "$(ARCHS_STANDARD_64_BIT)";
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
@ -867,30 +840,9 @@
CC_TARGET_OS_MAC, CC_TARGET_OS_MAC,
"$(inherited)", "$(inherited)",
); );
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = "";
"\"$(SRCROOT)/../../../cocos2dx\"",
"\"$(SRCROOT)/../../../cocos2dx/kazmath/include\"",
"\"$(SRCROOT)/../../../scripting/lua/tolua\"",
"\"$(SRCROOT)/../../../scripting/lua/luajit/include\"",
"\"$(SRCROOT)/../../../scripting/auto-generated/lua-bindings\"",
"\"$(SRCROOT)/../../../scripting/lua/cocos2dx_support\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/mac\"",
"\"$(SRCROOT)/../../../cocos2dx/include\"",
"\"$(SRCROOT)/../../../CocosDenshion/include\"",
"\"$(SRCROOT)/../../../external/chipmunk/include/chipmunk\"",
"\"$(SRCROOT)/../../../external/chipmunk/include/constraints\"",
"\"$(SRCROOT)/../../../external\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/mac\"",
"\"$(SRCROOT)/../../../extensions\"",
"\"$(SRCROOT)/../../../external/libwebsockets/mac/include\"",
);
INFOPLIST_FILE = mac/Info.plist; INFOPLIST_FILE = mac/Info.plist;
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = "";
"$(SRCROOT)/../../../cocos2dx/platform/third_party/mac/libraries",
"$(inherited)",
"\"$(SRCROOT)/../../../scripting/lua/luajit/mac\"",
"\"$(SRCROOT)/../../../external/libwebsockets/mac/lib\"",
);
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"-image_base", "-image_base",
100000000, 100000000,
@ -898,6 +850,7 @@
10000, 10000,
); );
SDKROOT = macosx; SDKROOT = macosx;
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../cocos $(SRCROOT)/../../../cocos/base $(SRCROOT)/../../../cocos/2d $(SRCROOT)/../../../cocos/physics $(SRCROOT)/../../../cocos/math/kazmath/include $(SRCROOT)/../../../cocos/2d/platform/mac $(SRCROOT)/../../../cocos/audio/include $(SRCROOT)/../../../cocos/editor-support $(SRCROOT)/../../../cocos/gui $(SRCROOT)/../../../external/chipmunk/include/chipmunk $(SRCROOT)/../../../external $(SRCROOT)/../../../external/glfw3/include/mac $(SRCROOT)/../../../cocos/scripting/lua/bindings $(SRCROOT)/../../../external/lua/luajit/include $(SRCROOT)/../../../external/lua/tolua";
}; };
name = Release; name = Release;
}; };
@ -973,7 +926,7 @@
F293B6C515EB7BEA00256477 /* Debug */ = { F293B6C515EB7BEA00256477 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = YES;
CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_IDENTITY = "iPhone Developer";
COMPRESS_PNG_FILES = NO; COMPRESS_PNG_FILES = NO;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@ -983,41 +936,20 @@
CC_TARGET_OS_IPHONE, CC_TARGET_OS_IPHONE,
"$(inherited)", "$(inherited)",
); );
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = "";
"\"$(SRCROOT)/../../../cocos2dx\"",
"\"$(SRCROOT)/../../../cocos2dx/kazmath/include\"",
"\"$(SRCROOT)/../../../scripting/lua/tolua\"",
"\"$(SRCROOT)/../../../scripting/lua/luajit/include\"",
"\"$(SRCROOT)/../../../scripting/auto-generated/lua-bindings\"",
"\"$(SRCROOT)/../../../scripting/lua/cocos2dx_support\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/ios\"",
"\"$(SRCROOT)/../../../cocos2dx/include\"",
"\"$(SRCROOT)/../../../audio/include\"",
"\"$(SRCROOT)/../../../external/chipmunk/include/chipmunk\"",
"\"$(SRCROOT)/../../../external/chipmunk/include/constraints\"",
"\"$(SRCROOT)/../../../external\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/ios/Simulation\"",
"\"$(SRCROOT)/../../../extensions\"",
"\"$(SRCROOT)/../../../external/libwebsockets/ios/include\"",
);
INFOPLIST_FILE = ios/Info.plist; INFOPLIST_FILE = ios/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 5.0; IPHONEOS_DEPLOYMENT_TARGET = 5.0;
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = "";
"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios/libraries",
"$(inherited)",
"\"$(SRCROOT)/../../../scripting/lua/luajit/ios\"",
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
);
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../cocos $(SRCROOT)/../../../cocos/base $(SRCROOT)/../../../cocos/2d $(SRCROOT)/../../../cocos/physics $(SRCROOT)/../../../cocos/math/kazmath/include $(SRCROOT)/../../../cocos/2d/platform/ios $(SRCROOT)/../../../cocos/audio/include $(SRCROOT)/../../../cocos/editor-support $(SRCROOT)/../../../cocos/gui $(SRCROOT)/../../../external/chipmunk/include/chipmunk $(SRCROOT)/../../../external $(SRCROOT)/../../../cocos/scripting/lua/bindings $(SRCROOT)/../../../external/lua/luajit/include $(SRCROOT)/../../../external/lua/tolua";
}; };
name = Debug; name = Debug;
}; };
F293B6C615EB7BEA00256477 /* Release */ = { F293B6C615EB7BEA00256477 /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = YES;
CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_IDENTITY = "iPhone Developer";
COMPRESS_PNG_FILES = NO; COMPRESS_PNG_FILES = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
@ -1026,34 +958,13 @@
CC_TARGET_OS_IPHONE, CC_TARGET_OS_IPHONE,
"$(inherited)", "$(inherited)",
); );
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = "";
"\"$(SRCROOT)/../../../cocos2dx\"",
"\"$(SRCROOT)/../../../cocos2dx/kazmath/include\"",
"\"$(SRCROOT)/../../../scripting/lua/tolua\"",
"\"$(SRCROOT)/../../../scripting/lua/luajit/include\"",
"\"$(SRCROOT)/../../../scripting/auto-generated/lua-bindings\"",
"\"$(SRCROOT)/../../../scripting/lua/cocos2dx_support\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/ios\"",
"\"$(SRCROOT)/../../../cocos2dx/include\"",
"\"$(SRCROOT)/../../../audio/include\"",
"\"$(SRCROOT)/../../../external/chipmunk/include/chipmunk\"",
"\"$(SRCROOT)/../../../external/chipmunk/include/constraints\"",
"\"$(SRCROOT)/../../../external\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios\"",
"\"$(SRCROOT)/../../../cocos2dx/platform/ios/Simulation\"",
"\"$(SRCROOT)/../../../extensions\"",
"\"$(SRCROOT)/../../../external/libwebsockets/ios/include\"",
);
INFOPLIST_FILE = ios/Info.plist; INFOPLIST_FILE = ios/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 5.0; IPHONEOS_DEPLOYMENT_TARGET = 5.0;
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = "";
"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios/libraries",
"$(inherited)",
"\"$(SRCROOT)/../../../scripting/lua/luajit/ios\"",
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
);
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../cocos $(SRCROOT)/../../../cocos/base $(SRCROOT)/../../../cocos/2d $(SRCROOT)/../../../cocos/physics $(SRCROOT)/../../../cocos/math/kazmath/include $(SRCROOT)/../../../cocos/2d/platform/ios $(SRCROOT)/../../../cocos/audio/include $(SRCROOT)/../../../cocos/editor-support $(SRCROOT)/../../../cocos/gui $(SRCROOT)/../../../external/chipmunk/include/chipmunk $(SRCROOT)/../../../external $(SRCROOT)/../../../cocos/scripting/lua/bindings $(SRCROOT)/../../../external/lua/luajit/include $(SRCROOT)/../../../external/lua/tolua";
}; };
name = Release; name = Release;
}; };

View File

@ -7,7 +7,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloLua", "HelloLua.vcxpro
{DDC3E27F-004D-4DD4-9DD3-931A013D2159} = {DDC3E27F-004D-4DD4-9DD3-931A013D2159} {DDC3E27F-004D-4DD4-9DD3-931A013D2159} = {DDC3E27F-004D-4DD4-9DD3-931A013D2159}
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}
{929480E7-23C0-4DF6-8456-096D71547116} = {929480E7-23C0-4DF6-8456-096D71547116}
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}
EndProjectSection EndProjectSection
EndProject EndProject
@ -15,12 +14,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\..\..\e
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}
{929480E7-23C0-4DF6-8456-096D71547116} = {929480E7-23C0-4DF6-8456-096D71547116}
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libBox2D", "..\..\..\external\Box2D\proj.win32\Box2D.vcxproj", "{929480E7-23C0-4DF6-8456-096D71547116}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\..\..\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\..\..\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
@ -35,6 +31,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosBuilder", "..\..\..
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\..\..\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\..\..\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}"
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\..\..\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32 Debug|Win32 = Debug|Win32
@ -49,10 +47,6 @@ Global
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32
{929480E7-23C0-4DF6-8456-096D71547116}.Debug|Win32.ActiveCfg = Debug|Win32
{929480E7-23C0-4DF6-8456-096D71547116}.Debug|Win32.Build.0 = Debug|Win32
{929480E7-23C0-4DF6-8456-096D71547116}.Release|Win32.ActiveCfg = Release|Win32
{929480E7-23C0-4DF6-8456-096D71547116}.Release|Win32.Build.0 = Release|Win32
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32
@ -81,6 +75,10 @@ Global
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -84,7 +84,7 @@
<TargetMachine>MachineX86</TargetMachine> <TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>lua51.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link> </Link>
<ResourceCompile> <ResourceCompile>
<Culture>0x0409</Culture> <Culture>0x0409</Culture>
@ -187,6 +187,9 @@ xcopy /Y /Q "$(ProjectDir)..\..\..\external\websockets\prebuilt\win32\*.*" "$(Ou
<ProjectReference Include="..\..\..\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj"> <ProjectReference Include="..\..\..\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj">
<Project>{b57cf53f-2e49-4031-9822-047cc0e6bde2}</Project> <Project>{b57cf53f-2e49-4031-9822-047cc0e6bde2}</Project>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\..\..\cocos\gui\proj.win32\libGUI.vcxproj">
<Project>{7e06e92c-537a-442b-9e4a-4761c84f8a1a}</Project>
</ProjectReference>
<ProjectReference Include="..\..\..\cocos\network\proj.win32\libNetwork.vcxproj"> <ProjectReference Include="..\..\..\cocos\network\proj.win32\libNetwork.vcxproj">
<Project>{df2638c0-8128-4847-867c-6eafe3dee7b5}</Project> <Project>{df2638c0-8128-4847-867c-6eafe3dee7b5}</Project>
</ProjectReference> </ProjectReference>