James Chen
c5cf23c859
issue #1310 : First commit since sync to rc2.
2012-06-08 14:11:48 +08:00
minggo
cc16320445
issue #1310 : syncronize actions
2012-06-08 13:55:28 +08:00
minggo
49d8ac72f6
fixed #1202:remove CCFileData
2012-06-07 14:13:44 +08:00
Nicolas Gramlich
0702becaf5
CCAutoreleasepool: Fixed typo.
2012-06-05 16:22:42 -07:00
James Chen
edfb8c1f9c
issue #1190 : used std::string as key of CCDictionary. Updated CCString.pkg, CCArray.pkg, CCDictionary.pkg.
2012-04-26 11:39:49 +08:00
James Chen
0f36a89c7e
issue #1188 : Refactor directory. Compile successfully on android and win32(vs2008 debug).
2012-04-25 16:18:04 +08:00
James Chen
521155e9e2
issue #1177 : Added some common methods for CCPoint,CCSize,CCRect. Added MutiTouchTest demo.
2012-04-23 14:30:38 +08:00
James Chen
230b8a386b
issue #1176 : Changed linebreak symbol to UNIX format ('\n'),replaced 'tab'
...
with four spaces. Also,
1. Used macro NS_CC_BEGIN instead of namespace cocos2d {, NS_CC_END instead
of }.
2. Removed some unused files.
3. Renamed the name of some folders, for example,
"test.android"-->"proj.android" .
2012-04-19 14:35:52 +08:00
James Chen
7d7baf81a2
refactor updated...
2012-04-18 18:43:45 +08:00
James Chen
044729dab9
Updated CCControlExtension
2012-04-16 23:16:03 +08:00
James Chen
0af443a56f
issue #1166 : Checked whether memory is allocated successfully in CCString::initWithFormatAndValist function.
2012-04-16 14:27:49 +08:00
James Chen
9ace0d2fdc
Fixed memory leaks in CCString and CCDictionary, Updated CCFileUtils_ios.mm.Remove inline prefix for some member function of CCString, so that make it compiled successfully on android and ios.
2012-04-16 10:57:37 +08:00
James Chen
d01f1277af
optimize data struct.
2012-04-14 19:11:57 +08:00
James Chen
94e056d964
fixed #1160 : Renamed 'CGFloat' to 'CCFloat'.
2012-04-13 14:09:02 +08:00
James Chen
2885664c85
fixed #1136 : Fixed some bugs as follows:
...
1. Using std::string parameter as the key of CCDictionary
2. Deep copy for CCDictionary and CCArray, the classes of elements's type must implement copyWithZone.
3. Added toBool() function to CCString.
4. Retina support for all platforms.
5. Include "CCString.h" and "cocoa/CCNS.h" in cocos2d.h.
6. Added a new constructor(CCArray::CCArray(unsigned int capacity)) for CCArray. And fixed a bug in CCArray.
7. Fixed a memory leak in CCLabelBMFont.cpp.
8. Fixed an error in strings.xml.
2012-04-10 17:17:24 +08:00
James Chen
5ad6c38500
Fixed two memory leaks in CCArray::copyWithZone and CCDictionary::copyWithZone.
2012-04-10 15:01:29 +08:00
James Chen
4baebb8cab
issue #1094 : renamed CCPoolManager::getInstance() to CCPoolManager::sharedPoolManager(), and added CCPoolManager::purgePoolManager() method. Using pointer rather than global variable to make a singleton.
...
fixed a memory leak in CCParticleSystem.
2012-04-08 12:50:15 +08:00
James Chen
64665fe7c8
issue #1094 : Make ParticleBatchNode works on win32.
2012-04-07 12:02:40 +08:00
James Chen
6ce06bd906
issue #1056 : Remove CCMutableArray and CCMutableDictionary template, offer CCDictionary to improve the performance of dictionary by 60%, it means that CCDictionary can save about 2/3 time cost.
2012-03-20 15:04:53 +08:00
James Chen
9203b60fb0
add CCDictionary based on UTHASH, improve the performance.
2012-03-19 14:53:44 +08:00
YuLei Liao
6ebdf9cb4b
* add CCScriptSupport
2012-02-09 14:07:11 +08:00
YuLei Liao
69a7e2a2e3
* change unsigned int CCObject::m_uLuaID -> int CCObject::m_nLuaID, because LUA_INTEGER is int.
2012-02-04 11:34:17 +08:00
dumganhar
6fbf2f1d09
move SelectorProtocol to CCObject
2012-02-03 15:05:29 +08:00
YuLei Liao
318a4c5ba8
merge upstream/master to master
2011-12-17 12:02:24 +08:00
Didiet Noor
00e504356a
Fixing Warning on CLang 3.0 on XCode 4.2
2011-12-15 01:46:55 +08:00
dumganhar
baf3755142
remove some '__QNX__' macros
2011-12-12 16:14:12 +08:00
dumganhar
bfdb908d01
add Cocos2dx project
...
add HelloWorld project and rename proj.blackberry fold to proj.qnx
2011-12-06 14:56:37 +08:00
YuLei Liao
4bf68e79fd
* merge upstream/master to master
2011-11-29 19:56:20 +08:00
YuLei Liao
ebd381af26
* merge luafix-0.9.2 to master
2011-11-29 19:20:49 +08:00
YuLei Liao
0739c1f262
* rename LuaEngine to CCLuaEngine
...
* add #if LUA_ENGINE
* format source files
2011-11-29 15:42:12 +08:00
minggo
f0d22ae504
issue #879 : replase assert with CCAssert
2011-11-28 17:28:43 +08:00
YuLei Liao
4ff2bf96d1
* ccConfig: add LUA_ENGINE macro, turn on Lua support when LUA_ENGINE defined
2011-11-23 13:41:48 +08:00
YuLei Liao
151b373239
* ccConfig: add LUA_ENGINE macro, turn on Lua support when LUA_ENGINE defined
2011-11-23 00:58:31 +08:00
YuLei Liao
a1f8433a47
* fix merge error 4
2011-11-21 18:50:19 +08:00
YuLei Liao
012ce7a04f
* fix merge error 1
2011-11-21 17:00:56 +08:00
YuLei Liao
7a6253d9aa
* merge cocos2d-1.0.1-x-0.9.2-luafix to master
2011-11-21 16:38:00 +08:00
YuLei Liao
09d12be875
* format cocos2d-x source files
2011-11-18 21:23:54 +08:00
U-zhangxm-PC\zhangxm
d84b6c25be
issue #223 : merge bada branch and fix some error
2011-11-18 18:45:05 +08:00
Leon
785b79d263
fix compile errors under ubuntu 11.10
2011-10-31 23:50:08 -07:00
dumganhar
fd3f496b76
use system orientation
2011-10-13 11:55:48 +08:00
dumganhar
db4d51496e
Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into bada
...
Conflicts:
cocos2dx/platform/CCAccelerometer_platform.h
cocos2dx/platform/CCApplication_platform.h
cocos2dx/platform/CCArchOptimalParticleSystem.h
cocos2dx/platform/CCEGLView_platform.h
cocos2dx/platform/CCPlatformConfig.h
cocos2dx/platform/CCSAXParser.h
cocos2dx/platform/CCStdC.h
tests/AppDelegate.cpp
tests/tests/Box2DTestBed/Tests/EdgeShapes.h
2011-09-29 16:03:37 +08:00
dumganhar
c94adc58b9
changed bada projects directory, add bada macro
2011-09-19 17:53:45 +08:00
dumganhar
3c795073e0
Merge branch 'master' into bada
...
Conflicts:
HelloWorld/iphone/HelloWorld.xcodeproj/project.pbxproj
cocos2dx/CCamera.cpp
cocos2dx/cocoa/NSData.cpp
cocos2dx/label_nodes/CCBitmapFontAtlas.cpp
cocos2dx/platform/CCFileUtils_platform.h
cocos2dx/platform/CCXApplication_platform.h
cocos2dx/platform/CCXCocos2dDefine_platform.h
cocos2dx/platform/CCXEGLView_platform.h
cocos2dx/platform/CCXMath.h
cocos2dx/platform/CCXUIAccelerometer_platform.h
cocos2dx/platform/CCXUIImage_platform.h
cocos2dx/platform/ccxCommon_platform.h
cocos2dx/platform/config_platform.h
cocos2dx/platform/platform.h
cocos2dx/support/base64.cpp
cocos2dx/tileMap_parallax_nodes/CCTMXXMLParser.cpp
tests/AppDelegate.cpp
tests/test.iphone/test.iphone.xcodeproj/project.pbxproj
2011-09-19 13:42:08 +08:00
root
11679d9723
Merge branch 'master' into LinuxPort
2011-08-23 11:49:46 +08:00
minggo
d5457526d4
fixed #689 : the width & height of CCRect should big or equal to 0
2011-08-23 10:46:00 +08:00
minggo
19244406d6
fixed #689 : assert the width and height of rect is big than 0
2011-08-22 14:55:51 +08:00
laschweinski
871abb4a32
Merge branch 'master' into LinuxPort
2011-08-19 13:20:23 +08:00
moadib
a8d87a9976
Non-trivial arguments passed by reference now.
...
Removed unnecessary cocos2d:: prefix inside namespace.
2011-08-17 17:26:26 +04:00
laschweinski
5d20ebe24b
modified: HelloWorld/AppDelegate.cpp
...
modified: HelloWorld/HelloWorldScene.cpp
modified: cocos2dx/cocoa/CCNS.cpp
modified: cocos2dx/include/CCActionInstant.h
modified: cocos2dx/misc_nodes/CCRenderTexture.cpp
modified: cocos2dx/particle_nodes/CCParticleSystemQuad.cpp
modified: cocos2dx/platform/CCAccelerometer_platform.h
modified: cocos2dx/platform/CCApplication_platform.h
modified: cocos2dx/platform/CCArchOptimalParticleSystem.h
modified: cocos2dx/platform/CCCommon.cpp
modified: cocos2dx/platform/CCEGLView_platform.h
modified: cocos2dx/platform/CCGL.cpp
modified: cocos2dx/platform/CCGL.h
modified: cocos2dx/platform/CCImage.cpp
modified: cocos2dx/platform/CCPlatformConfig.h
modified: cocos2dx/platform/CCPlatformMacros.h
modified: cocos2dx/platform/CCSAXParser.h
modified: cocos2dx/platform/CCStdC.h
modified: cocos2dx/support/CCUserDefault.cpp
modified: cocos2dx/support/data_support/ccCArray.h
modified: tests/AppDelegate.cpp
deleted: tests/Res/music.mid
modified: tests/tests/controller.cpp
modified: tests/tests/tests.h
HelloWorld/Linux/
cocos2dx/.settings/
cocos2dx/platform/Linux/
tests/test.linux/
2011-08-17 11:36:54 +08:00
minggo
4694926edb
[android] fixed #609 : retain & release obj in CCSet
2011-07-14 15:32:11 +08:00
Walzer
48420dca0c
fixed #605 , add CC_DLL to pure C methods in CCNS.h
2011-07-12 17:10:10 +08:00
Walzer
348a05a329
fix a typo, CCObject::m_uRefrence -> CCObject::m_uReference
2011-07-07 08:23:31 +08:00
Marat Yakupov
14c43f4246
changed postfix increment of iterators to prefix increment
2011-06-21 09:30:03 +04:00
liswei
1591c7edc8
fixed #512 fix warnings in /Wall flag
2011-06-10 17:51:37 +08:00
minggo
7d52161804
fixed #441 : Initialize pointer in contruction & detect pointer value in destruction
2011-04-01 16:06:53 +08:00
yangws
7e81c56231
Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into 439
...
Conflicts:
cocos2dx/platform/ios/CCFileUtils_ios.mm
2011-03-30 11:05:23 +08:00
yangws
041953151a
issue #439 CCFileData and imageWithImageFile modified on win32.
2011-03-29 11:41:44 +08:00
natural-law
1991a65b0b
Merge branch 'master' into iss391
...
Conflicts:
HelloWorld/ios/HelloWorld.xcodeproj/project.pbxproj
cocos2dx/proj.win32/cocos2d-win32.vcproj
cocos2dx/proj.wophone/Makefile.ARM
cocos2dx/proj.wophone/cocos2d-wophone.vcproj
template/xcode3/cocos2d-x_app/___PROJECTNAME___.xcodeproj/project.pbxproj
template/xcode3/cocos2d-x_box2d_app/___PROJECTNAME___.xcodeproj/project.pbxproj
template/xcode3/cocos2d-x_chipmunk_app/___PROJECTNAME___.xcodeproj/project.pbxproj
tests/test.ios/test.xcodeproj/project.pbxproj
2011-03-29 10:20:57 +08:00
natural-law
28a940ab57
issue #434,refactor class CCFileUtils on win32 and wophone.
2011-03-26 13:52:33 +08:00
natural-law
55143e3b9e
issue #391,implement functions:CCRectFromString, CCPointFromString and CCSizeFromString.
2011-03-24 10:38:08 +08:00
minggo
47173778cc
fixed #409 : rename NSArray UIAlignment
2011-03-18 14:31:29 +08:00
minggo
b5a99f90df
issue #375 : rename file names and object names
2011-03-07 17:11:57 +08:00
walzer
8c47a5b254
fix bug in CGRect::CGRectIntersectsRect(..) method, CGGeometry.cpp, according to this solution http://www.cocos2d-x.org/boards/6/topics/387
2011-01-21 08:54:45 +08:00
minggo
53753b65b5
merge bada platform
2010-12-15 18:05:02 +08:00
natural-law
4d98faabc5
fixed #226 add support read resource file from zip file in cocos2d-uphone
2010-11-29 10:49:43 +08:00
Walzer
820c2f0714
issue #211 cocos2d-x back to cocos2dx
2010-11-18 15:01:42 +00:00
Walzer
b4328354af
issue #211 cocos2dx -> cocos2d-x
2010-11-18 14:07:17 +00:00
yangws
e7502ad66f
Add PowerVR Lib to platform/win32/third_party.
2010-10-10 13:03:11 +00:00
Walzer
371baf3efc
add NSSet::anyObject method
2010-10-01 15:05:05 +00:00
Walzer
1b385bfe20
fix warnings in NSSet & CCXUIImage_uphone. NSSet will alloc std::set in heap, instead of in stack, to avoid compile warning
2010-10-01 06:34:47 +00:00
Walzer
f1c48be489
issue #171 , implement CGRectIntersectsRect
2010-09-29 08:06:03 +00:00
Walzer
b8f59f623d
issue #171 , implement CGRectIntersectsRect
2010-09-29 07:24:51 +00:00
Walzer
d93aae9133
issue #171 , add annotate for protected member variable
2010-09-29 04:03:21 +00:00
yangws
c8439ca79e
change CGPoint CGSize CGRect function's parameter pass by value to pass by reference,
...
impliment CGRectIntersectsRect function
2010-09-29 03:49:38 +00:00
natural-law
44ce8d9c5a
issue #143
...
Clear memory leaks
2010-09-11 08:18:18 +00:00
yangws
4a52e5aaf9
impliment CCXEGLView for uPhone device.
2010-09-06 10:35:24 +00:00
Ming
d52678bca9
issue #61
2010-09-04 03:36:40 +00:00
Ming
05259df015
issue #61 : the destruction of NSObject should be virtual
2010-09-01 04:01:48 +00:00
Ming
c36b833784
issue #81 : remove including header of "platform/platform.h"
2010-08-25 03:44:26 +00:00
Ming
17e866f5ac
issue #61
2010-08-20 01:31:35 +00:00
Walzer
29d9a489b8
issue #18 , debug
2010-08-19 06:11:35 +00:00
Ming
2f638dbe14
issue #55
2010-08-18 06:57:36 +00:00
Walzer
9510be1d72
fixed #41 , complete label
2010-08-12 09:39:25 +00:00
Ming
76f62adf62
fixed #30 : change some header files to include
2010-08-04 08:45:00 +00:00
Ming
7f20bced08
issue #6 : remove unusable files
2010-08-04 08:26:17 +00:00
Walzer
14427a24d7
2010-08-04 07:46:12 +00:00
Ming
52ace69f09
issue #23 : dll export support
2010-08-02 03:13:36 +00:00
Ming
a324e38cb2
issue #21 : change INT32 to int, change UINT to unsigned int
2010-08-02 02:58:00 +00:00
Walzer
88ce1c8f83
issue #7 , implement
2010-07-30 08:35:07 +00:00
yangws
de4cb4fcf7
issue #14 add CCXEGLView attach with EGLTouchDelegate
2010-07-28 10:18:27 +00:00
Ming
9c984b8a34
issue #17 : fixed link error
2010-07-28 07:16:00 +00:00
Walzer
d2f792363c
issue #7 , debug
2010-07-28 05:48:13 +00:00
Ming
7d32899ef6
issue #6 : remove the implementation to NSMutableArray.h
2010-07-28 03:47:40 +00:00
Ming
6337e67cc4
issue #6 : change a function name
2010-07-28 03:42:35 +00:00
Walzer
f6923c09c1
issue #7 , debug
2010-07-28 02:14:27 +00:00
Walzer
eae22d57e1
issue #7 , debug
2010-07-28 02:02:42 +00:00
Walzer
9270186b6b
issue #7 , debug
2010-07-28 01:59:32 +00:00
Walzer
156f0dd7d1
issue #7 , debug
2010-07-28 01:52:37 +00:00
Walzer
81f5f6cce3
issue #7 , modify
2010-07-27 11:52:33 +00:00
Walzer
3c798a5c26
issue #7 , add allKeys() and allKeysForObject() in NSMutableDictionary.h, implement initPremultipliedATextureWithImage() in CCTexture2D.cpp,but still some questions
2010-07-27 09:55:06 +00:00