Commit Graph

4984 Commits

Author SHA1 Message Date
minggo 0130aae044 Merge pull request #3916 from boyu0/iss2771_physical
[ci skip]issue 2771: physical
2013-10-10 19:50:19 -07:00
boyu0 3dcd1bc8b1 issue #2771: add #ifdef CC_USE_PHYSICS to CC_SAFE_DELETE(_physicsWorld) 2013-10-11 10:08:51 +08:00
boyu0 c99e4e95a5 issue #2771: fix some compile error. 2013-10-11 10:03:54 +08:00
boyu0 775a81ae19 issue #2771: Let the sprites added to SpriteBatchNode support physics. 2013-10-10 18:31:43 +08:00
minggo 3f010e78f8 issue #2905: modify makefile to refer to correct path 2013-10-10 18:03:03 +08:00
Dhilan007 6b400dd4ec rename some variable 2013-10-10 11:30:42 +08:00
Dhilan007 d3a58fa5ad Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into di2899 2013-10-10 11:24:35 +08:00
Dhilan007 a17f141e7d issues #2914:removeSpriteFramesFromFile() crashes if file doesn't exist 2013-10-10 10:28:49 +08:00
Dhilan007 7756c77651 issues #2899:Fix application will crash when back to background on Android. 2013-10-09 18:09:24 +08:00
boyu0 381f904cd4 issue #2771: add PhysicsMaterial 2013-10-09 17:53:12 +08:00
boyu0 4747e37acf issue #2771: let PhysicsShape::create doesn't need to pass the PhysicsBody 2013-10-09 13:41:19 +08:00
minggo d8d7d0b5a5 Merge pull request #3884 from samuele3hu/developPerformace
[ci skip]issue #2792:Performance Test: Sprite drawing
2013-10-08 19:08:48 -07:00
minggo b414caf499 Merge pull request #3889 from Dhilan007/di2895
[ci skip]issues #2895:Synchronize JSB from master to developer
2013-10-08 19:04:29 -07:00
Dhilan007 20971b0ad2 issues #2895:Synchronize JSB from master to developer 2013-10-08 15:57:34 +08:00
minggo a92db78c11 Merge pull request #3885 from Dhilan007/di2677
[ci skip]issues #2677:Use CoreMotion's API to replace UIAccelerometer.
2013-10-07 23:08:38 -07:00
LinWenhai 5a5dd2da14 Update CCDevice.mm 2013-10-08 13:44:35 +08:00
Huabing.Xu 44a63bb885 closed #2425: fix hole demo test error, we should use GLprogram before we set uniform to them 2013-10-08 11:48:57 +08:00
Dhilan007 5acac436f9 issues #2677:Use CoreMotion's API to replace UIAccelerometer. 2013-10-08 10:11:52 +08:00
boyu0 35259588a3 issue #2771: fix some bugs in PhysicsShape 2013-09-30 21:48:25 +08:00
boyu0 9c16a45f33 issue #2771: separate the PhysicsBody and the PhysicsShape. 2013-09-30 20:43:19 +08:00
samuelhu 01ee83364e Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developPerformace 2013-09-30 16:23:37 +08:00
samuelhu 6aa18423e6 issue #2792 : Performance Test: Sprite drawing 2013-09-30 16:22:55 +08:00
boyu0 18a4b18368 issue #2771: move _physicsBody from sprite to node 2013-09-30 13:02:17 +08:00
boyu0 fcb2c9b919 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical 2013-09-29 09:55:11 +08:00
Dhilan007 4509a4746a issues #2861:fix memory leak when loading plist file using SpriteFrameCache. 2013-09-29 09:47:34 +08:00
boyu0 dbfd05ef77 issue #2771: add tag and enable functions to physics classes 2013-09-29 09:39:20 +08:00
James Chen 93436eea3c Merge pull request #3553 from DarraghCoy/ccset_leak_fix
Fix a memory leak in Set::removeAllObjects.
2013-09-25 20:00:08 -07:00
James Chen 610379de54 Merge pull request #3826 from michaelcontento/emscripten-fixes
Various small Emscripten fixes
2013-09-25 17:12:03 -07:00
Ricardo Quesada 341178cb91 Removes unneeded log
This log is already part of `CCConfiguration`
2013-09-25 13:03:47 -07:00
Michael Contento 5ca052446c various small fixes 2013-09-25 17:57:12 +02:00
Darragh Coy 8654df7b0e Remove Hungarian notation.
Remove Hungarian notation in fix made for memory leak in Set::removeAllObjects().
2013-09-24 21:01:30 +01:00
James Chen 1a5b8a7673 Merge pull request #3785 from yuye-liu/particle_designer_2
Particle designer 2[ci skip]
2013-09-24 02:57:49 -07:00
James Chen 3ffad35f0e Merge pull request #3741 from signmotion/develop
Fixed some compiling-warnings (MSVC2012).[ci skip]
2013-09-24 02:27:14 -07:00
yuye.liu 52559bc099 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-09-24 16:19:44 +08:00
yuye.liu 29332d0209 revising erro indent 2013-09-24 16:18:51 +08:00
minggo f91c29c45e Merge pull request #3689 from yuye-liu/particle_designer_2
[ci skip]particle designer2.0 support
2013-09-24 00:40:47 -07:00
minggo 9211d8f503 Merge pull request #3742 from mlepage/develop
Clean up some API documentation
2013-09-23 19:15:37 -07:00
minggo 2dd08a4945 Merge pull request #3769 from michaelcontento/android-fix-opengl-config
[ci skip]add EGL_RENDERABLE_TYPE to OpenGL attributes
2013-09-23 19:08:55 -07:00
minggo 5f2c94ee3c Merge pull request #3768 from michaelcontento/android-fix-null-access
[ci skip]wrong variable used which could crash the whole app
2013-09-23 19:07:22 -07:00
minggo 0c5e5cbf0c Merge pull request #3767 from michaelcontento/android-add-runOnGLThread-back-again
[ci skip]re-introduce Cocos2dxHelper.runOnGLThread(Runnable)
2013-09-23 19:00:36 -07:00
Ricardo Quesada 769a7ea1ed Logs when software decoder is being used
Logs when software decoder is being used in `Image`
2013-09-23 17:03:28 -07:00
Michael Contento 4211cc7fd1 re-introduce Cocos2dxHelper.runOnGLThread(Runnable)
It's crucial to execute various tasks synchonized with the rendering loop /
thread, but this ability (runOnGLThread) got removed with the NativeActivity
transitions a few days ago. This patch adds this method back again.

Why can't we just use runOnUiThread()? Because it seems not to be synchronized
properly and can cause broken OpenGL textures or even the whole app to crash.

Isn't there a better way to get into the mainloop? I hope so! But I'm not a
experienced Android developer and this solution is quite simple / the only one
that worked without any problems.
2013-09-23 11:53:12 +02:00
Michael Contento 09543a0aac wrong variable used which could crash the whole app 2013-09-23 11:50:34 +02:00
Michael Contento c9fe2c5107 add EGL_RENDERABLE_TYPE to OpenGL attributes
This patch adds EGL_RENDERABLE_TYPE=EGL_OPENGL_ES2_BIT to the OpenGL attributes.
The default value for this setting is EGL_OPENGL_ES_BIT and, as we require ES 2.0,
cause some problems on various Android devices (e.g. Amazon Kindle 2.Gen).
2013-09-23 11:44:14 +02:00
yuye.liu b7f1a980ab revising indent Erro 2013-09-23 16:24:33 +08:00
yuye.liu 56a058c74d modify particleSystem format erro 2013-09-23 10:12:54 +08:00
yuye.liu 276b770867 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-09-23 10:12:00 +08:00
Marc Lepage e6144e2c80 Clean up some API documentation 2013-09-22 20:05:49 -04:00
signmotion 7d139a3bc3 Fixed compiling-warnings (MSVC2012): C4996(* was declared deprecated), C4305 (* truncation from 'double' to 'float'), C4018 (* signed/unsigned mismatch), C4800(* forcing value to bool 'true' or 'false'). 2013-09-22 23:50:54 +03:00
James Chen 335c45664a Merge pull request #3736 from elwinarens/desc_scene_spelling
Minor spelling changes in description of CCScene.h[ci skip]
2013-09-22 07:05:38 -07:00