Nicolas Gramlich
1e9656854b
Merge branch 'gles20' of git://github.com/cocos2d/cocos2d-x into gles20
2012-06-08 10:22:25 -07:00
James Chen
c9dc60b0f7
issue #1310 : fixed a bug in CCSpriteFrameCache.cpp. Disable retina mode for tests project.
2012-06-08 17:58:21 +08:00
James Chen
371b3f9938
issue #1310 : Tests project updated!.
2012-06-08 17:34:15 +08:00
James Chen
a40dfa427a
Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20
2012-06-08 17:15:32 +08:00
James Chen
9ff7dcd96d
issue #1310 : Removed some functions.
2012-06-08 17:15:00 +08:00
minggo
913707f259
Merge pull request #983 from NatWeiss/gles20
...
Allows Cocos2D-X to be built for iOS including all cpp files
2012-06-08 01:55:19 -07:00
James Chen
12a9d13443
issue #1310 : Synchronize to RC2, HelloWorld works ok on win32.
2012-06-08 16:54:38 +08:00
James Chen
76a560a474
issue #1310 : Made CCFileUtils as a singleton.
2012-06-08 16:22:57 +08:00
James Chen
35e9e44e39
Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20
2012-06-08 15:31:23 +08:00
minggo
6b7a59f007
issue #1310:synchronize CCLableAtlas and CCLabelBMFont
2012-06-08 15:29:47 +08:00
James Chen
6cf608effd
issue #1310 : deleted some functions which can't be implemented in C++. Moved arrayMakeObjectsPerformSelector to CCArray.h.
2012-06-08 15:17:15 +08:00
James Chen
4a887ac598
issue #1310 : Updated CCScene.h.
2012-06-08 15:03:18 +08:00
Nat Weiss
6ee3db827c
Allows Cocos2D-X to be built for iOS including all cpp files.
2012-06-07 23:52:15 -07:00
James Chen
fd2d9a8aa6
issue #1310 : Finished 'menu_nodes' and 'layers_scenes_transitions_nodes'.
2012-06-08 14:50:41 +08:00
James Chen
c8dfe7f92b
issue #1310 : Finished CCRenderTexture.h(.cpp).
2012-06-08 14:30:55 +08:00
minggo
9a600c6221
issue #1310 : syncronize base_nodes
2012-06-08 14:17:39 +08:00
James Chen
26cf81e42e
Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20
...
Conflicts:
cocos2dx/CCScheduler.h
cocos2dx/include/ccTypes.h
2012-06-08 14:14:13 +08:00
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
Nat Weiss
ed43e6a90b
Allows Cocos2D-X to be built for iOS including all cpp files.
2012-06-07 21:16:24 -07:00
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
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
c64c4a74bf
fixed #1308 : Strange TouchDispatcher behavior.
2012-06-06 22:49:28 +08: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
James Chen
734ea54aba
fixed #1302 : The parameter of CCMenu::setHandlerPriority should be signed int.
2012-06-06 15:16:02 +08:00
James Chen
2238db301b
fixed #1301 : CCEGLView::sharedOpenGLView().setScissorInPoints() should apply scissor in points.
2012-06-06 14:13:40 +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
56817244ed
fixed #1297 : Retina mode can't work in 'Projection2D' mode.
2012-06-05 15:27:46 +08:00
minggo
7733607fe2
fixed #1296 : fix logical error of CCTMXTileMap::tilesetForLayer()
2012-06-05 10:51:53 +08: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
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
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
Nicolas Gramlich
9951ba8ad2
Minor changes.
2012-06-01 15:12:07 -07:00
Nicolas Gramlich
67d9b8ea25
Minor changes.
2012-06-01 15:11:42 -07:00
Nicolas Gramlich
eee8ba7586
CCLabelTTF: Added getters for fontName and fontSize.
2012-06-01 15:11:16 -07:00
Nicolas Gramlich
9576db1e28
CCControlButton: Added LabelAnchorPoint property. (According to: https://github.com/YannickL/CCControlExtension/ : 623f10433a088140adbb1e1d7d6c97e1ae05adf9)
2012-06-01 15:10:20 -07:00
Nicolas Gramlich
18fba1664d
CCControlButton: Added getters and setters for backgroundspriteframe, titlettf, titlettfsize, titleBMGont. Added ZoomOnTouchDown property. (According to: https://github.com/YannickL/CCControlExtension/ : 9dfb9d97a5fe729115b461d9a52ebc36aba51c72, b31256ad6b26e7f645719f203f0e72d717e68c75, 7a79cd702d4ccb958281bcec5d8a7658723f7c2a, c4bbcb9beb2febfb4b55323709e30082af902c90, d4a88349e1f60100225d49e43af587dc10def66f)
2012-06-01 12:29:48 -07:00
Nicolas Gramlich
8dbe897755
CCLabelBMFont: Made fntFile a property. (According to: ffbdb60a5908f5baef227bb0365a0b2653a3a59a)
2012-06-01 11:59:10 -07:00
icewind
ac268896f1
CCControlButton update. Added zoomOnTouchDown property and setPreferredSize
...
Ported some functions from original CCControlExtensions repository.
Added feature to set the preferred size of the background sprite and
toggle zooming on TouchDown event
2012-06-01 14:07:45 +04:00
Nat Weiss
0fedc8a84a
Enhances CCTransitionScene to work even if there is no running scene.
2012-06-01 00:54:17 -07:00
James Chen
f6ae01c523
Merge pull request #959 from dumganhar/typo_fix
...
Typo fixed in CCGL.h
2012-05-31 23:50:11 -07:00
James Chen
3959fe8f4d
typo fixed in CCGL.h
2012-06-01 14:48:45 +08:00
minggo
63cf48f548
Merge pull request #958 from NatWeiss/gles20
...
fixed #1286 : Fixes the declaration of tgaLoadRLEImageData()
2012-05-31 23:46:36 -07:00
Nat Weiss
472c98b652
Fixes the declaration of tgaLoadRLEImageData() to match it's implementation. This causes an android build to be successful.
2012-05-31 23:20:56 -07:00
James Chen
2b235fd705
Delete libEGL.dll(.lib).
2012-06-01 13:56:22 +08:00
James Chen
ebcc78497f
fixed #1282 : Can not run samples on windows if the display card is ATI. Use opengl directly. Reverted all project configurations to Unicode characterset to avoid textinput error.
2012-06-01 13:44:28 +08:00
Nicolas Gramlich
62e0c1cda0
Added CCMenuLoader, CCMenuItemLoader and CCMenuItemImageLoader.
2012-05-31 17:07:02 -07:00
Nicolas Gramlich
40f1ffe5fb
CCMenuItem(Image): Added possibility to init without any image. (Changes according to: 5e8518eaed78a6c589bf73dadf85e2056f834f36, 013b4cec0a9250268b131105795e87d37cba4d52)
2012-05-31 17:04:53 -07:00
Nicolas Gramlich
7cb3be2057
Minor change.
2012-05-31 17:01:01 -07:00
Nicolas Gramlich
b63559d86d
Added CCBFileLoader.cpp. Fixed a bug in CCNodeLoader::onHandlePropTypeSize.
2012-05-31 14:57:13 -07:00
Nicolas Gramlich
39442e9bb6
Merged with gles20.
2012-05-31 13:10:51 -07:00
Nicolas Gramlich
4a027082be
Pulled changes from github.
2012-05-31 13:08:33 -07:00
Nicolas Gramlich
8a01e33491
Added CCScale9SpriteLoader.
2012-05-31 12:38:00 -07:00
Nicolas Gramlich
948fcc3d07
CCScale9Sprite: Moved anchorpoint initialization back to updateWithBatchNode, since this is probably the intended location, but causes problems due to the order properties appear in the CCBI file format.
2012-05-31 12:37:28 -07:00
Nicolas Gramlich
8678a14b6e
CCScale9Sprite: Added initialization of insets. Moved setting the default anchorpoint to its constructor.
2012-05-31 12:03:33 -07:00
Nicolas Gramlich
fe9fb347aa
CCScale9Sprite: Added support for insets by floats and CCRect. Fixed bug for positioning for uneven insets. Changing texture no longer affects the anchor point. Made it possible to set the SpriteFrame. (Changes according to https://github.com/YannickL/CCControlExtension/commits/gles20 : d00c4f90ab53d5295bce03123ddbccc4fa0acf58, ed56cb1558c755748437d152f2f7a4bb5a1455ba, c4bbcb9beb2febfb4b55323709e30082af902c90, 5da062de92d39d91b014f87809fc30ba501538fc)
2012-05-31 11:47:16 -07:00
James Chen
63a6b97bc5
fixed #1280 : Renamed some functions.
2012-05-31 15:32:18 +08:00
James Chen
b39af18a5f
Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into iss1280_labeltest
2012-05-31 13:08:19 +08:00
James Chen
cec50ae2d8
fixed #1280 : BitmapFontMultiLineAlignment test can't work correctly.
...
We should invoke 'this->setString(m_sString_initial.c_str(), true);' in the 'CCLabelBMFont::updateLabel'.
2012-05-31 13:07:25 +08:00
minggo
9237804b29
modify engine version
2012-05-31 10:14:00 +08:00
Nicolas Gramlich
b7130c3d63
Added (dysfunctional) CCScale9SpriteLoader.
2012-05-30 16:52:02 -07:00
Nicolas Gramlich
6e9fac0a58
Cleanup.
2012-05-30 16:51:33 -07:00
Nicolas Gramlich
36e6d94d46
Added setter for dimensions of CCLabelTTF (According to: 302dd76b4f87ddb18cc571ebec3be0811ea534ca).
2012-05-30 16:49:51 -07:00
Nicolas Gramlich
d0f101b820
Added missing ASSERT_FAIL_UNEXPECTED_PROPERTY in CCNOdeLoader::onHandlePropTypeSize.
2012-05-30 16:14:02 -07:00
Nicolas Gramlich
6b3fa4abb6
Added CCLabelTTFLoader.
2012-05-30 15:38:20 -07:00
Nicolas Gramlich
5578521a69
Fixed CCLabelBMFontLoader (according to changes in: 827ee160b5
).
2012-05-30 15:37:36 -07:00
Nicolas Gramlich
c754dac31b
Added missing case kCCBPropTypeFontTTF in CCNodeLoader::parseProperties.
2012-05-30 15:36:00 -07:00
Nicolas Gramlich
9ca7fa468a
Added default init method for CCLabelTTF (See: 24125b93aad2d4fc7ebf1bc6e4ef6b8b83ff770d).
2012-05-30 15:34:50 -07:00
Nicolas Gramlich
827ee160b5
Added support for initializing a CCLabelBMFont without a fntfile and a string. (See: ffbdb60a5908f5baef227bb0365a0b2653a3a59a, a6749b38f8085ba81921063328bc50cb7a989613, e6e3917c0c3f2e95e13c3be29584cb9e3781d3a7).
2012-05-30 15:31:08 -07:00
Nicolas Gramlich
a7d4fa619d
Removed CCBReader to avoid conflicts.
2012-05-30 11:30:53 -07:00
Nicolas Gramlich
56ea340314
Current state of the CCB(I)Reader (dysfunctional due to CCLabelBMFont problems).
2012-05-30 11:28:50 -07:00
minggo
5ad2bec3d8
Merge pull request #946 from minggo/gles20
...
fix some bug
2012-05-30 03:33:19 -07:00
minggo
a698f9bf69
fix some bug
2012-05-30 18:31:20 +08:00
James Chen
6be44ad7b0
fixed #1279 : NodeNonOpaqueTest can't be shown correctly.
2012-05-30 18:30:11 +08:00
James Chen
93d1879a56
fixed #1277 : CCToggleVisibility should implement copyWithZone.
2012-05-30 16:34:42 +08:00
James Chen
5b4495d982
Opened assert for CCTexture2D::setTexParameters and generateMipmap.
2012-05-30 16:26:47 +08:00
James Chen
bd248b5ac0
Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20
2012-05-30 16:09:52 +08:00
James Chen
7115a7f3c9
issue #1275 : Memory leaks in CCBReader and ActionsTest.
2012-05-30 16:09:19 +08:00
minggo
80389d0611
Merge pull request #941 from minggo/gles20
...
fix some bugs
2012-05-30 00:44:22 -07:00
minggo
4428810fd5
fixed some bugs
2012-05-30 15:42:29 +08:00
James Chen
b662784730
Merge pull request #940 from dumganhar/gles20
...
fixed #1273 : Crash appears after clicking closed button in TextureCacheTest.
2012-05-29 23:31:36 -07:00
James Chen
265cb135ad
fixed #1273 : Passed 'this' to unscheduleSelector rather than 'g_sharedTextureCache'.
2012-05-30 14:27:30 +08:00