Commit Graph

4405 Commits

Author SHA1 Message Date
icewind b87e932b9f Override setOpacity to affect a background sprites
Calling button->setOpacity was affecting only to label. Now opacity
value applies also to a background sprites
2012-06-07 13:20:30 +04:00
minggo 2b55a76970 Merge pull request #978 from minggo/iss1202_remove_CCFileData
fixed #1202:remove CCFileData
2012-06-06 23:15:05 -07:00
minggo 49d8ac72f6 fixed #1202:remove CCFileData 2012-06-07 14:13:44 +08:00
James Chen 8e2a5876e6 Merge pull request #977 from dumganhar/gles20
fixed #1308: Used std::sort to sort the touchHandler array.
2012-06-06 20:46:05 -07:00
James Chen f466b081c9 fixed #1308: Used std::sort to sort the touchHandler array. 2012-06-07 11:38:59 +08:00
Nicolas Gramlich 45d9fc9686 Making use of the new SEL_CCControlHandler in the CCControlExtension. 2012-06-06 14:32:15 -07:00
Nicolas Gramlich df571e9cbb CCControlExtension: Added support for SEL_CCControlHandler (as opposed to SEL_MenuHandler), which also passes the CCControlEvent parameter. 2012-06-06 14:31:14 -07:00
Nicolas Gramlich aefc1e1370 CCBMemberVariableAssigner and CCBSelectorResolver: now using const char * instead of std::string. 2012-06-06 11:43:33 -07:00
Nicolas Gramlich 671a0ef5b4 Removed zombie file: CCBMemberVariableAssigner.cpp. 2012-06-06 11:06:28 -07:00
James Chen fea278b5b2 Merge pull request #976 from dumganhar/gles20
fixed #1308: Strange TouchDispatcher behavior.
2012-06-06 07:50:49 -07:00
James Chen c64c4a74bf fixed #1308: Strange TouchDispatcher behavior. 2012-06-06 22:49:28 +08:00
James Chen d351b32642 Merge pull request #974 from dumganhar/gles20
fixed #1297: fixed a bug in CCRenderTexture::begin. The parameters of glViewPort should not multiply CC_CONTENT_SCALE_FACTOR().
2012-06-06 00:57:47 -07:00
James Chen 4b7f9f582f fixed #1297: fixed a bug in CCRenderTexture::begin. The parameters of glViewPort should not multiply CC_CONTENT_SCALE_FACTOR(). 2012-06-06 15:56:55 +08:00
minggo 6cf8ea283d Merge pull request #973 from minggo/iss1278_effect_android
fixed #1278: stop effect when unloading effect
2012-06-06 00:41:26 -07:00
minggo 1ff04700b5 fixed #1278: stop effect when unloading effect 2012-06-06 15:38:25 +08:00
James Chen 8db6ab8c2b Merge pull request #972 from dumganhar/gles20
fixed #1302: The parameter of CCMenu::setHandlerPriority should be signed int.
2012-06-06 00:18:48 -07:00
James Chen 734ea54aba fixed #1302: The parameter of CCMenu::setHandlerPriority should be signed int. 2012-06-06 15:16:02 +08:00
James Chen 10e0180809 Merge pull request #971 from dumganhar/gles20
Removed some unused codes.
2012-06-05 23:34:37 -07:00
James Chen 37aa196c73 Removed some unused codes. 2012-06-06 14:31:49 +08:00
James Chen 84441e8595 Merge pull request #970 from dumganhar/gles20
fixed #1301: CCEGLView::sharedOpenGLView().setScissorInPoints() should apply scissor in points.
2012-06-05 23:25:32 -07:00
James Chen 2238db301b fixed #1301: CCEGLView::sharedOpenGLView().setScissorInPoints() should apply scissor in points. 2012-06-06 14:13:40 +08:00
James Chen c8b62d4ec8 Merge pull request #969 from dumganhar/gles20
fixed #1300: Typo: CC_ENABLE_CACHE_TEXTTURE_DATA -> CC_ENABLE_CACHE_TEXTURE_DATA
2012-06-05 19:09:17 -07:00
James Chen d827cdacc0 Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20 2012-06-06 10:07:12 +08:00
James Chen 6bb2941ec9 fixed #1300: Typo: CC_ENABLE_CACHE_TEXTTURE_DATA -> CC_ENABLE_CACHE_TEXTURE_DATA 2012-06-06 10:06:51 +08:00
Nicolas Gramlich bcf53f1453 Added CCNodeLoaderLibrary (more of a factory pattern, compared to adding the CCNodeLoaders directly to the CCBReader. Fixed all TODOs regarding (potential) memory leaks (Thanks to Ricardo Quesada). CCNodeLoaders are now autorelease objects (having a static 'loader()' method to be used). 2012-06-05 17:15:28 -07:00
Nicolas Gramlich c9db868d93 CCLabelTTF: Now internally using std::string instead of std::string *. 2012-06-05 17:12:41 -07:00
Nicolas Gramlich 2d86a4089c CCLabelBMFont: Now using std::string to store internal data instead of just storing a 'foreign' const char *. 2012-06-05 17:11:50 -07:00
Nicolas Gramlich 0702becaf5 CCAutoreleasepool: Fixed typo. 2012-06-05 16:22:42 -07:00
James Chen 07269f8505 Merge pull request #968 from dumganhar/gles20
fixed #1297: Retina mode can't work in 'Projection2D' mode.
2012-06-05 00:30:34 -07:00
James Chen 56817244ed fixed #1297: Retina mode can't work in 'Projection2D' mode. 2012-06-05 15:27:46 +08:00
minggo 0ff2e55c0c Merge pull request #967 from minggo/iss1296_tilemap
fixed #1296: fix logical error of CCTMXTileMap::tilesetForLayer()
2012-06-04 19:53:06 -07:00
minggo 7733607fe2 fixed #1296: fix logical error of CCTMXTileMap::tilesetForLayer() 2012-06-05 10:51:53 +08:00
minggo 91813bf082 Merge pull request #966 from minggo/iss1290_shader_path
fixed #1290:use Shaders folder in correct way
2012-06-04 18:41:50 -07:00
Nicolas Gramlich 420a731138 Switched from std::string to const char *. 2012-06-04 17:45:25 -07:00
Nicolas Gramlich d3e0f8dc92 Added support for resolutionScale. 2012-06-04 16:16:42 -07:00
Nicolas Gramlich 28862c30cf CCNodeLoader: Fixed small memory leak. 2012-06-04 16:03:45 -07:00
Nicolas Gramlich 5c38dd7193 Added CCBMemberVariableAssigner and CCBSelectorResolver. 2012-06-04 15:52:49 -07:00
Nicolas Gramlich 6c5be5e56e CCScale9Sprite: Removed debug logging. 2012-06-04 15:30:03 -07:00
minggo dc24094b5f fixed #1290:use Shaders folder in correct way 2012-06-04 11:41:03 +08:00
James Chen 1b4de48e86 Merge pull request #961 from icewind/gles20
fixed #1289: CCControlButton update. Added zoomOnTouchDown property and setPreferredSize.
2012-06-03 19:55:39 -07:00
minggo ae15525e32 Merge pull request #965 from NatWeiss/gles20
fixed #1288:Enhances CCTransitionScene to work even if there is no running scene.
2012-06-03 07:36:17 -07:00
minggo a0186cd081 Merge pull request #964 from NatWeiss/patch-1
Update AUTHORS
2012-06-02 18:47:47 -07:00
minggo ddcd69c453 Update AUTHORS 2012-06-03 09:47:07 +08:00
minggo 1d59f0ced6 Update AUTHORS 2012-06-03 09:45:51 +08:00
minggo 414be07f59 Merge pull request #962 from NatWeiss/8b6026f932ef6d0f284b8d73ac5657b79eec10ea
fixed #1287:Android template's build_native.sh automatically copies new icons
2012-06-02 18:45:05 -07:00
NatWeiss b17eeb4cb7 Update AUTHORS 2012-06-01 17:53:47 -07:00
Nicolas Gramlich bb49eaebe9 Added CCParticleSystemQuadLoader. 2012-06-01 16:45:30 -07:00
Nicolas Gramlich 8576837e5e CCParticleSystemQuad: Added CCParticleSystemQuad::node(). 2012-06-01 16:38:43 -07:00
Nicolas Gramlich 43682e6857 Added CControlLoader and CCControlButtonLoader. 2012-06-01 15:14:18 -07:00
Nicolas Gramlich 2340c93c17 Fixed CCNodeLoader::parsePropTypeSpriteFrame not trying to load 'null' sprites/spritesheets. Also minor renaming. 2012-06-01 15:13:16 -07:00