Commit Graph

11280 Commits

Author SHA1 Message Date
samuele3hu b6256be1ad issue #2404:del a deprecated func 2013-07-26 15:01:31 +08:00
minggo f55d73194e issue 2430:use enum class for Control enum values 2013-07-26 14:37:26 +08:00
samuele3hu 0f8d10f9a7 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into deprectedOperator 2013-07-26 14:36:50 +08:00
samuele3hu 273bdc8fbd Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into deprectedOperator 2013-07-26 14:35:40 +08:00
James Chen ea3858fdf2 Merge pull request #3267 from CocosRobot/updategeneratedsubmodule_1374820049
[ci skip][AUTO] : updating submodule reference to latest autogenerated bindings
2013-07-25 23:30:14 -07:00
CocosRobot 97f17913a6 [AUTO] : updating submodule reference to latest autogenerated bindings 2013-07-26 06:27:41 +00:00
James Chen 7839f769f2 Merge pull request #3265 from dumganhar/constants_fixes
Merge PR https://github.com/cocos2d/cocos2d-x/pull/3261 and updating bindings-generator. It supports 'enum class' type now.
2013-07-25 23:21:29 -07:00
James Chen 00c2173009 Warning fix in CocosDenshion.vcxproj 2013-07-26 14:16:26 +08:00
James Chen 6c00a51517 RELATIVE was defined on windows, un-define it. 2013-07-26 14:16:12 +08:00
James Chen 2abd61b967 Warning fix in CCRenderTexture.h. 2013-07-26 14:15:19 +08:00
James Chen 9ae7bd33e2 typedef enum Director::Projection ccDirectorProjection; can't work on Windows, since Director::Projection is already a type, no need to add enum. 2013-07-26 14:14:55 +08:00
samuele3hu deada04d7f issue #2404:replace some deprecated enums using in the lua 2013-07-26 14:10:45 +08:00
James Chen d345ac7f3f [Android] Usage changes: ccGLInvalidateStateCache --> GL::invalidateStateCache(); 2013-07-26 14:00:10 +08:00
James Chen 5dca03c061 Fixing compilation errors in CCImageCommon_cpp.h. 2013-07-26 13:59:27 +08:00
James Chen df8273d960 Fixing an issue that wrong implementation in 'ccGLDeleteTextureN'. 2013-07-26 13:58:59 +08:00
samuele3hu 2288280b2d Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into deprectedOperator 2013-07-26 13:57:11 +08:00
James Chen 241cf022a4 Fixing Luabinding errors. 2013-07-26 13:50:10 +08:00
James Chen 8459376f3d More deprecated definitions. 2013-07-26 13:49:49 +08:00
James Chen 4f9d0672aa Fixing errors when disabling VAO. 2013-07-26 13:49:24 +08:00
James Chen 37f6685894 MODE_GRAVITY --> Mode::GRAVITY, POSITION_TYPE_XXX --> PositionType::XXX 2013-07-26 13:48:32 +08:00
James Chen b57d48b0d2 ParticleSystem::MODE_RADIUS --> ParticleSystem::Mode::RADIUS 2013-07-26 13:47:30 +08:00
samuele3hu f49277d367 issue #2404:replace deprecated functions in testlua and hellolua sample 2013-07-26 13:43:28 +08:00
minggo a16fd40a1b Merge pull request #3266 from timothyqiu/docfix
Documentation fix: use \p to reference a parameter
2013-07-25 21:46:09 -07:00
minggo 0b8de88ddc issue 2430:use enum class 2013-07-26 12:08:18 +08:00
Timothy Qiu d1e46940ab Documentation fix: use \p to reference a parameter
The orginal @param is meant to describe a parameter, resulting in a
strange doc output.
2013-07-26 12:04:03 +08:00
minggo f94a02ac01 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2430-modify_enum 2013-07-26 11:25:18 +08:00
minggo e0e9a6f796 Merge pull request #3264 from minggo/releasing
use one template for multi-platforms
2013-07-25 20:24:18 -07:00
James Chen cda727843a Updating bindings-generator. It supports 'enum class' type now. 2013-07-26 11:14:48 +08:00
James Chen d882fc3ef0 Merge pull request #3263 from 2youyouo2/Fix_3.0
Fix armature supper fast
2013-07-25 19:58:22 -07:00
minggo 5479dbe0b9 remove xcode template 2013-07-26 10:54:20 +08:00
minggo 7f3627ea00 remove android template 2013-07-26 10:52:39 +08:00
minggo c79f4b8595 add creating project script in root 2013-07-26 10:50:37 +08:00
minggo 10a8c3f23b tools/project-creator -> tools/project_creator 2013-07-26 10:46:18 +08:00
2youyou2 7c4460f9e0 Fix armature supper fast 2013-07-26 10:19:19 +08:00
Ricardo Quesada 4772674ff4 Removes Layer::TouchesDispatchMode...
...since it is declared in Touch::DispatchMode
2013-07-25 19:06:32 -07:00
Ricardo Quesada 8bf24f0475 ccGLXXX -> GL::xxx
Adds GL namespace. Deprecates the `ccGLFunctionName` functions. New functions are `GL::functionName`

Also, converts the class `DrawPrimitives` into a namespace
2013-07-25 18:42:53 -07:00
James Chen 43f9ebafac Merge pull request #3262 from natural-law/develop
[ci skip]Update the JS binding for plugin.
2013-07-25 18:41:07 -07:00
carlo morgantini 7d141a3f57 the new label system now uses only CCStringTTF (CCStringBMFont is still here, but not used anymore) 2013-07-25 17:58:13 -07:00
Ricardo Quesada 191aaebe2a More const fixes
`Menu::STATE_XXX` -> `Menu::State::XXX`
Removes more Hungarian notation
Removes Configuration::Type <- I added it a few months ago, and it was not being used. It is safe to remove it
2013-07-25 17:47:42 -07:00
Ricardo Quesada 07c6c904cc Removes more Hungarian notation and more
Adds Touch::DispatchMode. Removes Layer::TouchDispatchMode
2013-07-25 16:27:24 -07:00
Ricardo Quesada 058935aa8d Removes Hungarian notation
Removes Hungarian notation from the code.
2013-07-25 15:53:24 -07:00
Ricardo Quesada d683e10808 More constant fixes
Transition::ORIENTATION_XXX -> Transition::Orientation::XXX
Image::FORMAT_XXX -> Image::Format::XXX
Image::_function() -> Image::function() // private methods should not start with '_'
DrawPrimitives::drawColor() -> DrawPrimitives::setDrawColor()

And fixes Premultiplied Alpha in PVR v3 images
And tests are updated with the new functions
2013-07-25 14:49:43 -07:00
Ricardo Quesada 16d0b43181 Constant fixes
Director::PROJECTION_2D, 3D,... -> Director::Projection::_2D, _3D, ...
Label::TEXT_ALIGNMENT_... -> Label::HAlignment::...
Label::TEXT_VERTICAL_ALIGNMENT_... -> Label::VAlignment::...
Texture2D::PIXEL_FORMAT_... -> Texture2D::PixelFormat::...
BlendFunc::BLEND_FUNC_DISABLE -> BlendFunc::DISABLE

Also adds more constant for BlendFunc
2013-07-25 13:36:19 -07:00
minggo 4caea01021 Merge branch 'iss2430-modify_enum' of https://github.com/minggo/cocos2d-x into iss2430-modify_enum 2013-07-25 23:09:56 +08:00
James Chen 4417e9c829 Merge pull request #3259 from dumganhar/iss2430-modify_enum
issue #2404: DrawPrimitives deprecated.
2013-07-25 08:09:30 -07:00
minggo b36a4f1df0 issue #2430:use upper letters for enum item in Image 2013-07-25 23:09:18 +08:00
James Chen fd9e2235be Delete CC_DLL. 2013-07-25 22:43:12 +08:00
James Chen 6870615efe Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2430-modify_enum 2013-07-25 22:40:13 +08:00
James Chen 60abcd04e5 Merge pull request #3258 from CocosRobot/updategeneratedsubmodule_1374762976
[ci skip][AUTO] : updating submodule reference to latest autogenerated bindings
2013-07-25 07:40:02 -07:00
James Chen f7c0ad8151 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2430-modify_enum 2013-07-25 22:39:14 +08:00