Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20

This commit is contained in:
James Chen 2012-06-08 17:15:32 +08:00
commit a40dfa427a
4 changed files with 13 additions and 0 deletions

View File

@ -30,6 +30,8 @@
#include "cocos2d.h"
#include "CCBCustomClass.h"
#define CCB_READER_VERSION 2
NS_CC_EXT_BEGIN
/**

View File

@ -23,6 +23,8 @@
THE SOFTWARE.
****************************************************************************/
#if CCB_READER_VERSION == 1
#include "CCBReader.h"
#include "CCBCustomClass.h"
@ -705,3 +707,4 @@ CCNode* CCBReader::nodeGraphFromFile(const char* file, CCNode* owner)
return nodeGraphFromDictionary(dict, NULL, ccbFileDir.c_str(), owner);
}
#endif

View File

@ -23,6 +23,8 @@
THE SOFTWARE.
****************************************************************************/
#if CCB_READER_VERSION == 2
#include "CCBReader.h"
#include "CCBCustomClass.h"
@ -766,3 +768,4 @@ CCNode* CCBReader::nodeGraphFromFile(const char* file, CCNode* owner)
return nodeGraphFromDictionary(dict, NULL, ccbFileDir.c_str(), owner);
}
#endif

View File

@ -24,6 +24,9 @@ THE SOFTWARE.
#include "CCThread.h"
// iOS already has a CCThread.mm
#if (CC_TARGET_PLATFORM != CC_PLATFORM_IOS)
NS_CC_BEGIN
CCThread::~CCThread()
@ -37,3 +40,5 @@ void CCThread::createAutoreleasePool()
}
NS_CC_END
#endif