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
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
e2a1a246a0
Converted removed all Carriage Returns (dos line-endings, ^M.) in cocos2dx, except in the windows project/platform files.
2012-06-13 14:26:28 -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
a4f0ba8722
Merge pull request #1018 from minggo/iss1322_labelttf
...
Make vertical alignment of CCLabelTTF works ok on iOS and Android
2012-06-13 03:37:31 -07:00
minggo
9321a8d025
fixed #1322 : vertical alignment works ok on android
2012-06-13 18:33:44 +08:00
minggo
15ad463fbe
issue #1322 : vertical alignment ok on iOS
2012-06-13 16:20:58 +08:00
minggo
2460a9f41e
Merge pull request #1016 from minggo/gles20
...
issue #1310 : modify some format
2012-06-12 20:24:34 -07:00