Commit Graph

4514 Commits

Author SHA1 Message Date
minggo 266a5e5e66 Merge pull request #1028 from minggo/iss1292_moidify_function_name
issue #1292:make some function names more readable
2012-06-15 00:14:13 -07:00
minggo d0f905992a issue #1292:make some function names more readable 2012-06-15 15:10:40 +08:00
James Chen ec6573c461 Merge pull request #1027 from dumganhar/gles20
Fixed a logic error in ActionScaleTest.
2012-06-14 22:57:30 -07:00
James Chen 159b91b6cd Fixed a logic error in ActionScaleTest. 2012-06-15 13:56:27 +08:00
James Chen 22959a2a0f Merge pull request #1026 from dumganhar/gles20
fixed #1327: Exported 'create' method for lua bindings.
2012-06-14 20:49:08 -07:00
James Chen bc150ea5a9 fixed #1327: Exported 'create' method for lua bindings. 2012-06-15 11:46:51 +08:00
James Chen 77d7f44b3f Merge pull request #1025 from dumganhar/gles20
fixed #1326: The compilation of Hellolua and testjs project was broken after synchronizing to rc2.
2012-06-14 19:58:50 -07:00
folecr 6fc2dc5ed9 Use Java code instead of XML to define layout
* Android layout for cocos apps are very simple (full screen)
 * Avoids creation of R.java for loading the layout
 * Can package entire library in jar
 * Remove unused layout resource
2012-06-14 19:52:45 -07:00
folecr 4e5a64fd9e Minimal layout directives in XML 2012-06-14 19:52:45 -07:00
folecr 172b90cbfe Android project generation script copies library sources
* mkdir parent folder with project name
 * create android project in proj.android subfolder
 * copy library sources to generated project
 * remove unnecessary function that moves files from top directory to proj.android
2012-06-14 19:52:40 -07:00
James Chen 3a5ba4a24c Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20 2012-06-15 10:52:31 +08:00
James Chen 4c1ca36aa8 fixed #1326: The compilation of Hellolua and testjs project was broken after synchronizing to rc2. 2012-06-15 10:51:53 +08:00
minggo 522fcf9018 Merge pull request #1024 from minggo/iss1181_rendertexture
Iss1181 rendertexture
2012-06-14 19:29:22 -07:00
minggo c965c8d770 fixed 1181: synchronize latest codes 2012-06-15 10:27:52 +08:00
folecr d651da6f0d Tests : Ant build project files 2012-06-14 19:21:03 -07:00
folecr d86e088e9f Tests : Use cocos2dandroid library
* Remove code and resources that are now in a library
     * Add library as a dependency for HelloWorld
     * Use cocos2dx_default_ resources
2012-06-14 19:21:03 -07:00
folecr 4a4d051cee HelloLua : Ant build and configuration files 2012-06-14 19:21:03 -07:00
folecr 0529ccf340 HelloLua : Use cocos2dandroid library
* Add reference to android library project
 * Remove code and resources that are now in a library
2012-06-14 19:21:03 -07:00
folecr 32497bb3d6 HelloWorld : Ant build file 2012-06-14 19:21:03 -07:00
folecr 6bd444913c HelloWorld : Use cocos2dandroid library
* Add library as a dependency for HelloWorld
 * Use cocos2dx_default_ resources
2012-06-14 19:21:02 -07:00
folecr b6164c7590 Create a library named cocos2dandroid
* Based on sources from HelloWorld that should be common across all cocos2d-x android projects
 * Rename, use prefix cocos2dx_default_ for items in layout
 * Project files for android library, targeted to android-8
2012-06-14 19:21:02 -07:00
folecr 6aa1879f84 Add gen/ and local.properties to gitignore 2012-06-14 19:21:02 -07: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
Nicolas Gramlich 2554f25cd8 CCString: Added CCStringCompare operator (can be used i.e. in stl containers). 2012-06-14 13:50:47 -07:00
minggo b19da0ebc9 Merge pull request #1023 from minggo/merge_dumganhar_create
Merge dumganhar create
2012-06-14 03:57:06 -07:00
minggo 221be759c6 issue #1324: merge James Chen's codes 2012-06-14 18:54:05 +08:00
minggo 9d9e2579e3 issue #1181: save render texture when comming to background 2012-06-14 18:37:57 +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 740e28dbc1 issue #1324: Uncommented old interfaces. 2012-06-14 17:29:23 +08:00
James Chen 7fe3f7357e issue #1324: Reverted old interfaces. 2012-06-14 17:18:05 +08:00
Nicolas Gramlich cc5eabeb28 ButtonTestLayer: Now showing the CCControlEvent information on screen. Fixed CCLOG -> CCLog (because CCLOG doesn't show up on Android.). 2012-06-14 01:32:52 -07: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
minggo a44e4f1d5b Merge pull request #1021 from minggo/iss1299_simpleaudioengine
fixed #iss1299_simpleaudioengine: not reusme effect that not in paused state
2012-06-14 00:22:32 -07:00
minggo af9ada06af fixed #iss1299_simpleaudioengine: can not reusme effect that not in paused state 2012-06-14 15:20:17 +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 8e67d3e2d6 Enhanced CCString with two 'constructors' and a compare function. 2012-06-13 23:56:21 -07:00
minggo e3a84c70e9 Merge pull request #1020 from minggo/iss1257_CCGrabber
fixed #1257: make CCGrabber the same logic with iphone version
2012-06-13 23:42:37 -07:00
minggo f742de1de3 fixed #1257: make CCGrabber the same logic with iphone version 2012-06-14 14:41:02 +08:00
minggo 064ffc8396 Merge pull request #1019 from minggo/iss1293_ccdirector_getFrames
fixed #1293:rename getFrames to getTotalFrames and return correct value
2012-06-13 19:51:12 -07:00
minggo b3fb5e6d4c fixed #1293:rename getFrames to getTotalFrames and return correct value 2012-06-14 10:49:53 +08:00
minggo eab44f3d6e Merge pull request #1012 from nicolasgramlich/gles20-ccbi
issue #1323:CCBIReader along with some merges from cocos2d-iphone where necessary.
2012-06-13 19:01:55 -07:00
Nicolas Gramlich 0c4a6be8ff Added missiong cpp files in Android.mk. Android build now successful. 2012-06-13 16:05:31 -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