Nicolas Gramlich
26d470f411
CCLabelTTFLoader: Now applying vertical alignment.
2012-06-12 11:30:36 -07:00
Nicolas Gramlich
1f2652a8d7
Made CCBIReaderTest finally work completely. =) Also added support for having a root path when loading a ccb-file (i.e. when you have the two directories, one for the ccb files, one for the spritesheets. <- With a common ancestor.)
2012-06-11 18:31:11 -07:00
Nicolas Gramlich
58b53be708
Merge with gles20.
2012-06-11 11:50:32 -07:00
Nicolas Gramlich
4378731418
Merge with gles20.
2012-06-11 10:43:07 -07:00
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
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
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
Nat Weiss
ed43e6a90b
Allows Cocos2D-X to be built for iOS including all cpp files.
2012-06-07 21:16:24 -07: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
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
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
Nicolas Gramlich
bb49eaebe9
Added CCParticleSystemQuadLoader.
2012-06-01 16:45:30 -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
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
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
Nicolas Gramlich
62e0c1cda0
Added CCMenuLoader, CCMenuItemLoader and CCMenuItemImageLoader.
2012-05-31 17:07:02 -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
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
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
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
James Chen
7115a7f3c9
issue #1275 : Memory leaks in CCBReader and ActionsTest.
2012-05-30 16:09:19 +08:00
James Chen
ad50d6ee57
fixed #1270 : Fixed some warning on win32.
2012-05-29 17:11:33 +08:00
James Chen
19c96632b5
fixed #1176 : Changed linebreak symbol to UNIX format ('\n'),replaced 'tab' with four spaces.
2012-05-29 16:21:23 +08:00
Nicolas Gramlich
d69bc23894
Initial version of CCBReader reading ccbi format. (Only reads and checks the header so far).
2012-05-22 17:38:33 -07:00
Walzer
9ac0b68981
modify CCBReader.cpp to CCBReader_v2.cpp in vcproj/vcxproj.
2012-05-21 17:56:09 +08:00
Walzer
d6dde5a5ee
move kBottomLeft series enum from CCNode.h to CCBReader.h
2012-05-11 21:10:02 +08:00