Commit Graph

1960 Commits

Author SHA1 Message Date
James Chen fc2fd4d353 Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20 2012-03-22 09:46:23 +08:00
James Chen 59393c2fef issue #1056: Update CCLabelBMFont. 2012-03-22 09:46:07 +08:00
James Chen 2e8bae8ebf issue #1056: Update Android.mk. Make tests project being compiled successfully. 2012-03-21 22:49:58 +08:00
James Chen 35d93328b9 issue #1056: 1.Fixed a bug of double delete TouchDispatcher.
2. Modified the last parameter of glDrawElements. It will cause crash on some devices if the last parameter which means Indices's pointer is zero.
2012-03-21 21:53:03 +08:00
James Chen 6f4a01f454 Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20 2012-03-21 17:35:39 +08:00
James Chen f529bcd659 issue #1056: Move some singletons to CCDirector. It is easily managed by CCDirector. 2012-03-21 17:35:20 +08:00
minggo 6242656049 issue #1506: fix a confict 2012-03-21 17:23:33 +08:00
minggo 92c30a328e issue #1506: implement ShaderTest 2012-03-21 17:02:52 +08:00
James Chen 2ac2da9c97 issue #1056: 1. Removed ChipmunkTest, added ChipmunkAccelTouchTest.
2. Added Box2DTest and Box2DTestBed.
Tested on win32.
2012-03-21 15:43:35 +08:00
James Chen 8ef5e4ae3b issue #1056: Update the configuration of ios project.Sort the the project folder. 2012-03-21 11:07:31 +08:00
James Chen 00a81f5bd0 Merge branch 'gles20' of https://github.com/dumganhar/cocos2d-x into gles20 2012-03-21 10:43:54 +08:00
James Chen 02ae04c1d6 issue #1056: Modified the configuration of ios project. 2012-03-21 10:41:21 +08:00
James Chen bb4d7c2f88 issue #1056: Updated some files for ios platform. Added some 'TODO'. 2012-03-21 10:36:20 +08:00
James Chen 321771a7ea issue #1056: Added gles2.0 support for ios platform. 2012-03-21 10:05:23 +08:00
James Chen 7c0af610ff issue #1056: Added CCArray::copyWithZone implementation. CCDictElement bound check. 2012-03-20 23:30:18 +08:00
James Chen 15e03f8b14 issue #1056: Remove old files(CCMutableArray, CCMutableDictionary) reference in vc2008 project.
Update CCDICT_FOREACH implementation.
2012-03-20 21:08:52 +08:00
James Chen b5fca2f5f3 issue #1056: Fixed a bug in CCTouchDispatcher which will cause crash when app exit. Fixed some memory leaks. 2012-03-20 21:04:29 +08:00
minggo 382e4e7eb8 issue #1056: modify code according new code after pull 2012-03-20 17:27:06 +08:00
minggo 7ccb38556e Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into android_gles20 2012-03-20 16:10:53 +08:00
minggo 74aaf4c6ca issue #1056:gles20 runs ok on android 2012-03-20 16:10:12 +08:00
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
James Chen 9203b60fb0 add CCDictionary based on UTHASH, improve the performance. 2012-03-19 14:53:44 +08:00
James Chen f67ac20639 Merge pull request #775 from dumganhar/gles20-dev
issue #1056: synchronise cocos2d-iphone-2.0-rc0a, update some files.
2012-03-16 02:59:21 -07: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 86a1acc0d8 Merge pull request #774 from dumganhar/gles20-dev
issue #1056: synchronise cocos2d-iphone-2.0-rc0a
2012-03-15 22:45:20 -07:00
James Chen 275891dfb0 issue #1056: synchronise cocos2d-iphone-2.0-rc0a 2012-03-16 13:42:53 +08:00
James Chen 303818ef6d issue #1056: Update CCGLProgram. 2012-03-15 10:54:07 +08:00
James Chen 9e89171557 issue #1056: Rename ccGLState to ccGLStateCache, add some ccShader_***_.h, update CCGLProgram class. 2012-03-15 10:42:22 +08:00
James Chen 673a1ca238 Merge pull request #771 from dumganhar/gles20-dev
issue #1056: TestCases works ok except Box2dTest and ChipmunkTest.
2012-03-14 03:15:38 -07:00
James Chen 8aa3f7f9ae issue #1056: TestCases works ok except Box2dTest and ChipmunkTest. 2012-03-14 18:11:25 +08:00
James Chen b8d760064d issue #1056: Add CCVertex.h CCVertex.cpp, implement CCMotionStreak. 2012-03-14 16:10:01 +08:00
James Chen d0f93d38f4 Merge pull request #769 from dumganhar/gles20-dev
issue #1056: synchronise cocos2d-iphone gles2.0 branch, HelloWorld on win32 works ok.
2012-03-14 00:00:57 -07:00
James Chen aefdb852a2 issue #1056: synchronise cocos2d-iphone gles2.0 branch, HelloWorld on win32 works ok. 2012-03-14 14:55:17 +08:00
Paolo Giangrandi 4f2f403827 Fixed a broken call to SetTouchInfo in CCEGLView_linux.cpp 2012-03-12 14:22:48 +01:00
Paolo Giangrandi 7820be7841 Fixed a typo: CCAplication_linux.{cpp,h} renamed in CCApplication_linux.{cpp,h} 2012-03-12 14:22:39 +01:00
James Chen bd59979495 add gles2.0 libraries for win32.
add CCGLProgram, ccGLState, CCShaderCache.
add third library---kazmath
2012-03-12 15:22:03 +08:00
minggo cc7542a86b Merge pull request #766 from assoulter/master
Fix m_nEntryID typo
2012-03-11 20:06:24 -07:00
minggo 7fc0ffbf26 fixed #737: remove view id 2012-03-12 11:00:12 +08:00
Anton Rusanov 8e53d9db9f fix m_nEntryID typo for CC_LUA_ENGINE_DEBUG 2012-03-12 00:59:03 +04: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 7dfe4224e1 Merge pull request #756 from dualface/fix-lua-engine-bugs
fixed #1030: Improve Lua engine
2012-03-07 21:42:35 -08:00
minggo e9c1e43e27 Merge pull request #755 from dumganhar/iss1022_string_with_file
fixed #1022: Added a static method named CCString::stringWithContentsOfFile.
2012-03-07 21:39:59 -08:00
minggo 645d561276 fixed #737: remove view id 2012-03-08 12:40:27 +08:00
Liao YuLei c6c7fb1be6 Improve Lua engine
rename executeFunctionByRefId() to executeFunctionByHandler()

add executeFunctionWithCCObject()
add pushIntegerToLuaStack()
add pushFloatToLuaStack()
add pushBooleanToLuaStack()
add pushCCObjectToLuaStack()
2012-03-07 20:27:26 +08:00
James Chen c91fd243dc Update cocos2dx/include/CCString.h 2012-03-07 16:15:26 +08:00
James Chen 2564f39eb8 Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into iss1022_string_with_file 2012-03-07 16:13:16 +08:00
James Chen 00745ae172 fixed #1022: add the comment for CCString::stringWithContentsOfFile. 2012-03-07 16:12:46 +08:00
minggo a0f0971782 fixed #1017: improve win32 timing accuracy 2012-03-06 14:12:57 +08:00