Commit Graph

820 Commits

Author SHA1 Message Date
James Chen ae2b3307fa Merge pull request #779 from dumganhar/iss1056_CCDict
issue #1056: Removed CCMutableArray and CCMutableDictionary template, offered CCDictionary to improve the performance of dictionary by 60%, it means that CCDictionary can save about 2/3 time cost.
2012-03-20 00:07:58 -07:00
James Chen 6ce06bd906 issue #1056: Remove CCMutableArray and CCMutableDictionary template, offer CCDictionary to improve the performance of dictionary by 60%, it means that CCDictionary can save about 2/3 time cost. 2012-03-20 15:04:53 +08:00
minggo 39738e4270 issue #1056: implement ActionsProgressTest and run ok on win32 2012-03-19 18:20:32 +08:00
minggo 68809fd5ed Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20 2012-03-19 13:54:34 +08:00
James Chen e021ae9821 #1056: issue #1056: synchronise cocos2d-iphone-2.0-rc0a, update some files. 2012-03-16 17:56:19 +08:00
James Chen 275891dfb0 issue #1056: synchronise cocos2d-iphone-2.0-rc0a 2012-03-16 13:42:53 +08:00
minggo 41fad74017 Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20 2012-03-15 10:05:42 +08:00
James Chen 8aa3f7f9ae issue #1056: TestCases works ok except Box2dTest and ChipmunkTest. 2012-03-14 18:11:25 +08:00
folecr 6336df4024 Fix test to match newer API 2012-03-13 23:07:42 -07:00
Wartortle 7321d33aaf Added support files for Accelerometer Simulation for iPhone Simulator and
Unimotion
Ref: http://code.google.com/p/accelerometer-simulator/wiki/Home
Ref: https://github.com/gmarik/unimotion
2012-03-08 11:23:47 +00:00
minggo 645d561276 fixed #737: remove view id 2012-03-08 12:40:27 +08:00
minggo 7890333505 fixed #721: cocosdenshion can play local file on android 2012-03-06 16:56:30 +08:00
James Chen d3dedd19f2 fixed #995: Modify project configure for marmalade port after adding extension support and refactor resource folder. 2012-03-01 17:38:31 +08:00
James Chen dfd5adb3bd fixed #994: add support for bbndk2.0 on blackberry platform. 2012-03-01 16:52:17 +08:00
James Chen 7daeb5cd86 fixed #984: Use static library for cocos2dx project on platforms(bada and qnx) that use gcc compiler. Because dynamic_cast may fail if you use a gcc compiler. 2012-02-28 14:59:46 +08:00
James Chen 6d97e3e381 fixed #972: update ios project configures. 2012-02-16 11:48:09 +08:00
James Chen 2c599d31b5 Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into iss972_CCNotificationCenter 2012-02-15 17:02:47 +08:00
James Chen ac98d22367 update ios project configures for ios, and modify xcode4's template 2012-02-15 16:59:47 +08:00
James Chen e1413dff5e update linux project configure 2012-02-15 15:57:09 +08:00
James Chen a2a5af3348 update bada and qnx project settings 2012-02-15 13:52:41 +08:00
James Chen 3422696145 1.modify some project setting for bada
2.rename some files
2012-02-14 22:35:51 +08:00
James Chen abefe50ef7 modify marmalade project setting 2012-02-14 18:25:20 +08:00
James Chen f8ff388e8d rename Resource(in HelloLua and HelloWorld project) and Res(in tests project) to Resources.
test ok on win32 and android
2012-02-14 18:04:56 +08:00
minggo e75dbf2bd9 Merge pull request #724 from minggo/iss957_text_input
fixed #957: avoid to go to background when inputting test
2012-02-14 00:07:51 -08:00
minggo fd9f73f43e fixed #957: avoid to go to background when inputting test 2012-02-14 16:02:41 +08:00
James Chen c3d23a7923 issue #972: Modify project setting for all platforms. Use new icons for ios template. 2012-02-14 15:13:54 +08:00
James Chen 65b1b20c8d Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into iss972_CCNotificationCenter
Conflicts:
	cocos2dx/proj.win32/cocos2d-win32.vcxproj.filters
	tests/test.win32/test.win32.vcxproj.filters
2012-02-14 11:43:04 +08:00
James Chen 4b9ee55145 issue #972: modify project settings for linux and marmalade. 2012-02-10 13:39:39 +08:00
minggo 8b855a917f issue #973: refactor lua support 2012-02-10 12:02:46 +08:00
James Chen 81ec2c8586 issue #972: add support for CCNotificationCenter, and add the test demo for it.
modify the project setting for VS2008 and VS2010
2012-02-10 11:48:33 +08:00
minggo 3c41164b23 Merge pull request #716 from minggo/iss971_rtti
build cocos2dx as static lib and remove some unneeded codes
2012-02-09 18:35:28 -08:00
minggo 6ae40fc12f fixed #971: build cocos2dx as static lib 2012-02-10 10:31:56 +08:00
minggo 481f1c2532 fix a typo error 2012-02-09 18:17:25 +08:00
minggo 357c825fa5 issue #971: set JavaVM at JNI_Onload() 2012-02-09 16:27:15 +08:00
minggo 153d2b8192 issue #971: build cocos2dx as static lib and remove some unneeded codes 2012-02-09 15:49:14 +08:00
minggo ee08c4629e Merge pull request #714 from minggo/ndk_module
fixed #970: use modules in the android ndk build
2012-02-07 19:16:01 -08:00
minggo 52de292e20 fixed #970: use modules in the android ndk build 2012-02-08 11:14:47 +08:00
minggo 29c18c67ca Merge pull request #712 from minggo/ndk_module
Use modules in the Android NDK build
2012-02-06 22:36:45 -08:00
minggo 9249328afb fixed #970: use modules in the Android NDK build 2012-02-07 14:34:30 +08:00
dumganhar ee2139023a Merge pull request #708 from Wartortle/master
fixed #969: Addition of Accelerometer Simulation for Win32.
2012-02-06 18:57:41 -08:00
minggo a7c96b5371 fixed #954: correct accelerometer data when set orientation to portrait in tablet 2012-02-07 10:19:40 +08:00
Wartortle aa06de2fb3 Second half of commit for adding Accelerometer simulation to Win32. 2012-02-06 11:38:53 +00:00
minggo 591b7d0619 fixed #933: profile CCUserDefault 2012-02-02 14:18:13 +08:00
minggo 1ae8f001b8 Merge pull request #702 from minggo/iss947_closed_loop
fixed #947: fixed a closed loop
2012-02-01 02:22:02 -08:00
minggo 5e39489c71 fixed #947: fixed a closed loop 2012-02-01 18:18:31 +08:00
minggo 56677be235 Merge pull request #701 from minggo/iss964_label
fixed #964: compute correct height of a charactor
2012-02-01 02:05:50 -08:00
minggo 7b67c04f2f fixed #964: compute correct height of a charactor 2012-02-01 18:04:12 +08:00
dumganhar 64c892de79 Merge pull request #697 from dducharme/dalebranch
fixed #962: Updating the following:
CocosDenshion - now using OpenAL exclusively for audio, added ogg/vorbis support there
Accelerometer - fixing the accelerometer for different initial orientations of the device
Application - paying attention to the locale of the device and setting the current language accordingly
CCEGLView - paying attention to navigator events (menu, application go to background, application enters foreground), fixed up orientation code, fixed up screen event pointer code
2012-01-31 18:44:09 -08:00
minggo a2efab73a0 fixed #959: make touch id correct on android 2012-01-31 14:49:02 +08:00
Dale Ducharme 32e4cc1af2 Updating the following:
CocosDenshion - now using OpenAL exclusively for audio, added ogg/vorbis support there
Accelerometer - fixing the accelerometer for different initial orientations of the device
Application - paying attention to the locale of the device and setting the current language accordingly
CCEGLView - paying attention to navigator events (menu, application go to background, application enters foreground), fixed up orientation code, fixed up screen event pointer code
2012-01-30 20:27:58 -05:00
minggo 6c2277757a fixed #958: delete SelectorProtocol and implement it in CCObject 2012-01-30 17:47:47 +08:00
gzito fe79a2c5d2 Merge branch 'master' of git://github.com/cocos2d/cocos2d-x 2012-01-28 10:54:31 +01:00
dumganhar a23893507d fixed 952: make CCLabelBMFont support other language, such as chinese, korean, japanese. 2012-01-18 18:43:41 +08:00
gzito 9e180e9c01 Added true type fonts file for Marmalade version 2012-01-17 10:53:47 +01:00
gzito c87881ff94 Added Marmalade support to TextInputTest and HelloLua samples 2012-01-15 15:57:10 +01:00
dumganhar 3f7ab5a58f Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into modify_linux_port 2012-01-12 19:17:31 +08:00
dumganhar ef753afb6b modify eclipse project setting for linux port 2012-01-12 19:15:23 +08:00
minggo df668c9785 Merge pull request #675 from minggo/test
fixed #930: linux supports jpg format file
2012-01-12 01:51:16 -08:00
minggo 0e03c8ca21 fixed #930: linux supports jpg format file 2012-01-12 17:46:53 +08:00
minggo 3905e5a47b Merge pull request #670 from minggo/test
fixed #941: limit background music volume in [0, 1.0]
2012-01-11 01:57:27 -08:00
minggo 40b1798f41 fixed #941: limit background music volume in [0, 1.0] 2012-01-11 17:56:11 +08:00
dumganhar 4848dc9c46 fix a bug in SimpleAudioEngine.cpp on bada platform
use float value to change volume
2012-01-11 17:24:46 +08:00
minggo 86997d6709 fixed #940: replace icons and background pictures 2012-01-10 16:45:49 +08:00
dumganhar 317f23f498 fixed #939: Add create_qnx_project.vbs and add project references 2012-01-09 19:06:49 +08:00
minggo 1bd3601b11 fixed #937: use gnustl_static instead of stlport_static to resolve compiling error on android x86 platform 2012-01-04 18:02:32 +08:00
minggo 08e0be754b fixed #926: retain/release in Paddle 2011-12-28 15:13:02 +08:00
minggo d82471478d add run permition 2011-12-23 11:17:20 +08:00
minggo edbbe25a98 issue #888: remove the setting for android building 2011-12-23 10:40:02 +08:00
minggo b7fbd4fc13 issue #919: supporting global variable 2011-12-20 16:50:39 +08:00
minggo 857ce1d505 fixed #921: fix a bug that accelerometer axes inverted in android tablet 2011-12-19 16:29:26 +08:00
dumganhar af221f8710 fixed #918: modify filter of airplay to marmalade. 2011-12-16 11:08:37 +08:00
dumganhar 8298e0b6ff Merge branch 'master' of https://github.com/styck/cocos2d-x into pullrequest#611
Conflicts:
	tests/test.marmalade/test.mkb
2011-12-15 13:03:07 +08:00
dumganhar 265558d9c7 Merge branch 'dev' of https://github.com/guavagames/cocos2d-x into pullrequest#619 2011-12-15 11:36:42 +08:00
Didiet Noor 0f8da500c2 Restored Accidentally removed marmalade line from CocosDenshion Test 2011-12-15 02:05:25 +08:00
Didiet Noor 8c69c70fc3 Fixed Path Issues on QNX, CocosDenshion Test back to original 2011-12-15 00:31:17 +08:00
Didiet Noor f5d41d21b2 Added CDT Project and Modifying CocosDenshion for QNX 2011-12-14 21:26:47 +08:00
Walzer 7d01aa0c74 HelloWorld, Test and HelloLua can succefully compiled by xcodebuild commenline with -sdk iphonesimulator4.3 now. The key is GCC_VERSION="", you can not skip this null value, otherwise the commendline will use GCC4.2 as default, can generate tons of errors. 2011-12-13 22:25:51 +08:00
dumganhar 4b9cbb85ff #issue 908: Merge marmalade to latest cocos2d-x source
Merge branch 'master' of https://github.com/gzito/cocos2d-x into marmalade

Conflicts:
	cocos2dx/platform/CCFileUtils.cpp
	cocos2dx/platform/CCPlatformConfig.h
	cocos2dx/support/zip_support/ioapi.cpp
2011-12-12 17:46:21 +08:00
dumganhar baf3755142 remove some '__QNX__' macros 2011-12-12 16:14:12 +08:00
dumganhar dea2713f51 fixed #907: add blackberry port
Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into blackberry

Conflicts:
	cocos2dx/platform/CCSAXParser.h
2011-12-12 11:49:49 +08:00
minggo 95b43ac563 Merge pull request #614 from minggo/issue892_RTTI
Use RTTI to simplify codes
2011-12-11 19:40:34 -08:00
minggo 8c5c3300aa Merge pull request #612 from dumganhar/issue904
Issue904
2011-12-11 19:33:07 -08:00
styck b1cdb6543d Updated ccLanguageType CCApplication::getCurrentLanguage() to return the current language
Added tests for Marmalade and enabled language and font testing
2011-12-11 17:18:01 -08:00
gzito 47e108a8c5 Added marmalade support, removed airplay 2011-12-11 10:19:41 +01:00
styck bcf63d0e96 Merged from gitbub.gom/gzito, marmalade support, remove airplay 2011-12-10 20:59:48 -08:00
gzito f27f9180ff Merge remote-tracking branch 'remotes/styck/master' 2011-12-10 11:10:59 +01:00
Giovanni Zito 287f480c97 Added initWithString (TTF) and jpeg support 2011-12-09 22:05:12 +01:00
dumganhar 1c9ecabd89 modify all projects config 2011-12-09 17:03:11 +08:00
dumganhar 5dea9b8205 fix a crash bug in SimpleAudioEngine.cpp
update helloworld and tests main.cpp and AppDelegate.cpp files
2011-12-09 15:54:35 +08:00
styck 34759f4411 Enabled the CCUserDefault for Marmalade - works now that libxml2 is being used. 2011-12-08 20:47:42 -08:00
styck 7350fa9bb5 Updated based on G.Zito feedback 2011-12-08 19:51:19 -08:00
dumganhar b398d75e21 modify tests 'Res' link to 'Resource', remove the coupling between CocosDenshion and Cocos2dx 2011-12-09 10:32:00 +08:00
Giovanni Zito c5b0a76742 Added support to play more than one sound fx at once 2011-12-08 19:27:20 +01:00
Giovanni Zito 0a7a000c2d Changed symbols from "airplay" to "marmalade", added files and folders for marmalade 2011-12-08 12:21:48 +01:00
dumganhar b11bcacea8 modify Device-Debug project setting, finished running on device! 2011-12-08 18:22:06 +08:00
Giovanni Zito 1eb8ba656e Added marmalade folder 2011-12-08 11:15:20 +01:00
dumganhar fa07d16f73 switch to WVGA 2011-12-08 11:07:17 +08:00
dumganhar de7754697f fixed #904: use relative path for bada 2.0 projects 2011-12-07 18:26:38 +08:00
minggo a3986a9e21 issue 892: add cpp flag to support rtti on android 2011-12-07 16:51:54 +08:00
styck 96d400d918 Replace expat with libxml2, added libxml2 libraries and header files. Library built from: https://github.com/marmalade/marmalade-libxml2
Refactored Accelerometer to match other platforms

Updated SimpleAudioEngine.cpp with new functions.  (NOT tested).

Updated app.icf for latest Marmalade

Update deprecated function calls.

Removed CCSAXParser_aiplay.cpp - not used, uses default in platform.
2011-12-06 18:32:36 -08:00
dumganhar 520e3365c1 modify some project settings 2011-12-06 16:17:49 +08:00
dumganhar dfbf2c0cdb add tests project for blackberry 2011-12-06 15:03:14 +08:00
minggo 2f6fb5b189 Merge pull request #602 from minggo/master
change file structure in xcode view
2011-12-01 00:28:17 -08:00
minggo d92bdcc40d change file structure in xcode view 2011-12-01 16:27:11 +08:00
dumganhar 6973525319 Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into master_base 2011-12-01 14:19:07 +08:00
dumganhar ef8e34f9a1 fix a bug in ZwoptexTest.
step: click ZwoptexTest, back to mainmenu, enter SpriteTest, next to 'SpriteFrame Alias Name' will cause assert.
2011-12-01 14:15:10 +08:00
minggo ec70d1d240 Merge pull request #600 from dumganhar/master_base
fix a bug in IntervalTest
2011-11-30 22:05:07 -08:00
dumganhar f02ce4b15a fix a bug in IntervalTest 2011-12-01 13:56:20 +08:00
minggo 34d10fb3db Merge pull request #598 from dumganhar/master_base
DemoModernArt test crash on bada
2011-11-30 20:45:36 -08:00
minggo cddaa3fea2 fixed #885: make SimpleAudioEngine::setEffectVolume() take effect immediately on android 2011-12-01 12:12:14 +08:00
dumganhar bdddc188aa fix a bug that DemoModernArt crash on bada 2011-12-01 12:04:43 +08:00
dumganhar 0ae54cc0fd comment setIsAccelerometerEnabled( true ); in Box2dView.cpp, Box2dTestBed do not use Accelerometer. 2011-11-30 17:37:09 +08:00
dumganhar 262d5969c3 fixed #883: fix a bug in SpriteTest. 2011-11-30 17:29:16 +08:00
minggo adfec68577 fixed #850: update Box2d for linux 2011-11-29 17:12:21 +08:00
minggo c99d254c01 issue #850: update box2d for iOS and android 2011-11-29 15:16:16 +08:00
dumganhar 5a984bcc29 Merge branch 'master_base' into box2d2.2.1 2011-11-28 18:32:38 +08:00
dumganhar 3442d17dbe fixed #880: implement preLoadBackgroundMusic on bada, fix the bug that playEffect repeatly can't work. Modify CC_ASSERT macro define. 2011-11-28 18:05:38 +08:00
dumganhar cad4ff05f3 Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into master_base
Conflicts:
	cocos2dx/textures/CCTextureCache.cpp
2011-11-28 15:43:13 +08:00
Walzer ab7db20809 Fix a typo, CCSprite::get/setHornorParnetTransform to get/setHonorParnetTransform 2011-11-26 17:20:12 +08:00
dumganhar 10f5082a83 update box2d to version2.2.1 2011-11-25 18:30:27 +08:00
minggo bd595516b8 issue #781: add new functions for sound 2011-11-25 09:56:06 +08:00
dumganhar e87b00db67 add pthread support for bada 1.0 2011-11-24 17:26:04 +08:00
dumganhar 07da67f253 Merge branch 'master' into master_base
Conflicts:
	cocos2dx/menu_nodes/CCMenu.cpp
2011-11-24 11:52:16 +08:00
dumganhar 2bd49545fa add bada1.0 pthread support 2011-11-24 00:07:50 +08:00
dumganhar 035d7326db Merge branch 'master' of https://github.com/cocos2d/cocos2d-x 2011-11-23 21:43:40 +08:00
minggo 6aedc258b4 fixed #838: tests and HelloLua support x86 2011-11-23 15:51:30 +08:00
minggo 8b20639d75 issue #838: HelloWorld support x86 2011-11-23 11:02:18 +08:00
minggo bc60ed7856 issue #854: optimize CCTextureCache::addImageAsync() 2011-11-22 16:47:24 +08:00
minggo efa9275d7f save the codes for testing 2011-11-21 12:04:21 +08:00
minggo d48da20b0f synchrolize to master 2011-11-18 18:53:53 +08:00
U-zhangxm-PC\zhangxm d84b6c25be issue #223: merge bada branch and fix some error 2011-11-18 18:45:05 +08:00
minggo 775c7ff847 Merge pull request #573 from minggo/iss854_pthread
support pthread
2011-11-17 18:40:30 -08:00
minggo 0676714436 issue #854: add TextureCacheTest into makefile 2011-11-17 18:32:52 -08:00
minggo 522386a6b7 issue #854: pthread work ok on iOS 2011-11-18 09:55:47 +08:00
minggo 81b8fc0ce8 fixed #854: fix a bug of CCTextureCache 2011-11-17 14:34:41 +08:00
minggo cb75465913 issue #854: add test case for CCTextureCache 2011-11-17 10:10:13 +08:00
minggo dd8a2deeaf fixed #758: fix the bug that TTF fonts cause low memory on android 2011-11-16 11:40:24 +08:00
dumganhar 0d6ea61b76 fixed some bug:1.setDeviceOrientation, chipmunkDemo glOrthof 2011-11-07 18:18:10 +08:00
dumganhar e9a2818d0d use wvga setting, add SYSTEM_SERVICE 2011-11-02 01:11:06 +08:00
dumganhar 012052b089 modify project configure 2011-10-25 14:32:26 +08:00
dumganhar 4b653c89d1 modify project configure 2011-10-25 14:12:42 +08:00
dumganhar 146d3e1536 modify project config 2011-10-24 14:22:09 +08:00
dumganhar 2c87e5e17e use default manifest.xml 2011-10-24 11:01:39 +08:00
dumganhar 3aef823bd5 rename sdk1.2 to sdk1.0 2011-10-24 11:00:11 +08:00
dumganhar 59a14973ef change splash and icon to cocos2d 2011-10-24 10:54:08 +08:00
dumganhar eb901be664 project config change 2011-10-21 09:49:57 +08:00
dumganhar da794c1613 Merge branch 'master' into bada 2011-10-21 09:28:29 +08:00
dumganhar fdbb989ce5 make sdk1.2 to sdk1.0 2011-10-20 18:31:10 +08:00
Walzer 67bbbb2800 1. relative to bug #754, FontTest should use "fonts/abc.ttf" as external ttf name
2. fixed a tiny bug, FontTest can show font name on the top correctly
2011-10-20 14:56:39 +08:00
Walzer 707e22a2c8 fixed bug #754, particle test crashes on ios 4.3.3 & 5.0. Adding "fonts' into Resoures as "group" instead of "folder" cause this bug, but it can work on 4.3 and lower version. 2011-10-19 22:20:13 +08:00