James Chen
2c1b26acf8
issue #2397 : EGLView::sharedOpenGLView() --> EGLView::getInstance()
2013-07-12 13:11:21 +08:00
James Chen
a678d12615
issue #2397 : FileUtils::sharedFileUtils --> FileUtils::getInstance() for all platforms
2013-07-12 12:03:39 +08:00
James Chen
88a28b041e
issue #2397 : Director::sharedDirector --> Director::getInstance() for all files.
2013-07-12 11:50:36 +08:00
Ricardo Quesada
cf262c28e2
getInstance() / destroyInstance() are used...
...
... instead of sharedXXX / purgeXXX.
They are more C++ friendly, and also easier to remember.
common files + Mac files + iOS files + tests/samples files were updated.
The old methods are deprecated now.
2013-07-11 15:24:23 -07:00
James Chen
a5470aaa45
Minor fix in BezierTo::initWithDuration and BezierTo::clone.
2013-07-11 15:41:05 +08:00
James Chen
f414803e92
Minor fix of PR 3128.
2013-07-11 15:36:00 +08:00
Ricardo Quesada
48b1ed9f8f
re adds copy() as a deprecated method
...
...in order to make easier the port to v3.0
2013-07-10 18:11:37 -07:00
minggo
bbaa938cf7
Merge pull request #3121 from tks2shimizu/develop
...
Add append function for String class.
2013-07-10 00:58:43 -07:00
minggo
df53e5235c
Merge pull request #3125 from dabingnn/Iss2386-ClippingNode-AsChild-Bug
...
closed issue #2386 : ClippingNode works wrongly when being set as a child
2013-07-10 00:54:44 -07:00
minggo
630937aa3d
Merge pull request #3124 from dumganhar/rename-method
...
issue #2300 : A fix of missing invoking 'initXXX' in clone method.(FadeOut, DelayTime).
2013-07-10 00:49:58 -07:00
Huabing.Xu
010a33c009
closed issue #2386 : Fix bug : add a new method to clear the stencil buffer bit used by ClippingNode
2013-07-10 15:33:43 +08:00
James Chen
146914b288
Merge pull request #3123 from pyrasis/tizen_2.2
...
Support Tizen 2.2 SDK
2013-07-10 00:15:31 -07:00
James Chen
d830bb5f96
'tile' --> 'getTile', 'orignalTile' --> 'getOrignalTile'
2013-07-10 14:17:42 +08:00
James Chen
a6db6db334
issue #2300 : A fix of missing invoking 'initXXX' in clone method.(FadeOut, DelayTime).
2013-07-10 14:16:42 +08:00
Lee, Jae-Hong
9322e5594b
Support Tizen 2.2 SDK.
...
- Update project files.
- based on develop branch.
- HelloCpp, SimpleGame, HelloLua, TestLua available to build.
2013-07-10 13:04:08 +09:00
minggo
91fc0b2a45
Merge pull request #3114 from dumganhar/iss2388-default-texture
...
closed #2388 : Creating a default texture for CCSprite if setTexture(nullptr) is invoked.
2013-07-09 21:03:20 -07:00
James Chen
86b6f26cee
issue #2388 : Fixing a bug in FadeIn::clone.
2013-07-10 11:58:07 +08:00
James Chen
7594136985
issue #2388 : Updating comments for cc_2x2_white_image variable.
2013-07-10 11:57:35 +08:00
James Chen
ad8a3ac1b5
issue #2388 : One more static_cast.
2013-07-10 10:08:07 +08:00
James Chen
f6e0b6ca0b
issue #2388 : Checking whether the texture exists.
2013-07-10 10:07:45 +08:00
Tomoaki Shimizu
eca7db6a50
Add append function for String class.
...
The append function is useful when adding a string.
So, I added it to String class.
2013-07-10 10:50:13 +09:00
Éloi Rivard
05ae6f8518
Fixed some warnings
2013-07-09 16:33:21 +02:00
Éloi Rivard
e6354bbf0a
Various linux eclipse projects compilation fixes
2013-07-09 15:23:19 +02:00
Éloi Rivard
e5db95d2b9
Added deprecated functions ignoring in libcocos2d eclipse project
2013-07-09 15:23:19 +02:00
Éloi Rivard
d853934f1b
Added -std=c++0x flag in C++ eclipse projects
2013-07-09 15:23:19 +02:00
James Chen
87cec1622c
closed #2388 : Creating a default texture for CCSprite if setTexture(nullptr) is invoked.
2013-07-09 18:33:36 +08:00
James Chen
f752196f8e
issue #2379 : Removing CCZone.cpp/.h for win32 project.
2013-07-09 15:42:37 +08:00
James Chen
582baa0bac
issue #2379 : Removing CCZone.cpp for Makefile.
2013-07-09 15:31:28 +08:00
James Chen
7f6811e61e
issue #2379 : Removing unused file - cocos2d.vcxproj.filter.orig.
2013-07-09 15:30:50 +08:00
James Chen
a517e68c59
closed #2379 : Removing CCZone.h/.cpp.
2013-07-09 14:50:31 +08:00
James Chen
596c4c3cf2
issue #2387 : Using static_cast instead of C style cast while iterating CCDictionary.
2013-07-09 14:40:43 +08:00
James Chen
9b9fe67d25
issue #2387 : Using static_cast instead of C style cast in iteration of CCArray.
2013-07-09 14:29:51 +08:00
minggo
e5a80eed91
fixed conflict
2013-07-09 10:39:16 +08:00
James Chen
976d4ad11e
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into remove-copywithzone
...
Conflicts:
cocos2dx/actions/CCActionInterval.cpp
cocos2dx/cocoa/CCDictionary.cpp
samples/Cpp/TestCpp/Classes/NodeTest/NodeTest.cpp
2013-07-09 09:48:41 +08:00
Ricardo Quesada
9fe9341646
From C++ best practices
...
Uses static_cast<> instead of C casting.
2013-07-08 14:38:14 -07:00
dumganhar
b41dd9277d
issue #2300 : Warning fixes.
2013-07-08 23:12:11 +08:00
dumganhar
9b126e79d7
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into remove-copywithzone
...
Conflicts:
scripting/lua/cocos2dx_support/LuaCocos2d.cpp
2013-07-08 23:09:48 +08:00
dumganhar
8f900d02b8
issue #2300 : Removing all 'copyWithZone' pattern.
2013-07-08 23:05:47 +08:00
minggo
87125e4b2a
issue #2129:use capital words for static const member variables
2013-07-08 18:11:32 +08:00
James Chen
d64fb7339c
issue #2129 : FontDefinition* --> const FontDefinition&
2013-07-08 15:18:16 +08:00
James Chen
fe2a3c3d69
issue #2129 : Using 'const FontDefinition&' instead of 'FontDefinition*' and resolving memory leak in FontDefinition LabelTTF::getTextDefinition()
2013-07-08 15:17:37 +08:00
James Chen
16ec50e86b
issue #2129 : Adding explicit for 'Color4B(const Color4F &color4F);' and 'explicit Color4F(const Color3B &color3B)'.
2013-07-08 15:16:22 +08:00
James Chen
4a0fe35d5a
iss2129: bug fix in CCDrawNode.cpp
2013-07-08 15:15:22 +08:00
James Chen
37f9c4415a
vertex --> getVertex, originalVertex --> getOriginVertex.
2013-07-08 15:12:06 +08:00
James Chen
3d4005ebbc
issue #2129 : Bug fix in "Color4B::Color4B(const Color4F &color4F)".
2013-07-08 14:53:47 +08:00
James Chen
1eacab0278
Merge branch 'iss2129-remove_prefix' of https://github.com/minggo/cocos2d-x into minggo-iss2129-remove_prefix
2013-07-08 10:51:07 +08:00
James Chen
e28cf8d258
issue #2129 : Windows doesn't support 'initializer list', using constructor instead.
2013-07-07 21:08:14 +08:00
Ricardo Quesada
c65b6f1417
Adds const to more getters
...
adds `const` to more getters.
2013-07-06 22:01:21 -07:00
James Chen
db0a15b02f
Merge branch 'iss2129-remove_prefix' of https://github.com/minggo/cocos2d-x into minggo-iss2129-remove_prefix
2013-07-06 15:19:09 +08:00
James Chen
43260a2bf1
[Windows] Fixing complication errors for WINDOWS.
2013-07-06 10:49:13 +08:00