Commit Graph

119 Commits

Author SHA1 Message Date
James Chen c1883c1237 fixed #1334: Updated CCScrollView.h 2012-06-19 10:55:52 +08:00
James Chen da85a36cd1 Merge branch 'gles20-ccbi' of https://github.com/nicolasgramlich/cocos2d-x into gles20-ccbi
Conflicts:
	cocos2dx/extensions/CCScrollView/CCScrollView.h
2012-06-19 10:51:40 +08:00
James Chen 9fa74721a7 fixed #1334: Add ScrollViewTest to CocosBuilderTest. 2012-06-19 10:34:15 +08:00
Nicolas Gramlich ac4a56a38c Fixed CCScrollView (since it was behaving differently compared to the cocos2d-iphone version). 2012-06-18 18:43:53 -07:00
Nicolas Gramlich 6f26ea7a56 Added actual implementation of CCScrollViewLoader. Added ScrollViewTest to CococsBuilderTest. 2012-06-18 13:59:45 -07:00
Nicolas Gramlich fea4401681 CCBReader: Named a whole bunch of parameters in the CCNodeLoader headers. 2012-06-18 13:41:48 -07:00
Nicolas Gramlich 227683bfa4 Cleaned up CCNodeLoaders by using the Marco instead of having a boilerplate createCCNode method in all the cpp files. 2012-06-18 13:33:19 -07:00
Nicolas Gramlich aa83408ba7 Addded virtual destructors to all classes in the CCBReader extension. CCBReader: named some parameters in the header. 2012-06-18 12:03:06 -07:00
Nicolas Gramlich 2f3fed2562 CCNodeLoader: Replaced manual deletes with 'safe' Macros. 2012-06-18 11:43:46 -07:00
minggo 6d0608d0f1 fixed #1333: add CCScrollView for iOS 2012-06-18 19:24:47 +08:00
James Chen f346d09449 issue #1333: Added CCScrollViewLoader. Not implement. 2012-06-18 19:00:26 +08:00
James Chen 85ff705415 fixed #1333: added CCScrollView to extension. 2012-06-18 18:30:07 +08:00
James Chen 453a7c63d3 issue #1330: Some memory leaks fixes. 2012-06-16 14:31:57 +08:00
James Chen ec75695a4f issue #1330: Added virtual destructor for interfaces. 2012-06-16 13:04:23 +08:00
James Chen 73c9707d5d CCBIReader fixes + building and running flawless on iOS and Android.
Made it works on win32.
2012-06-16 12:48:20 +08:00
Nicolas Gramlich 13bcf2180c Merge with gles20. 2012-06-15 16:26:10 -07:00
Nicolas Gramlich 54944ab1f9 Fixed a comment. 2012-06-15 16:06:54 -07:00
Nicolas Gramlich 420d9ef41b Fixed fntFile and fontTTF properties not having the full path prexifed, if they are non system fonts. 2012-06-15 14:01:57 -07:00
James Chen 595a402c83 fixed #1292:make some function names more readable. 2012-06-15 16:47:30 +08:00
James Chen e7628de857 fixed a warning in CCScale9Sprite::initWithBatchNode. 2012-06-15 15:36:36 +08:00
minggo d0f905992a issue #1292:make some function names more readable 2012-06-15 15:10:40 +08:00
Nicolas Gramlich 8d7dce0999 Added glue macros to reduce boilerplate code when implementing CCBSelectorResolver and CCBMemberVariableAssigner. Added LabelTest, MenuTest and SpriteTest. 2012-06-14 18:16:54 -07:00
Nicolas Gramlich a7ad34864f CocosBuilderTest: Simplified the 'XYZLoader' classes to be header only, with nice and short macros to do the boilderplate stuff. 2012-06-14 14:23:53 -07:00
Nicolas Gramlich c7daca43d0 CCNodeLoaderLibrary: Now free from direct std::string usage. 2012-06-14 13:51:32 -07:00
minggo 221be759c6 issue #1324: merge James Chen's codes 2012-06-14 18:54:05 +08:00
James Chen 052d8ea931 fixed #1324: Added some create methods. Compiling successfully on win32 by vs2008. 2012-06-14 18:32:44 +08:00
James Chen 3a410c14a1 Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into iss1324_create
Conflicts:
	cocos2dx/extensions/CCBReader/CCBReader_v2.cpp
	cocos2dx/extensions/CCControlExtension/CCScale9Sprite.cpp
	cocos2dx/label_nodes/CCLabelBMFont.cpp
	cocos2dx/menu_nodes/CCMenuItem.cpp
	cocos2dx/menu_nodes/CCMenuItem.h
	cocos2dx/misc_nodes/CCRenderTexture.h
	cocos2dx/tileMap_parallax_nodes/CCTileMapAtlas.cpp
	tests/tests/ExtensionsTest/CocosBuilderTest/HelloCocosBuilder.cpp
	tests/tests/LabelTest/LabelTest.cpp
2012-06-14 17:36:31 +08:00
James Chen 7fe3f7357e issue #1324: Reverted old interfaces. 2012-06-14 17:18:05 +08:00
Nicolas Gramlich 4c6bf89167 Cleaned up public interface of CCNodeLoaderLibrary (now takes either const char * or CCString, instead of std::string). 2012-06-14 01:16:54 -07:00
James Chen 23574172ff issue #1324: Added create() for static member functions that new an autorelease object, updated cocoa folder. 2012-06-14 16:05:58 +08:00
James Chen 3f7b44fc23 issue #1324: Added create() for static member functions that new an autorelease object 2012-06-14 15:13:16 +08:00
Nicolas Gramlich cdd1fb50ac Moved from std::string to CCString *. Since the std::string utility methods in CCBReader were buggy on Android (for unknown reasons). Made string utility methods in CCBReader static. Android build now working equivalent to iOS build. *YAY* 2012-06-14 00:01:01 -07:00
Nicolas Gramlich d4a19f4296 CCNodeLoader.h: Added parameter names. 2012-06-13 15:57:59 -07:00
Nicolas Gramlich 67ab3a1bcc CCSpriteLoader: Fixed a bug calling the wrong superclass method. 2012-06-13 15:57:33 -07:00
Nicolas Gramlich 5550d9f2b0 Merge with gles20. 2012-06-13 15:56:52 -07:00
Nicolas Gramlich 3e61e1f014 Updated Android build files to new CCBReader. Fixed a bunch of compiler errors/warnings when building for Android. 2012-06-13 15:25:59 -07:00
Nicolas Gramlich de95e2c1ed Applied changes/fixes brough up by minggo. 2012-06-13 14:33:39 -07:00
Nicolas Gramlich 29b22adccc Batch converted manual 'using namespace cocos2d(::extension);' to USING_NS_CC(_EXT);. CocosBuilderExample: Made HelloCococsBuilderLayer selectors work. Made ButtonTestLayer work. 2012-06-13 14:19:13 -07:00
minggo 2f17e131e6 Merge pull request #979 from icewind/gles20
Override setOpacity to affect a background sprites
2012-06-12 19:49:40 -07:00
Nicolas Gramlich 895604f42e Unified Header Guards. Added CCNodeLoaderListener, simulating the didLoadFromCCB selector. 2012-06-12 11:59:49 -07:00
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