Commit Graph

37426 Commits

Author SHA1 Message Date
minggo cbf3233b59
Rename cocos2d::MessageBox to cocos2d::ccMessageBox. (#20159) (#20218) 2019-10-17 14:28:35 +08:00
minggo e86f22940a
Remove tinyxml2 from CCSaxParser implement. (#20141) (#20217) 2019-10-17 11:14:28 +08:00
minggo c816d2967b
Fix include order for Win32. (#20216) 2019-10-17 11:14:15 +08:00
minggo d29adb3180
sync #19914 (#20215) 2019-10-17 11:14:04 +08:00
minggo fae3ef8e48
fix memory leak (#20110) (#20214) 2019-10-17 11:13:02 +08:00
minggo fafd16e949
refactor Quaternion class (#20031) (#20213)
* remove redundant copy constructor and destructor
2019-10-17 11:12:49 +08:00
minggo 99e984dde5
fix crash when plist filename hasn't suffix (#19999) (#20212) 2019-10-17 11:12:37 +08:00
minggo 24b04e561b
sync #20007 to v4 (#20210)
* sync #20007 to v4

* Fixing a bug in Node::enumerateChildren (#20045)

This patch fixes an issue that if both // (recursive enumeration)
and .. (starting from parent node) are specified,
Node::enumerateChildren does not honor the latter and starts searching
from current node rather than parent node.
2019-10-17 11:12:25 +08:00
minggo 8a64e6f983
fix RotateTo animation when angle is bigger than 360 (#20009) (#20211) 2019-10-16 16:31:35 +08:00
CocosRobot 40038020ba [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20208) 2019-10-16 11:41:06 +08:00
Andy Duplain 0a227ef2d7 Don't use MTL_ pixelformat when building for iOS Simulator. (#20198) 2019-10-16 09:51:17 +08:00
coulsonwang b8cf680342 update ProgramState usage in lua (#20204) 2019-10-16 09:48:38 +08:00
CocosRobot bdf39670fd [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20203) 2019-10-16 09:44:05 +08:00
coulsonwang 67ae2e756e fix ProgramState and Program performance (#20189)
* fix ProgramState and Program performance

* fix review

* fix

* add autorelease
2019-10-15 09:40:59 +08:00
coulsonwang 327407d59b fix full screen issue (#20202)
need resize depth and stencil attachment texture as well.
2019-10-15 09:38:51 +08:00
coulsonwang b553648a77 remove unused code (#20195) 2019-10-12 09:45:56 +08:00
coulsonwang 68aedd7ef0 revert error caused by fixC4244Warning (#20190) 2019-10-11 16:39:33 +08:00
coulsonwang a91091e93a fix triangle batch (#20185)
* fix triangle batch
since it would be too expensive to check the uniforms, simplify enable batching for built-in program.

* enable user update the materialID
2019-10-10 09:41:39 +08:00
coulsonwang c7020fbb5f fix C4244 warning (#20173) 2019-10-09 17:50:32 +08:00
coulsonwang ab04e037b7 fix PhysicsContactTest (#20171)
modify the item relative position to avoid inappropriate operation.
2019-10-08 15:07:46 +08:00
coulsonwang 49a3b5b228 fix auto test fails (#20183)
needs an integer position
2019-10-08 15:06:47 +08:00
CocosRobot 4116371053 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20176) 2019-09-26 17:35:39 +08:00
rh101 4ac3f94774 V4 RenderTexture PMA flag fix (#20153)
* This is to ensure the RenderTexture internal texture2D PMA flag is set to the correct value.
[CCSprite.cpp] Blending mode needs to be set based on the PMA flag of the texture if using Sprite::initWithTexture().

* [CCSprite.cpp] Removed redundant code related to blending mode and opacityModifyRGB when creating a sprite with a texture.
2019-09-26 16:11:23 +08:00
Arnold d3359c3e4a [v4] update submodule cocos2d-console (#20170)
disable compile lua scripts on linux
2019-09-26 16:10:53 +08:00
minggo 774a90792c
fix link error on iOS simulator (#20172) 2019-09-26 16:09:59 +08:00
minggo 42c43a53a1
fix crash when back with playing video (#20169) 2019-09-25 14:33:18 +08:00
coulsonwang 6de088ab98 fix C4244 warning (#20162)
* fix C4244 warning

* fix warning C4244

* fix compile error
2019-09-25 14:32:26 +08:00
minggo 70bd4e967d
update external to fix compiling error on Xcode 11 (#20165) 2019-09-25 09:51:43 +08:00
Arnold 0d9b5ff442
rebase (#20166) 2019-09-25 09:13:23 +08:00
minggo 77a47957a7
set software mode will slow down performance (#20155) 2019-09-24 14:29:14 +08:00
coulsonwang 9ee9917047 fix Physics3DDebugDrawer (#20160)
Since drawing type is ARRAY, should use  instead.
2019-09-24 14:28:44 +08:00
Arnold 391780d5e2 [v4] update external version to metal-support-16 (#20161)
recompile libfreetype.a for ubuntu 18
2019-09-24 14:28:22 +08:00
coulsonwang 03a4ddf764 fix warning (#20146)
* fix warning
fix warning

* remove integer type constructor for Vec2
2019-09-24 11:31:35 +08:00
Arnold 18165adf5b \[v4\] update submodule console (#20147) 2019-09-21 08:43:43 +08:00
Arnold 9791ad635c
[v4] update console submodule: remove cmake toolchain file (#20138)
remove parameter CMAKE_TOOLCHAIN_FILE
2019-09-20 18:03:58 +08:00
coulsonwang 1888267fa9 add particle texture (#20144)
add particle texture
2019-09-20 17:31:08 +08:00
coulsonwang 5918758904 fixLuaNodeTest (#20145)
set depth write mask correctly
2019-09-20 17:30:52 +08:00
minggo b3dba7b93e
Merge pull request #20131 from Mee-gu/checkMemoryLeak
fix memory leak on metal app
2019-09-20 14:37:02 +08:00
minggo 965ea379a7
Merge pull request #20139 from Mee-gu/fixWarning
fix warning
2019-09-20 14:36:36 +08:00
coulsonwang 0dbe3419d2 fix warning
fix warning
2019-09-20 11:20:07 +08:00
minggo 00f8713f26
Merge pull request #20133 from PatriceJiang/v4_update_console_submodule_luajit
[v4] update submodule cocos2d-console
2019-09-20 09:26:03 +08:00
minggo 6287aaf5f0
Merge pull request #20135 from Mee-gu/fixWarings
Fix warnings
2019-09-20 09:21:25 +08:00
minggo edb6d90f39
Merge pull request #20130 from Mee-gu/fixParticleIssue
add particle texture
2019-09-20 09:19:34 +08:00
coulsonwang fb39795d27 fix warning 2019-09-19 18:43:31 +08:00
patricejiang ca39907660
[v4] update submodule cocos2d-console
recompile luajit-mac with -DLUAJIT_ENABLE_GC64
2019-09-19 15:49:16 +08:00
coulsonwang e9a33903f0 fix memory leak for metal app 2019-09-19 15:31:05 +08:00
coulsonwang 4c3375bc41 add particle texture 2019-09-18 10:02:33 +08:00
minggo 302007976a
getting correctly uniform location value (#20127)
* fix uniformLocation

* set the right position of uniform location
2019-09-18 09:44:44 +08:00
coulsonwang 83dd39ec0b remove unneeded codes (#20126)
was removed from Sprite3D. Should not be call from lua.
2019-09-18 09:22:15 +08:00
Arnold 96ae05d511 [bugfix] Android compile error on arm64 (#20128)
* add --no-warn-shared-textrel only in android/x86

* update comment position
2019-09-18 09:21:56 +08:00