Commit Graph

338 Commits

Author SHA1 Message Date
James Chen 2779b4f1ab Merge branch 'gles20' of https://github.com/johnangel/cocos2d-x into johnangel 2012-10-17 15:08:25 +08:00
johnangel a2e1400402 Merge remote branch 'upstream/gles20' into gles20 2012-10-16 08:42:30 +02:00
James Chen deed3ddc33 Updated AppDelegate of SampleGame for iOS port. 2012-10-15 18:50:46 +08:00
minggo 2ded8ea034 Merge pull request #1442 from dumganhar/iss1486-multi-res
Multiresolution support
2012-10-15 02:15:21 -07:00
minggo 93d702e3cc fixed #1491:remove dependency of FontLabel lib 2012-10-15 12:03:15 +08:00
James Chen 39a4af57cc issue #1486: Using relative position for ActionsTest and Box2dView. 2012-10-14 22:21:57 +08:00
minggo 8b650794e6 Merge pull request #1445 from minggo/gles20
make TestJavascript work on iOS
2012-10-12 02:47:55 -07:00
James Chen 32a9d51618 issue #1486: Commented some unused codes. 2012-10-12 17:37:49 +08:00
James Chen 36600d95b1 issue #1486: Calculate content scale factor by screen height. 2012-10-12 17:37:26 +08:00
James Chen 04a4ebc571 issue #1486: Using relative coordinate for HelloLua. 2012-10-12 16:18:28 +08:00
James Chen f5abe422ea Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into iss1486-multi-res 2012-10-12 15:50:11 +08:00
James Chen 6fd24c469b Updated *.user for vs2010 & vs2008. 2012-10-12 15:45:57 +08:00
James Chen e876b997e7 Updated TestJavascript.vcproj 2012-10-12 15:42:00 +08:00
James Chen 3b0a989200 Updated TestJavascript project configuration for VS2008 & VS2010. 2012-10-12 15:14:47 +08:00
minggo 572460e60a make TestJavascript work on iOS 2012-10-12 12:00:36 +08:00
James Chen 98aa5dd489 issue #1486: Updated AppDelegate.cpp and proj.win32/main.cpp. 2012-10-12 10:02:49 +08:00
folecr 36f8b31efc Define some helper functions and comment out references to chipmunk 2012-10-11 17:56:44 -07:00
folecr fc59b2c962 Updated build script
* merges js files from the cocos2d-html5-tests submodule into Android's assets folder
 * copies js helper files into Android's assets folder
 * copies the res from cocos2d-html5-tests into Android's assets folder
2012-10-11 16:58:44 -07:00
folecr 336af23428 Helper files copied from cocos2d-iphone 2012-10-11 16:58:44 -07:00
folecr c63cf54256 Submodule for cocos2d-html5-tests 2012-10-11 16:37:22 -07:00
folecr 2e8aad611d Run tests-boot-jsb.js from the root directory 2012-10-11 16:35:17 -07:00
folecr a763e4242f Remove samples/TestJavascript/Resources 2012-10-11 14:25:48 -07:00
folecr 2cf579de6b NDK debugger script 2012-10-11 14:25:47 -07:00
James Chen b78e2c9130 issue #1486: Added iPad, ipadhd resources, and make some watermark for these pictures. 2012-10-11 18:33:43 +08:00
James Chen cdf54a872f issue #1486: A bug fix. 2012-10-11 17:02:27 +08:00
James Chen 77da7b5895 issue #1486: First commit based on BorMor's branch. 2012-10-11 16:45:14 +08:00
James Chen ade54a3de7 Merge branch 'multi_resolution_support' of https://github.com/BorMor/cocos2d-x into bormor-multi-res
Conflicts:
	samples/HelloCpp/Classes/AppDelegate.cpp
	samples/HelloCpp/Classes/HelloWorldScene.cpp
2012-10-11 16:12:22 +08:00
James Chen 918045e6ac issue #1469: Deleted two unused files. 2012-10-10 22:18:27 +08:00
James Chen 122a748029 issue #1469: Removed some unused resources. 2012-10-10 22:15:47 +08:00
James Chen 36d8e86879 issue #1469: Made MoonWarriors works on iOS. 2012-10-10 22:06:44 +08:00
James Chen abd1d7e3bf issue #1469: VS2010 compilation works. 2012-10-10 15:14:19 +08:00
James Chen 5054684e00 issue #1469: Made MoonWarriors works on android. 2012-10-10 15:06:11 +08:00
James Chen d03ff0616a issue #1469: Added MoonWarriors sources and made it works on windows. 2012-10-10 14:50:04 +08:00
johnangel ad7dacc281 Merge remote branch 'upstream/gles20' into gles20 2012-10-08 16:35:43 +02:00
Walzer f1d9629404 Merge pull request #1361 from ncrothe/gles20
add the capability to set custom http header to HttpClient
2012-10-08 01:06:39 -07:00
minggo 58b46b2f53 Merge pull request #1419 from folecr/ndkgdb
Run Android debugger with Cocos2D-X projects!
2012-10-07 19:52:12 -07:00
folecr d8a26a8623 Use "-j8" flag to ndk-build when building TestJavaScript
* If a "-p" for "parallel build" option is set
2012-10-05 12:36:04 -07:00
folecr abcb6b33a7 set -x in build script so that entire command line is available in the build log 2012-10-01 11:58:46 -07:00
folecr 2f5613595b Helper script to launch this application via ndk-gdb 2012-10-01 11:58:45 -07:00
walzer d18eecf247 UIInterfaceOrientationMaskLandscape -> UIInterfaceOrientationMaskAllButUpsideDown, developers still need to set orientation in xcode->targets 2012-09-27 10:28:00 +08:00
walzer c9772c76ec fix compilation error in xcodebuild command line, which are caused by ios6 deprecated marcos and enums 2012-09-27 00:44:40 +08:00
minggo f3e2a385e1 modify xcode project to include correct files 2012-09-26 17:12:57 +08:00
James Chen 0ca7e00700 fixed some compilation errors for linux platform. 2012-09-26 15:23:10 +08:00
James Chen ac8edf1384 Updated samples/TestCpp/proj.linux/Makefile. 2012-09-26 14:06:49 +08:00
minggo dc3ba6e0cc fix some bugs when testing 2012-09-26 12:01:42 +08:00
James Chen 4a3127f41f Updated android template. Added 'cocos2dx/platform/android/java/res/.gitignore' since res folder is needed for eclipse. 2012-09-25 21:52:30 +08:00
minggo 6878b626cd add new GUI component 2012-09-25 18:00:06 +08:00
minggo 2b35f1a20f Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into layer_gradient 2012-09-25 17:38:17 +08:00
minggo 418816ea77 add fps_image.png into TestCpp 2012-09-25 17:06:59 +08:00
James Chen f7229f74d8 issue #1483: Synchronizing CCControlExtension to latest version. 2012-09-25 16:57:51 +08:00
minggo da97921099 fix compile errors of TestJavaScript 2012-09-25 16:21:28 +08:00
walzer 609c4b12f9 revert back SimpleGame to enableRetinaDisplay approach. Update background image of HelloCpp to 640x1136. 2012-09-24 21:14:08 +08:00
Sergey Vikhirev 05eb4352e8 Remove retina specific methods and logic 2012-09-24 14:22:02 +04:00
minggo a568c1d221 revert modification of AppDelegate.cpp 2012-09-24 17:24:00 +08:00
ncrothe e0fe233752 Update samples/TestCpp/Classes/ExtensionsTest/NetworkTest/HttpClientTest.cpp
Added test to show use of HttpRequest::setHeaders
2012-09-24 12:15:53 +03:00
minggo eb952e7c69 Merge pull request #1370 from minggo/ptr_int
Ptr int
2012-09-24 00:27:21 -07:00
minggo f17545a1ae fix a compile error 2012-09-24 15:26:18 +08:00
walzer caa67d1eed Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into adapt-4inch-iphone5
Conflicts:
	samples/TestJavascript/proj.ios/TestJavascript.xcodeproj/project.pbxproj
2012-09-24 15:17:58 +08:00
minggo 88952396e4 Merge branch 'ptr_int_casting_issue' of https://github.com/ByungChoi/cocos2d-x into ptr_int 2012-09-24 15:16:30 +08:00
minggo 48f9df7680 fix conflict 2012-09-24 15:01:24 +08:00
walzer 78ef574962 add touch callback to HelloCpp. Users can learn setDesignResolution easily. 2012-09-24 14:14:53 +08:00
walzer 7088b19a1a add sample code in HelloCpp & SimpleGame to teach how to adapt design resolution to different iPhone screens (HVGA, 3.5 inch retina, and 4.0 inch retina) 2012-09-24 13:59:16 +08:00
minggo e20b933f1a make TestJavaScript work and fix some warnings 2012-09-24 13:57:45 +08:00
walzer ed936dcd48 Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into adapt-4inch-iphone5 2012-09-24 12:03:36 +08:00
Walzer 5c5544f823 Merge pull request #1363 from walzer/gles20
fix ios6 orientation error, which is caused by ios6 api change.
2012-09-23 21:00:30 -07:00
James Chen e4cee68688 Added libExtensions.lib for TestJavascript vs2010 project.
Removed some calling of 'USING_NS_CC;' in extensions.
2012-09-24 11:47:33 +08:00
James Chen 426915dd4a fixed some compilation error for win32 platform. 2012-09-24 11:05:15 +08:00
walzer 5b3bb2a087 Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20
Conflicts fixed:
	cocos2dx/platform/ios/FontLabel/FontLabel.m
	cocos2dx/platform/ios/FontLabel/FontLabelStringDrawing.m
	template/xcode4/lib_js.xctemplate/TemplateInfo.plist
2012-09-24 11:03:26 +08:00
walzer c50a62be7a issue #1482, fix typos, mehod -> method. 2012-09-24 10:54:03 +08:00
walzer 59a4b0460b HelloCpp and SimpleGame teaches how to adapt on all iPhone/iPad multi-resolutions, especially for 4-inch retina screen. 2012-09-24 10:46:15 +08:00
Walzer 88b98faa88 fixed #1482, fix orientation problem caused by ios6 api change.
AppDelegate.mm & RootViewController.mm are updated.
2012-09-23 20:24:51 +08:00
Byung Choi dad0573b29 fixed build breakage for linux from change of test src name. 2012-09-22 03:18:26 +09:00
minggo dca626eab0 Merge pull request #1357 from ByungChoi/linux_makefile
Linux makefile
2012-09-21 02:12:45 -07:00
minggo 0a1f0369e6 fixed #1481: merge Nicolas's pull request and do some bug fixes 2012-09-21 17:01:19 +08:00
Byung Choi a83b6a6261 updated sample/helloCpp debug & release makefile for linux 2012-09-21 15:35:41 +09:00
Byung Choi 4d04a1863b make-all-linux now builds debug & release, testCpp also gets both 2012-09-21 14:34:05 +09:00
Walzer c7ffe79baf remove useless LOCAL_STATIC_LIBRARIES := curl_static_prebuilt in TestCpp/proj.android/jni/android.mk
The linking relationship is TestCpp -> cocos_extension_static -> cocos_curl_static now. Applications can link the extension library to use libcurl.

And this line still links curl_static_prebuilt which is not exist now, which made developers confused.
2012-09-21 10:10:17 +08:00
James Chen 9fabf3a45b fixed #1470: Made CCBReader support cocosbuilder v2.1-beta0. 2012-09-19 18:41:50 +08:00
minggo 8cdf73640b Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into iss1470_cocosbuilder 2012-09-19 18:08:17 +08:00
minggo 2f3cdc6538 issue #1470:modify linux makefile and re-create xcode template 2012-09-19 18:05:10 +08:00
minggo 5e169eb0af issue #1470: put hd/ipad resources into corresponding directory 2012-09-19 17:54:45 +08:00
minggo ebe092661b issue #1470: modify mac project and delete unneeded files 2012-09-19 17:50:30 +08:00
minggo 4bff6927b8 issue #1470:re-publish ccb 2012-09-19 17:43:11 +08:00
minggo 9db2df3f7b issue #1470:modify resources path 2012-09-19 09:40:02 +08:00
folecr 5d816bfaf6 Verbose logging of build process 2012-09-18 17:08:37 -07:00
folecr f54566ac03 More robust script exits on errors and ...
* Remove source build command (source repos for dependencies are not submodules)
2012-09-18 17:02:01 -07:00
minggo 4b969e35c8 issue #1470:implement animation 2012-09-17 18:49:05 +08:00
minggo 0c4b5dd3e9 issue #1470:fix some crashes 2012-09-17 15:31:07 +08:00
Donald Alan Morrison 4cbd993091 Minor English Spelling Corrections. A few grammar corrections. 2012-09-17 00:02:24 -07:00
minggo 0845e08fd3 issue #1470:update CCBReader to support Cocosbuilder v2.1 beta0 2012-09-17 14:27:17 +08:00
johnangel fdec1ba4b9 Fixing include paths to be able to compile cocos2d-x using
external Visual Studio solution, without copying all files
2012-09-15 16:34:31 +02:00
James Chen f4ddabb942 Updated "ant.properties" for TestJavascript project since it will ignore 'assets/Images, assets/Fonts' folder. 2012-09-15 15:36:31 +08:00
YuLei 209e44ff09 [Lua] update HelloLua 2012-09-11 17:31:21 +08:00
YuLei ab6a476deb update TestLua 2012-09-11 17:13:20 +08:00
James Chen b6e4c98334 Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into dualface-lua 2012-09-11 14:03:33 +08:00
James Chen 7d8b261ced fixed #1477: Abstracts Lua and JS binding protocol, some bugs fixes in lua-binding, adding custom menu on win32 and mac for switching resolutions. 2012-09-11 14:02:33 +08:00
James Chen 2572823b1a Merge pull request #1301 from folecr/fix_android_module_location
fixed #1476: Update location of spidermonkey-android makefile.
2012-09-10 18:53:02 -07:00
folecr 991d63eaad Update location of spidermonkey-android makefile 2012-09-10 16:12:48 -07:00
James Chen 6a1aae95aa Merge branch 'gles20' of https://github.com/dualface/cocos2d-x into dualface-lua
Conflicts:
	cocos2dx/proj.mac/cocos2dx.xcodeproj/project.pbxproj
2012-09-10 17:00:22 +08:00
James Chen c9ca584726 Merge pull request #1297 from dumganhar/tableview-win32
fixed #1458: Adding CCTableView support.
2012-09-09 23:52:18 -07:00