Commit Graph

4422 Commits

Author SHA1 Message Date
minggo d0e308444d Merge pull request #1030 from minggo/gles20
fixed #1292:fix some bugs that caused by modify function name
2012-06-15 02:41:44 -07:00
minggo 899022d107 fixed #1292:fix some bugs that caused by modify function name 2012-06-15 17:39:13 +08:00
James Chen daf93df610 Merge pull request #1029 from dumganhar/gles20
fixed #1310: Updated vs2010 project configuration after synchronizing to rc2.
2012-06-15 02:28:54 -07:00
James Chen 1d0fa4a9aa fixed #1292: Updated lua bindings. 2012-06-15 17:26:11 +08:00
James Chen 61719d813e fixed #1292:make some function names more readable. 2012-06-15 16:47:54 +08: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
James Chen 0afdfe33da Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20 2012-06-15 15:25:37 +08:00
James Chen c17091ac70 fixed #1310: Updated vs2010 project configuration after synchronizing to rc2. 2012-06-15 15:24:22 +08:00
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