mirror of https://github.com/axmolengine/axmol.git
Merge branch 'v3' of git@github.com:AppleJDay/cocos2d-x.git
This commit is contained in:
commit
bcecf09b6c
|
@ -1,13 +1,16 @@
|
|||
cocos2d-x-3.3 ??
|
||||
[NEW] Added UIScale9Sprite
|
||||
[NEW] FileUtils: add isDirectoryExist(), createDirectory(), removeDirectory(), removeFile(), renameFile()
|
||||
getFileSize()
|
||||
[NEW] FileUtilsApple: allow setting bundle to use in file utils on iOS and Mac OS X
|
||||
[NEW] Image: support of software PVRTC v1 decompression
|
||||
[NEW] TextField: support utf8
|
||||
|
||||
[FIX] EditBox: font size is not scaled when glview is scaled on Mac OS X
|
||||
[FIX] Label: can not set charmap after it is created
|
||||
[FIX] Label: setTextColor does not have any effect on Mac OS X
|
||||
[FIX] ParticleSystem: effect is wrong if scene scaled
|
||||
[FIX] ParticleSystemQuad: setTotalParticles() can't set a value larger than initialized value
|
||||
[FIX] Scale9Sprite: new added sprite will be hidden
|
||||
[FIX] UIListView: can not insert an item in specific position, it is added at bottom
|
||||
[FIX] TabelView: can handle touch event though its parents are invisible
|
||||
|
|
|
@ -1,88 +1,54 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libBox2D", "..\external\Box2D\proj.win32\Box2D.vcxproj", "{929480E7-23C0-4DF6-8456-096D71547116}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-tests", "..\tests\cpp-tests\proj.win32\cpp-tests.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosBuilder", "..\cocos\editor-support\cocosbuilder\proj.win32\libCocosBuilder.vcxproj", "{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libNetwork", "..\cocos\network\proj.win32\libNetwork.vcxproj", "{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libSpine", "..\cocos\editor-support\spine\proj.win32\libSpine.vcxproj", "{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libnetwork", "..\cocos\network\proj.win32\libNetwork.vcxproj", "{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblua", "..\cocos\scripting\lua-bindings\proj.win32\liblua.vcxproj", "{DDC3E27F-004D-4DD4-9DD3-931A013D2159}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua-tests", "..\tests\lua-tests\project\proj.win32\lua-tests.win32.vcxproj", "{4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos\ui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-empty-test", "..\tests\cpp-empty-test\proj.win32\cpp-empty-test.vcxproj", "{B8BF9E81-35FD-4582-BA1C-B85FA365BABB}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua-empty-test", "..\tests\lua-empty-test\project\proj.win32\lua-empty-test.vcxproj", "{13E55395-94A2-4CD9-BFC2-1A051F80C17D}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libbox2d", "..\external\Box2D\proj.win32\libbox2d.vcxproj", "{929480E7-23C0-4DF6-8456-096D71547116}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos\2d\libcocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocosdenshion", "..\cocos\audio\proj.win32\libcocosdenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libui", "..\cocos\ui\proj.win32\libui.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libextension", "..\extensions\proj.win32\libextension.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libspine", "..\cocos\editor-support\spine\proj.win32\libspine.vcxproj", "{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocosbuilder", "..\cocos\editor-support\cocosbuilder\proj.win32\libcocosbuilder.vcxproj", "{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocostudio", "..\cocos\editor-support\cocostudio\proj.win32\libcocostudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32
|
||||
{929480E7-23C0-4DF6-8456-096D71547116}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{929480E7-23C0-4DF6-8456-096D71547116}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{929480E7-23C0-4DF6-8456-096D71547116}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{929480E7-23C0-4DF6-8456-096D71547116}.Release|Win32.Build.0 = Release|Win32
|
||||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32
|
||||
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32
|
||||
{76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32
|
||||
{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}.Release|Win32.Build.0 = Release|Win32
|
||||
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32
|
||||
{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Release|Win32.Build.0 = Release|Win32
|
||||
{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}.Release|Win32.Build.0 = Release|Win32
|
||||
{DDC3E27F-004D-4DD4-9DD3-931A013D2159}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{DDC3E27F-004D-4DD4-9DD3-931A013D2159}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{DDC3E27F-004D-4DD4-9DD3-931A013D2159}.Release|Win32.ActiveCfg = Release|Win32
|
||||
|
@ -91,10 +57,6 @@ Global
|
|||
{4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}.Release|Win32.Build.0 = Release|Win32
|
||||
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32
|
||||
{B8BF9E81-35FD-4582-BA1C-B85FA365BABB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{B8BF9E81-35FD-4582-BA1C-B85FA365BABB}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{B8BF9E81-35FD-4582-BA1C-B85FA365BABB}.Release|Win32.ActiveCfg = Release|Win32
|
||||
|
@ -103,6 +65,38 @@ Global
|
|||
{13E55395-94A2-4CD9-BFC2-1A051F80C17D}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{13E55395-94A2-4CD9-BFC2-1A051F80C17D}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{13E55395-94A2-4CD9-BFC2-1A051F80C17D}.Release|Win32.Build.0 = Release|Win32
|
||||
{929480E7-23C0-4DF6-8456-096D71547116}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{929480E7-23C0-4DF6-8456-096D71547116}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{929480E7-23C0-4DF6-8456-096D71547116}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{929480E7-23C0-4DF6-8456-096D71547116}.Release|Win32.Build.0 = Release|Win32
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32
|
||||
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32
|
||||
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32
|
||||
{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}.Release|Win32.Build.0 = Release|Win32
|
||||
{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}.Release|Win32.Build.0 = Release|Win32
|
||||
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -13,6 +13,11 @@
|
|||
buildPhases = (
|
||||
);
|
||||
dependencies = (
|
||||
B2F0AFEC198794EE002FE562 /* PBXTargetDependency */,
|
||||
B2F0AFEE198794EE002FE562 /* PBXTargetDependency */,
|
||||
B2F0AFF0198794EE002FE562 /* PBXTargetDependency */,
|
||||
B2F0AFF2198794EE002FE562 /* PBXTargetDependency */,
|
||||
B2F0AFF4198794EE002FE562 /* PBXTargetDependency */,
|
||||
A03F31FF178147CB006731B9 /* PBXTargetDependency */,
|
||||
A03F2FC01781458C006731B9 /* PBXTargetDependency */,
|
||||
A03F2E93178141D1006731B9 /* PBXTargetDependency */,
|
||||
|
@ -28,6 +33,11 @@
|
|||
buildPhases = (
|
||||
);
|
||||
dependencies = (
|
||||
B2F0AFF619879508002FE562 /* PBXTargetDependency */,
|
||||
B2F0AFF819879508002FE562 /* PBXTargetDependency */,
|
||||
B2F0AFFA19879508002FE562 /* PBXTargetDependency */,
|
||||
B2F0AFFC19879508002FE562 /* PBXTargetDependency */,
|
||||
B2F0AFFE19879508002FE562 /* PBXTargetDependency */,
|
||||
A07A4E10178386520073F6A7 /* PBXTargetDependency */,
|
||||
A07A5047178389710073F6A7 /* PBXTargetDependency */,
|
||||
A07A5049178389710073F6A7 /* PBXTargetDependency */,
|
||||
|
@ -40,6 +50,10 @@
|
|||
/* End PBXAggregateTarget section */
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
15EFA211198A2BB5000C57D3 /* CCProtectedNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA20F198A2BB5000C57D3 /* CCProtectedNode.cpp */; };
|
||||
15EFA212198A2BB5000C57D3 /* CCProtectedNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA20F198A2BB5000C57D3 /* CCProtectedNode.cpp */; };
|
||||
15EFA213198A2BB5000C57D3 /* CCProtectedNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA210198A2BB5000C57D3 /* CCProtectedNode.h */; };
|
||||
15EFA214198A2BB5000C57D3 /* CCProtectedNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA210198A2BB5000C57D3 /* CCProtectedNode.h */; };
|
||||
1A01C68418F57BE800EFE3A6 /* CCArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A01C67618F57BE800EFE3A6 /* CCArray.cpp */; };
|
||||
1A01C68518F57BE800EFE3A6 /* CCArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A01C67618F57BE800EFE3A6 /* CCArray.cpp */; };
|
||||
1A01C68618F57BE800EFE3A6 /* CCArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A01C67718F57BE800EFE3A6 /* CCArray.h */; };
|
||||
|
@ -553,6 +567,10 @@
|
|||
1AD71EF5180E27CF00808F54 /* CCPhysicsSprite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD71EEE180E27CF00808F54 /* CCPhysicsSprite.cpp */; };
|
||||
1AD71EF6180E27CF00808F54 /* CCPhysicsSprite.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AD71EEF180E27CF00808F54 /* CCPhysicsSprite.h */; };
|
||||
1AD71EF7180E27CF00808F54 /* CCPhysicsSprite.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AD71EEF180E27CF00808F54 /* CCPhysicsSprite.h */; };
|
||||
2958244B19873D8E00F9746D /* UIScale9Sprite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2958244919873D8E00F9746D /* UIScale9Sprite.cpp */; };
|
||||
2958244C19873D8E00F9746D /* UIScale9Sprite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2958244919873D8E00F9746D /* UIScale9Sprite.cpp */; };
|
||||
2958244D19873D8E00F9746D /* UIScale9Sprite.h in Headers */ = {isa = PBXBuildFile; fileRef = 2958244A19873D8E00F9746D /* UIScale9Sprite.h */; };
|
||||
2958244E19873D8E00F9746D /* UIScale9Sprite.h in Headers */ = {isa = PBXBuildFile; fileRef = 2958244A19873D8E00F9746D /* UIScale9Sprite.h */; };
|
||||
2986667F18B1B246000E39CA /* CCTweenFunction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2986667818B1B079000E39CA /* CCTweenFunction.cpp */; };
|
||||
299754F4193EC95400A54AC3 /* ObjectFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 299754F2193EC95400A54AC3 /* ObjectFactory.cpp */; };
|
||||
299754F5193EC95400A54AC3 /* ObjectFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 299754F2193EC95400A54AC3 /* ObjectFactory.cpp */; };
|
||||
|
@ -1326,7 +1344,6 @@
|
|||
B2C59A2919777E7A00B452DF /* CocosGUI.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905F9E918CF08D000240AA3 /* CocosGUI.cpp */; };
|
||||
B2C59A2A19777E8300B452DF /* UIDeprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 29BDBA52195D597A003225C9 /* UIDeprecated.cpp */; };
|
||||
B2C59A2B19777E8300B452DF /* UIWidget.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FA1318CF08D100240AA3 /* UIWidget.cpp */; };
|
||||
B2C59A2C19777E8300B452DF /* CCProtectedNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 50E6D30C18DADB5D0051CA34 /* CCProtectedNode.cpp */; };
|
||||
B2C59A2D19777E8300B452DF /* UIHelper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905F9F418CF08D000240AA3 /* UIHelper.cpp */; };
|
||||
B2C59A2E19777E8C00B452DF /* UIHBox.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 50E6D32E18E174130051CA34 /* UIHBox.cpp */; };
|
||||
B2C59A2F19777E8C00B452DF /* UIRelativeBox.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 50E6D33018E174130051CA34 /* UIRelativeBox.cpp */; };
|
||||
|
@ -1350,7 +1367,6 @@
|
|||
B2C59A4119777EBC00B452DF /* UIVideoPlayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 3EA0FB69191C841D00B170C8 /* UIVideoPlayer.h */; };
|
||||
B2C59A4219777EC700B452DF /* UIDeprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 29080DEB191B82CE0066F8DF /* UIDeprecated.h */; };
|
||||
B2C59A4319777EC700B452DF /* UIWidget.h in Headers */ = {isa = PBXBuildFile; fileRef = 2905FA1418CF08D100240AA3 /* UIWidget.h */; };
|
||||
B2C59A4419777EC700B452DF /* CCProtectedNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E6D30D18DADB5D0051CA34 /* CCProtectedNode.h */; };
|
||||
B2C59A4519777EC700B452DF /* UIHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = 2905F9F518CF08D000240AA3 /* UIHelper.h */; };
|
||||
B2C59A4619777EC700B452DF /* GUIDefine.h in Headers */ = {isa = PBXBuildFile; fileRef = 2905F9EB18CF08D000240AA3 /* GUIDefine.h */; };
|
||||
B2C59A4719777ECF00B452DF /* UIHBox.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E6D32F18E174130051CA34 /* UIHBox.h */; };
|
||||
|
@ -1535,11 +1551,9 @@
|
|||
B2CC507C19776DD10041958E /* CCPhysicsJoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46A170721807CE7A005B8026 /* CCPhysicsJoint.cpp */; };
|
||||
B2D3D3B91948613300BA4831 /* CCBundle3DData.h in Headers */ = {isa = PBXBuildFile; fileRef = B2D3D3B81948613300BA4831 /* CCBundle3DData.h */; };
|
||||
B2D3D3BA1948613300BA4831 /* CCBundle3DData.h in Headers */ = {isa = PBXBuildFile; fileRef = B2D3D3B81948613300BA4831 /* CCBundle3DData.h */; };
|
||||
B2DB4763197661CD00411E16 /* CCProtectedNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 50E6D30C18DADB5D0051CA34 /* CCProtectedNode.cpp */; };
|
||||
B2DB4764197661D500411E16 /* UIWidget.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FA1318CF08D100240AA3 /* UIWidget.cpp */; };
|
||||
B2DB4765197661E400411E16 /* UIHBox.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 50E6D32E18E174130051CA34 /* UIHBox.cpp */; };
|
||||
B2DB4766197661EE00411E16 /* UILayout.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905F9F818CF08D000240AA3 /* UILayout.cpp */; };
|
||||
B2DB4767197664EE00411E16 /* CCProtectedNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E6D30D18DADB5D0051CA34 /* CCProtectedNode.h */; };
|
||||
B2DB47681976650A00411E16 /* UIWidget.h in Headers */ = {isa = PBXBuildFile; fileRef = 2905FA1418CF08D100240AA3 /* UIWidget.h */; };
|
||||
B2DB47691976651E00411E16 /* UIHBox.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E6D32F18E174130051CA34 /* UIHBox.h */; };
|
||||
B2DB476A1976653000411E16 /* UILayout.h in Headers */ = {isa = PBXBuildFile; fileRef = 2905F9F918CF08D000240AA3 /* UILayout.h */; };
|
||||
|
@ -1932,6 +1946,76 @@
|
|||
remoteGlobalIDString = A07A4F9F178387730073F6A7;
|
||||
remoteInfo = "CocosDenshion iOS";
|
||||
};
|
||||
B2F0AFEB198794EE002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B245F10019766132001920FD;
|
||||
remoteInfo = "libui Mac";
|
||||
};
|
||||
B2F0AFED198794EE002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B2DB48161976716E00411E16;
|
||||
remoteInfo = "libcocostudio Mac";
|
||||
};
|
||||
B2F0AFEF198794EE002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B2DB479B197669A100411E16;
|
||||
remoteInfo = "libcocosbuilder Mac";
|
||||
};
|
||||
B2F0AFF1198794EE002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B2DB48CA19767F1F00411E16;
|
||||
remoteInfo = "libspine Mac";
|
||||
};
|
||||
B2F0AFF3198794EE002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B2DB498D197686CB00411E16;
|
||||
remoteInfo = "libnetwork Mac";
|
||||
};
|
||||
B2F0AFF519879508002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B24EEA2C19775E92004493CC;
|
||||
remoteInfo = "libui iOS";
|
||||
};
|
||||
B2F0AFF719879508002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B24EEA6719775EBB004493CC;
|
||||
remoteInfo = "libcocostudio iOS";
|
||||
};
|
||||
B2F0AFF919879508002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B24EEA6F19775ECE004493CC;
|
||||
remoteInfo = "libcocosbuilder iOS";
|
||||
};
|
||||
B2F0AFFB19879508002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B24EEA7719775EE1004493CC;
|
||||
remoteInfo = "libspine iOS";
|
||||
};
|
||||
B2F0AFFD19879508002FE562 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1551A336158F2AB200E66CFE /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = B24EEA7F19775EF3004493CC;
|
||||
remoteInfo = "libnetwork iOS";
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
|
@ -1954,6 +2038,8 @@
|
|||
06CAAAC1186AD63B0012A414 /* TriggerObj.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TriggerObj.h; sourceTree = "<group>"; };
|
||||
1551A33F158F2AB200E66CFE /* libcocos2d Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libcocos2d Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
1551A342158F2AB200E66CFE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||
15EFA20F198A2BB5000C57D3 /* CCProtectedNode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCProtectedNode.cpp; sourceTree = "<group>"; };
|
||||
15EFA210198A2BB5000C57D3 /* CCProtectedNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCProtectedNode.h; sourceTree = "<group>"; };
|
||||
1A01C67618F57BE800EFE3A6 /* CCArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCArray.cpp; sourceTree = "<group>"; };
|
||||
1A01C67718F57BE800EFE3A6 /* CCArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCArray.h; sourceTree = "<group>"; };
|
||||
1A01C67818F57BE800EFE3A6 /* CCBool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBool.h; sourceTree = "<group>"; };
|
||||
|
@ -2329,6 +2415,8 @@
|
|||
2905FA1318CF08D100240AA3 /* UIWidget.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIWidget.cpp; sourceTree = "<group>"; };
|
||||
2905FA1418CF08D100240AA3 /* UIWidget.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIWidget.h; sourceTree = "<group>"; };
|
||||
29080DEB191B82CE0066F8DF /* UIDeprecated.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UIDeprecated.h; sourceTree = "<group>"; };
|
||||
2958244919873D8E00F9746D /* UIScale9Sprite.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIScale9Sprite.cpp; sourceTree = "<group>"; };
|
||||
2958244A19873D8E00F9746D /* UIScale9Sprite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIScale9Sprite.h; sourceTree = "<group>"; };
|
||||
2986667818B1B079000E39CA /* CCTweenFunction.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCTweenFunction.cpp; sourceTree = "<group>"; };
|
||||
2986667918B1B079000E39CA /* CCTweenFunction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTweenFunction.h; sourceTree = "<group>"; };
|
||||
299754F2193EC95400A54AC3 /* ObjectFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ObjectFactory.cpp; path = ../base/ObjectFactory.cpp; sourceTree = "<group>"; };
|
||||
|
@ -2827,8 +2915,6 @@
|
|||
50ABBF541926664700A911A9 /* CCPlatformDefine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPlatformDefine.h; sourceTree = "<group>"; };
|
||||
50ABBF551926664700A911A9 /* CCStdC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCStdC.h; sourceTree = "<group>"; };
|
||||
50DC5180187B817900A9C23F /* RELEASE_NOTES.md */ = {isa = PBXFileReference; lastKnownFileType = text; name = RELEASE_NOTES.md; path = ../docs/RELEASE_NOTES.md; sourceTree = "<group>"; };
|
||||
50E6D30C18DADB5D0051CA34 /* CCProtectedNode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCProtectedNode.cpp; sourceTree = "<group>"; };
|
||||
50E6D30D18DADB5D0051CA34 /* CCProtectedNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCProtectedNode.h; sourceTree = "<group>"; };
|
||||
50E6D32E18E174130051CA34 /* UIHBox.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIHBox.cpp; sourceTree = "<group>"; };
|
||||
50E6D32F18E174130051CA34 /* UIHBox.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIHBox.h; sourceTree = "<group>"; };
|
||||
50E6D33018E174130051CA34 /* UIRelativeBox.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIRelativeBox.cpp; sourceTree = "<group>"; };
|
||||
|
@ -3270,6 +3356,8 @@
|
|||
1A570095180BC5B00088DEC7 /* base-nodes */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
15EFA20F198A2BB5000C57D3 /* CCProtectedNode.cpp */,
|
||||
15EFA210198A2BB5000C57D3 /* CCProtectedNode.h */,
|
||||
1A57009C180BC5D20088DEC7 /* CCNode.cpp */,
|
||||
1A57009D180BC5D20088DEC7 /* CCNode.h */,
|
||||
1A570096180BC5C10088DEC7 /* CCAtlasNode.cpp */,
|
||||
|
@ -4196,12 +4284,12 @@
|
|||
29CB8F511929D64500C841D6 /* base */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
2958244919873D8E00F9746D /* UIScale9Sprite.cpp */,
|
||||
2958244A19873D8E00F9746D /* UIScale9Sprite.h */,
|
||||
29080DEB191B82CE0066F8DF /* UIDeprecated.h */,
|
||||
29BDBA52195D597A003225C9 /* UIDeprecated.cpp */,
|
||||
2905FA1318CF08D100240AA3 /* UIWidget.cpp */,
|
||||
2905FA1418CF08D100240AA3 /* UIWidget.h */,
|
||||
50E6D30C18DADB5D0051CA34 /* CCProtectedNode.cpp */,
|
||||
50E6D30D18DADB5D0051CA34 /* CCProtectedNode.h */,
|
||||
2905F9F418CF08D000240AA3 /* UIHelper.cpp */,
|
||||
2905F9F518CF08D000240AA3 /* UIHelper.h */,
|
||||
2905F9EB18CF08D000240AA3 /* GUIDefine.h */,
|
||||
|
@ -5234,6 +5322,7 @@
|
|||
50ABBE431925AB6F00A911A9 /* CCDirector.h in Headers */,
|
||||
1A12775B18DFCC540005F345 /* CCTweenFunction.h in Headers */,
|
||||
1A5702CA180BCE370088DEC7 /* CCTextFieldTTF.h in Headers */,
|
||||
15EFA213198A2BB5000C57D3 /* CCProtectedNode.h in Headers */,
|
||||
1A5702EC180BCE750088DEC7 /* CCTileMapAtlas.h in Headers */,
|
||||
1A5702F0180BCE750088DEC7 /* CCTMXLayer.h in Headers */,
|
||||
50ABC01B1926664800A911A9 /* CCSAXParser.h in Headers */,
|
||||
|
@ -5589,6 +5678,7 @@
|
|||
5034CA2C191D591100CE6051 /* ccShader_PositionTextureA8Color.vert in Headers */,
|
||||
50ABBE981925AB6F00A911A9 /* CCProtocols.h in Headers */,
|
||||
50ABBD431925AB0000A911A9 /* CCMathBase.h in Headers */,
|
||||
15EFA214198A2BB5000C57D3 /* CCProtectedNode.h in Headers */,
|
||||
50ABBE441925AB6F00A911A9 /* CCDirector.h in Headers */,
|
||||
5034CA4A191D591100CE6051 /* ccShader_Label_df.frag in Headers */,
|
||||
1A570281180BCC900088DEC7 /* CCSprite.h in Headers */,
|
||||
|
@ -5850,9 +5940,9 @@
|
|||
B2DB47881976663A00411E16 /* UIRichText.h in Headers */,
|
||||
B2DB47801976660200411E16 /* UIButton.h in Headers */,
|
||||
B2DB47821976660C00411E16 /* UICheckBox.h in Headers */,
|
||||
B2DB4767197664EE00411E16 /* CCProtectedNode.h in Headers */,
|
||||
B2DB47861976662D00411E16 /* UILoadingBar.h in Headers */,
|
||||
B2DB47681976650A00411E16 /* UIWidget.h in Headers */,
|
||||
2958244D19873D8E00F9746D /* UIScale9Sprite.h in Headers */,
|
||||
B2DB47691976651E00411E16 /* UIHBox.h in Headers */,
|
||||
B2DB478F1976666100411E16 /* UIText.h in Headers */,
|
||||
B2DB47901976666100411E16 /* UITextAtlas.h in Headers */,
|
||||
|
@ -5891,12 +5981,12 @@
|
|||
B2C59A4119777EBC00B452DF /* UIVideoPlayer.h in Headers */,
|
||||
B2C59A4219777EC700B452DF /* UIDeprecated.h in Headers */,
|
||||
B2C59A4319777EC700B452DF /* UIWidget.h in Headers */,
|
||||
B2C59A4419777EC700B452DF /* CCProtectedNode.h in Headers */,
|
||||
B2C59A4519777EC700B452DF /* UIHelper.h in Headers */,
|
||||
B2C59A4619777EC700B452DF /* GUIDefine.h in Headers */,
|
||||
B2C59A4719777ECF00B452DF /* UIHBox.h in Headers */,
|
||||
B2C59A4819777ECF00B452DF /* UIRelativeBox.h in Headers */,
|
||||
B2C59A4919777ECF00B452DF /* UIVBox.h in Headers */,
|
||||
2958244E19873D8E00F9746D /* UIScale9Sprite.h in Headers */,
|
||||
B2C59A4A19777ECF00B452DF /* UILayout.h in Headers */,
|
||||
B2C59A4B19777ECF00B452DF /* UILayoutParameter.h in Headers */,
|
||||
B2C59A4C19777ECF00B452DF /* UILayoutManager.h in Headers */,
|
||||
|
@ -6606,6 +6696,7 @@
|
|||
50ABBDA71925AB4100A911A9 /* CCRenderCommand.cpp in Sources */,
|
||||
50ABBD501925AB0000A911A9 /* Quaternion.cpp in Sources */,
|
||||
50ABBEBB1925AB6F00A911A9 /* ccUtils.cpp in Sources */,
|
||||
15EFA211198A2BB5000C57D3 /* CCProtectedNode.cpp in Sources */,
|
||||
50ABBEB71925AB6F00A911A9 /* ccUTF8.cpp in Sources */,
|
||||
50ABBE271925AB6F00A911A9 /* CCAutoreleasePool.cpp in Sources */,
|
||||
50ABBE8B1925AB6F00A911A9 /* CCNS.cpp in Sources */,
|
||||
|
@ -7093,6 +7184,7 @@
|
|||
1A1645B3191B726C008C7C7F /* ConvertUTFWrapper.cpp in Sources */,
|
||||
1ABA68AF1888D700007D1BB4 /* CCFontCharMap.cpp in Sources */,
|
||||
50ABBE7A1925AB6F00A911A9 /* CCEventMouse.cpp in Sources */,
|
||||
15EFA212198A2BB5000C57D3 /* CCProtectedNode.cpp in Sources */,
|
||||
50ABBD981925AB4100A911A9 /* CCGLProgramStateCache.cpp in Sources */,
|
||||
B6B26344193884D60088FE25 /* CCAnimation3D.cpp in Sources */,
|
||||
B6ACD898193D6693005E0B8A /* CCMeshSkin.cpp in Sources */,
|
||||
|
@ -7236,7 +7328,6 @@
|
|||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B2DB4763197661CD00411E16 /* CCProtectedNode.cpp in Sources */,
|
||||
B2DB4764197661D500411E16 /* UIWidget.cpp in Sources */,
|
||||
B2DB4765197661E400411E16 /* UIHBox.cpp in Sources */,
|
||||
B2DB4766197661EE00411E16 /* UILayout.cpp in Sources */,
|
||||
|
@ -7248,6 +7339,7 @@
|
|||
B2DB47711976657A00411E16 /* UIVBox.cpp in Sources */,
|
||||
B2DB47731976658E00411E16 /* CocosGUI.cpp in Sources */,
|
||||
B2DB4775197665A500411E16 /* UIDeprecated.cpp in Sources */,
|
||||
2958244B19873D8E00F9746D /* UIScale9Sprite.cpp in Sources */,
|
||||
B2DB47891976664200411E16 /* UISlider.cpp in Sources */,
|
||||
B2DB4779197665CD00411E16 /* UIListView.cpp in Sources */,
|
||||
B2DB47851976662B00411E16 /* UILoadingBar.cpp in Sources */,
|
||||
|
@ -7268,6 +7360,7 @@
|
|||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B2C59A1C19777E7500B452DF /* UIListView.cpp in Sources */,
|
||||
2958244C19873D8E00F9746D /* UIScale9Sprite.cpp in Sources */,
|
||||
B2C59A1D19777E7500B452DF /* UILoadingBar.cpp in Sources */,
|
||||
B2C59A1E19777E7500B452DF /* UIPageView.cpp in Sources */,
|
||||
B2C59A1F19777E7500B452DF /* UIRichText.cpp in Sources */,
|
||||
|
@ -7283,7 +7376,6 @@
|
|||
B2C59A2819777E7500B452DF /* UIImageView.cpp in Sources */,
|
||||
B2C59A2A19777E8300B452DF /* UIDeprecated.cpp in Sources */,
|
||||
B2C59A2B19777E8300B452DF /* UIWidget.cpp in Sources */,
|
||||
B2C59A2C19777E8300B452DF /* CCProtectedNode.cpp in Sources */,
|
||||
B2C59A2D19777E8300B452DF /* UIHelper.cpp in Sources */,
|
||||
B2C59A2E19777E8C00B452DF /* UIHBox.cpp in Sources */,
|
||||
B2C59A2F19777E8C00B452DF /* UIRelativeBox.cpp in Sources */,
|
||||
|
@ -7622,6 +7714,56 @@
|
|||
target = A07A4F9F178387730073F6A7 /* libcocosdenshion iOS */;
|
||||
targetProxy = A07A504C178389710073F6A7 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFEC198794EE002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B245F10019766132001920FD /* libui Mac */;
|
||||
targetProxy = B2F0AFEB198794EE002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFEE198794EE002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B2DB48161976716E00411E16 /* libcocostudio Mac */;
|
||||
targetProxy = B2F0AFED198794EE002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFF0198794EE002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B2DB479B197669A100411E16 /* libcocosbuilder Mac */;
|
||||
targetProxy = B2F0AFEF198794EE002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFF2198794EE002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B2DB48CA19767F1F00411E16 /* libspine Mac */;
|
||||
targetProxy = B2F0AFF1198794EE002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFF4198794EE002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B2DB498D197686CB00411E16 /* libnetwork Mac */;
|
||||
targetProxy = B2F0AFF3198794EE002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFF619879508002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B24EEA2C19775E92004493CC /* libui iOS */;
|
||||
targetProxy = B2F0AFF519879508002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFF819879508002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B24EEA6719775EBB004493CC /* libcocostudio iOS */;
|
||||
targetProxy = B2F0AFF719879508002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFFA19879508002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B24EEA6F19775ECE004493CC /* libcocosbuilder iOS */;
|
||||
targetProxy = B2F0AFF919879508002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFFC19879508002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B24EEA7719775EE1004493CC /* libspine iOS */;
|
||||
targetProxy = B2F0AFFB19879508002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
B2F0AFFE19879508002FE562 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = B24EEA7F19775EF3004493CC /* libnetwork iOS */;
|
||||
targetProxy = B2F0AFFD19879508002FE562 /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
|
@ -7702,7 +7844,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_EXTENSION = a;
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
|
@ -7735,7 +7877,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_EXTENSION = a;
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
|
@ -7768,6 +7910,7 @@
|
|||
A03F2CB61780BD04006731B9 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
|
||||
HEADER_SEARCH_PATHS = "";
|
||||
|
@ -7778,6 +7921,7 @@
|
|||
A03F2CB71780BD04006731B9 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
|
||||
|
@ -7789,6 +7933,7 @@
|
|||
A03F2D991780BDF7006731B9 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
CLANG_WARN_BOOL_CONVERSION = NO;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = NO;
|
||||
EXECUTABLE_PREFIX = "";
|
||||
|
@ -7804,6 +7949,7 @@
|
|||
A03F2D9A1780BDF7006731B9 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
CLANG_WARN_BOOL_CONVERSION = NO;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = NO;
|
||||
EXECUTABLE_PREFIX = "";
|
||||
|
@ -7820,6 +7966,7 @@
|
|||
A03F2E90178141C1006731B9 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"COCOS2D_DEBUG=1",
|
||||
|
@ -7836,6 +7983,7 @@
|
|||
A03F2E91178141C1006731B9 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"/Applications/Xcode\\ 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
|
||||
|
@ -7847,6 +7995,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = CC_TARGET_OS_MAC;
|
||||
GCC_TREAT_WARNINGS_AS_ERRORS = NO;
|
||||
|
@ -7859,6 +8008,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = CC_TARGET_OS_MAC;
|
||||
|
@ -7872,6 +8022,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
|
@ -7890,6 +8041,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
|
@ -8136,6 +8288,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
|
@ -8154,6 +8307,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
|
@ -8394,6 +8548,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
|
@ -8412,6 +8567,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
|
@ -8431,6 +8587,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
|
@ -8449,6 +8606,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
|
@ -8468,6 +8626,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
|
@ -8486,6 +8645,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
|
@ -8505,6 +8665,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
|
@ -8526,6 +8687,7 @@
|
|||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
EXECUTABLE_PREFIX = "";
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
|
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2E8E178141C1006731B9"
|
||||
BuildableName = "build all libs Mac"
|
||||
BlueprintName = "build all libs Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2E8E178141C1006731B9"
|
||||
BuildableName = "build all libs Mac"
|
||||
BlueprintName = "build all libs Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2E8E178141C1006731B9"
|
||||
BuildableName = "build all libs Mac"
|
||||
BlueprintName = "build all libs Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4E0B178386390073F6A7"
|
||||
BuildableName = "build all libs iOS"
|
||||
BlueprintName = "build all libs iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4E0B178386390073F6A7"
|
||||
BuildableName = "build all libs iOS"
|
||||
BlueprintName = "build all libs iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4E0B178386390073F6A7"
|
||||
BuildableName = "build all libs iOS"
|
||||
BlueprintName = "build all libs iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2D5D1780BDF7006731B9"
|
||||
BuildableName = "libbox2d Mac.a"
|
||||
BlueprintName = "libbox2d Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2D5D1780BDF7006731B9"
|
||||
BuildableName = "libbox2d Mac.a"
|
||||
BlueprintName = "libbox2d Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2D5D1780BDF7006731B9"
|
||||
BuildableName = "libbox2d Mac.a"
|
||||
BlueprintName = "libbox2d Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4F3C1783876B0073F6A7"
|
||||
BuildableName = "libbox2d iOS.a"
|
||||
BlueprintName = "libbox2d iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4F3C1783876B0073F6A7"
|
||||
BuildableName = "libbox2d iOS.a"
|
||||
BlueprintName = "libbox2d iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4F3C1783876B0073F6A7"
|
||||
BuildableName = "libbox2d iOS.a"
|
||||
BlueprintName = "libbox2d iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2B781780BD04006731B9"
|
||||
BuildableName = "libchipmunk Mac.a"
|
||||
BlueprintName = "libchipmunk Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2B781780BD04006731B9"
|
||||
BuildableName = "libchipmunk Mac.a"
|
||||
BlueprintName = "libchipmunk Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2B781780BD04006731B9"
|
||||
BuildableName = "libchipmunk Mac.a"
|
||||
BlueprintName = "libchipmunk Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4EFD178387670073F6A7"
|
||||
BuildableName = "libchipmunk iOS.a"
|
||||
BlueprintName = "libchipmunk iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4EFD178387670073F6A7"
|
||||
BuildableName = "libchipmunk iOS.a"
|
||||
BlueprintName = "libchipmunk iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4EFD178387670073F6A7"
|
||||
BuildableName = "libchipmunk iOS.a"
|
||||
BlueprintName = "libchipmunk iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "1551A33E158F2AB200E66CFE"
|
||||
BuildableName = "libcocos2d Mac.a"
|
||||
BlueprintName = "libcocos2d Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "1551A33E158F2AB200E66CFE"
|
||||
BuildableName = "libcocos2d Mac.a"
|
||||
BlueprintName = "libcocos2d Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "1551A33E158F2AB200E66CFE"
|
||||
BuildableName = "libcocos2d Mac.a"
|
||||
BlueprintName = "libcocos2d Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4C241783777C0073F6A7"
|
||||
BuildableName = "libcocos2d iOS.a"
|
||||
BlueprintName = "libcocos2d iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4C241783777C0073F6A7"
|
||||
BuildableName = "libcocos2d iOS.a"
|
||||
BlueprintName = "libcocos2d iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4C241783777C0073F6A7"
|
||||
BuildableName = "libcocos2d iOS.a"
|
||||
BlueprintName = "libcocos2d iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB479B197669A100411E16"
|
||||
BuildableName = "libcocosbuilder Mac.a"
|
||||
BlueprintName = "libcocosbuilder Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB479B197669A100411E16"
|
||||
BuildableName = "libcocosbuilder Mac.a"
|
||||
BlueprintName = "libcocosbuilder Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB479B197669A100411E16"
|
||||
BuildableName = "libcocosbuilder Mac.a"
|
||||
BlueprintName = "libcocosbuilder Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA6F19775ECE004493CC"
|
||||
BuildableName = "libcocosbuilder iOS.a"
|
||||
BlueprintName = "libcocosbuilder iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA6F19775ECE004493CC"
|
||||
BuildableName = "libcocosbuilder iOS.a"
|
||||
BlueprintName = "libcocosbuilder iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA6F19775ECE004493CC"
|
||||
BuildableName = "libcocosbuilder iOS.a"
|
||||
BlueprintName = "libcocosbuilder iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2E9817814268006731B9"
|
||||
BuildableName = "libcocosdenshion Mac.a"
|
||||
BlueprintName = "libcocosdenshion Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2E9817814268006731B9"
|
||||
BuildableName = "libcocosdenshion Mac.a"
|
||||
BlueprintName = "libcocosdenshion Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2E9817814268006731B9"
|
||||
BuildableName = "libcocosdenshion Mac.a"
|
||||
BlueprintName = "libcocosdenshion Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4F9F178387730073F6A7"
|
||||
BuildableName = "libcocosdenshion iOS.a"
|
||||
BlueprintName = "libcocosdenshion iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4F9F178387730073F6A7"
|
||||
BuildableName = "libcocosdenshion iOS.a"
|
||||
BlueprintName = "libcocosdenshion iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4F9F178387730073F6A7"
|
||||
BuildableName = "libcocosdenshion iOS.a"
|
||||
BlueprintName = "libcocosdenshion iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB48161976716E00411E16"
|
||||
BuildableName = "libcocostudio Mac.a"
|
||||
BlueprintName = "libcocostudio Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB48161976716E00411E16"
|
||||
BuildableName = "libcocostudio Mac.a"
|
||||
BlueprintName = "libcocostudio Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB48161976716E00411E16"
|
||||
BuildableName = "libcocostudio Mac.a"
|
||||
BlueprintName = "libcocostudio Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA6719775EBB004493CC"
|
||||
BuildableName = "libcocostudio iOS.a"
|
||||
BlueprintName = "libcocostudio iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA6719775EBB004493CC"
|
||||
BuildableName = "libcocostudio iOS.a"
|
||||
BlueprintName = "libcocostudio iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA6719775EBB004493CC"
|
||||
BuildableName = "libcocostudio iOS.a"
|
||||
BlueprintName = "libcocostudio iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2FC117814595006731B9"
|
||||
BuildableName = "libextension Mac.a"
|
||||
BlueprintName = "libextension Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2FC117814595006731B9"
|
||||
BuildableName = "libextension Mac.a"
|
||||
BlueprintName = "libextension Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A03F2FC117814595006731B9"
|
||||
BuildableName = "libextension Mac.a"
|
||||
BlueprintName = "libextension Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4E111783867C0073F6A7"
|
||||
BuildableName = "libextension iOS.a"
|
||||
BlueprintName = "libextension iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4E111783867C0073F6A7"
|
||||
BuildableName = "libextension iOS.a"
|
||||
BlueprintName = "libextension iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "A07A4E111783867C0073F6A7"
|
||||
BuildableName = "libextension iOS.a"
|
||||
BlueprintName = "libextension iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB498D197686CB00411E16"
|
||||
BuildableName = "libnetwork Mac.a"
|
||||
BlueprintName = "libnetwork Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB498D197686CB00411E16"
|
||||
BuildableName = "libnetwork Mac.a"
|
||||
BlueprintName = "libnetwork Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB498D197686CB00411E16"
|
||||
BuildableName = "libnetwork Mac.a"
|
||||
BlueprintName = "libnetwork Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA7F19775EF3004493CC"
|
||||
BuildableName = "libnetwork iOS.a"
|
||||
BlueprintName = "libnetwork iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA7F19775EF3004493CC"
|
||||
BuildableName = "libnetwork iOS.a"
|
||||
BlueprintName = "libnetwork iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA7F19775EF3004493CC"
|
||||
BuildableName = "libnetwork iOS.a"
|
||||
BlueprintName = "libnetwork iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB48CA19767F1F00411E16"
|
||||
BuildableName = "libspine Mac.a"
|
||||
BlueprintName = "libspine Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB48CA19767F1F00411E16"
|
||||
BuildableName = "libspine Mac.a"
|
||||
BlueprintName = "libspine Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B2DB48CA19767F1F00411E16"
|
||||
BuildableName = "libspine Mac.a"
|
||||
BlueprintName = "libspine Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA7719775EE1004493CC"
|
||||
BuildableName = "libspine iOS.a"
|
||||
BlueprintName = "libspine iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA7719775EE1004493CC"
|
||||
BuildableName = "libspine iOS.a"
|
||||
BlueprintName = "libspine iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA7719775EE1004493CC"
|
||||
BuildableName = "libspine iOS.a"
|
||||
BlueprintName = "libspine iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B245F10019766132001920FD"
|
||||
BuildableName = "libui Mac.a"
|
||||
BlueprintName = "libui Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B245F10019766132001920FD"
|
||||
BuildableName = "libui Mac.a"
|
||||
BlueprintName = "libui Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B245F10019766132001920FD"
|
||||
BuildableName = "libui Mac.a"
|
||||
BlueprintName = "libui Mac"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0600"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA2C19775E92004493CC"
|
||||
BuildableName = "libui iOS.a"
|
||||
BlueprintName = "libui iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA2C19775E92004493CC"
|
||||
BuildableName = "libui iOS.a"
|
||||
BlueprintName = "libui iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B24EEA2C19775E92004493CC"
|
||||
BuildableName = "libui iOS.a"
|
||||
BlueprintName = "libui iOS"
|
||||
ReferencedContainer = "container:cocos2d_libs.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -112,8 +112,8 @@
|
|||
15CBA9B8196EE8D9005877BB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 15CBA54C196EE671005877BB /* main.m */; };
|
||||
15CBA9B9196EE8D9005877BB /* RootViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 15CBA54E196EE671005877BB /* RootViewController.mm */; };
|
||||
15CBA9BB196EE910005877BB /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; };
|
||||
15CBA9BD196EE910005877BB /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libcocos2dx-extensions iOS.a */; };
|
||||
15CBA9BE196EE910005877BB /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libCocosDenshion iOS.a */; };
|
||||
15CBA9BD196EE910005877BB /* libextension iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libextension iOS.a */; };
|
||||
15CBA9BE196EE910005877BB /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; };
|
||||
15CBA9BF196EE910005877BB /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA28018CD90A50087CE3A /* libluabindings iOS.a */; };
|
||||
15CBA9CF196EE9FB005877BB /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15CBA9C2196EE951005877BB /* AVFoundation.framework */; };
|
||||
15CBA9D0196EEA05005877BB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15CBA9C4196EE962005877BB /* UIKit.framework */; };
|
||||
|
@ -126,7 +126,7 @@
|
|||
15CBA9DB196EEA90005877BB /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15CBA9DA196EEA90005877BB /* CoreMotion.framework */; };
|
||||
15CBA9DD196EEAA6005877BB /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15CBA9DC196EEAA6005877BB /* libz.dylib */; };
|
||||
15CBA9DE196EEAF8005877BB /* GameController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E61773C1960FBD100DE83F5 /* GameController.framework */; };
|
||||
15CBA9DF196EEBB3005877BB /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2dx iOS.a */; };
|
||||
15CBA9DF196EEBB3005877BB /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; };
|
||||
15CBA9E0196EEBD4005877BB /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EA0FB65191B933000B170C8 /* MediaPlayer.framework */; };
|
||||
15CBA9ED196F7BD8005877BB /* lua_cocos2dx_controller_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15CBA9EB196F7BD8005877BB /* lua_cocos2dx_controller_auto.cpp */; };
|
||||
15CBA9F0196F7BEC005877BB /* lua_cocos2dx_controller_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15CBA9EE196F7BEC005877BB /* lua_cocos2dx_controller_manual.cpp */; };
|
||||
|
@ -135,8 +135,8 @@
|
|||
15E66FC8192D957100C20A52 /* Sprite3DTest in Resources */ = {isa = PBXBuildFile; fileRef = 3E92EA841921A7720094CD21 /* Sprite3DTest */; };
|
||||
15E66FD6192DC8C700C20A52 /* Sprite3DTest in Resources */ = {isa = PBXBuildFile; fileRef = 3E92EA841921A7720094CD21 /* Sprite3DTest */; };
|
||||
1A0EE2A118CDF6DA004CD58F /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB41807A4F9005B8026 /* libchipmunk Mac.a */; };
|
||||
1A0EE2A218CDF6DA004CD58F /* libcocos2dx Mac.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */; };
|
||||
1A0EE2A418CDF6DA004CD58F /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libCocosDenshion Mac.a */; };
|
||||
1A0EE2A218CDF6DA004CD58F /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */; };
|
||||
1A0EE2A418CDF6DA004CD58F /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */; };
|
||||
1A0EE2A518CDF6DA004CD58F /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EDCC747E17C455FD007B692C /* IOKit.framework */; };
|
||||
1A0EE2A618CDF6DA004CD58F /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1A9F808C177E98A600D9A1CB /* libcurl.dylib */; };
|
||||
1A0EE2A718CDF6DA004CD58F /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C6482E165F399D007D4F18 /* libz.dylib */; };
|
||||
|
@ -157,14 +157,14 @@
|
|||
1A0EE2D018CDF733004CD58F /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA35618CD9A890087CE3A /* QuartzCore.framework */; };
|
||||
1A0EE2D118CDF733004CD58F /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA35418CD9A820087CE3A /* OpenGL.framework */; };
|
||||
1A0EE2D218CDF733004CD58F /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB41807A4F9005B8026 /* libchipmunk Mac.a */; };
|
||||
1A0EE2D318CDF733004CD58F /* libcocos2dx Mac.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */; };
|
||||
1A0EE2D418CDF733004CD58F /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB21807A4F9005B8026 /* libcocos2dx-extensions Mac.a */; };
|
||||
1A0EE2D518CDF733004CD58F /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libCocosDenshion Mac.a */; };
|
||||
1A0EE2D318CDF733004CD58F /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */; };
|
||||
1A0EE2D418CDF733004CD58F /* libextension Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB21807A4F9005B8026 /* libextension Mac.a */; };
|
||||
1A0EE2D518CDF733004CD58F /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */; };
|
||||
1A0EE2D618CDF733004CD58F /* libluabindings Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA27E18CD90A50087CE3A /* libluabindings Mac.a */; };
|
||||
1A0EE2D718CDF733004CD58F /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C64822165F391E007D4F18 /* Cocoa.framework */; };
|
||||
1A0EE40218CDF775004CD58F /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; };
|
||||
1A0EE40318CDF775004CD58F /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2dx iOS.a */; };
|
||||
1A0EE40518CDF775004CD58F /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libCocosDenshion iOS.a */; };
|
||||
1A0EE40318CDF775004CD58F /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; };
|
||||
1A0EE40518CDF775004CD58F /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; };
|
||||
1A0EE40618CDF775004CD58F /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D60AE43317F7FFE100757E4B /* CoreMotion.framework */; };
|
||||
1A0EE40718CDF775004CD58F /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C6482E165F399D007D4F18 /* libz.dylib */; };
|
||||
1A0EE40818CDF775004CD58F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C64832165F3AFD007D4F18 /* Foundation.framework */; };
|
||||
|
@ -186,9 +186,9 @@
|
|||
1A0EE43418CDF799004CD58F /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA39C18CD9ED80087CE3A /* AVFoundation.framework */; };
|
||||
1A0EE43518CDF799004CD58F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C64832165F3AFD007D4F18 /* Foundation.framework */; };
|
||||
1A0EE43618CDF799004CD58F /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; };
|
||||
1A0EE43718CDF799004CD58F /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2dx iOS.a */; };
|
||||
1A0EE43818CDF799004CD58F /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libcocos2dx-extensions iOS.a */; };
|
||||
1A0EE43918CDF799004CD58F /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libCocosDenshion iOS.a */; };
|
||||
1A0EE43718CDF799004CD58F /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; };
|
||||
1A0EE43818CDF799004CD58F /* libextension iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libextension iOS.a */; };
|
||||
1A0EE43918CDF799004CD58F /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; };
|
||||
1A0EE43A18CDF799004CD58F /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA28018CD90A50087CE3A /* libluabindings iOS.a */; };
|
||||
1A0EE55C18CDFBBD004CD58F /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36618CD9E180087CE3A /* AudioEngine.lua */; };
|
||||
1A0EE55D18CDFBBD004CD58F /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36718CD9E180087CE3A /* CCBReaderLoad.lua */; };
|
||||
|
@ -233,25 +233,25 @@
|
|||
1A9F808D177E98A600D9A1CB /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1A9F808C177E98A600D9A1CB /* libcurl.dylib */; };
|
||||
1AAF534B180E2F4E000584C8 /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB61807A4F9005B8026 /* libbox2d Mac.a */; };
|
||||
1AAF534C180E2F4E000584C8 /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB41807A4F9005B8026 /* libchipmunk Mac.a */; };
|
||||
1AAF534D180E2F4E000584C8 /* libcocos2dx Mac.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */; };
|
||||
1AAF534E180E2F4E000584C8 /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB21807A4F9005B8026 /* libcocos2dx-extensions Mac.a */; };
|
||||
1AAF534F180E2F4E000584C8 /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libCocosDenshion Mac.a */; };
|
||||
1AAF534D180E2F4E000584C8 /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */; };
|
||||
1AAF534E180E2F4E000584C8 /* libextension Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB21807A4F9005B8026 /* libextension Mac.a */; };
|
||||
1AAF534F180E2F4E000584C8 /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */; };
|
||||
1AAF53FE180E39D4000584C8 /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC41807A4F9005B8026 /* libbox2d iOS.a */; };
|
||||
1AAF53FF180E39D4000584C8 /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; };
|
||||
1AAF5400180E39D4000584C8 /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2dx iOS.a */; };
|
||||
1AAF5401180E39D4000584C8 /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libcocos2dx-extensions iOS.a */; };
|
||||
1AAF5402180E39D4000584C8 /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libCocosDenshion iOS.a */; };
|
||||
1AAF5400180E39D4000584C8 /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; };
|
||||
1AAF5401180E39D4000584C8 /* libextension iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libextension iOS.a */; };
|
||||
1AAF5402180E39D4000584C8 /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; };
|
||||
1ABCA28718CD91510087CE3A /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C64822165F391E007D4F18 /* Cocoa.framework */; };
|
||||
1ABCA2C218CD92420087CE3A /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB41807A4F9005B8026 /* libchipmunk Mac.a */; };
|
||||
1ABCA2C318CD92420087CE3A /* libcocos2dx Mac.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */; };
|
||||
1ABCA2C418CD92420087CE3A /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB21807A4F9005B8026 /* libcocos2dx-extensions Mac.a */; };
|
||||
1ABCA2C518CD92420087CE3A /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libCocosDenshion Mac.a */; };
|
||||
1ABCA2C318CD92420087CE3A /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */; };
|
||||
1ABCA2C418CD92420087CE3A /* libextension Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB21807A4F9005B8026 /* libextension Mac.a */; };
|
||||
1ABCA2C518CD92420087CE3A /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */; };
|
||||
1ABCA2C618CD92420087CE3A /* libluabindings Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA27E18CD90A50087CE3A /* libluabindings Mac.a */; };
|
||||
1ABCA2CE18CD93580087CE3A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C64832165F3AFD007D4F18 /* Foundation.framework */; };
|
||||
1ABCA30118CD93940087CE3A /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; };
|
||||
1ABCA30218CD93940087CE3A /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2dx iOS.a */; };
|
||||
1ABCA30318CD93940087CE3A /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libcocos2dx-extensions iOS.a */; };
|
||||
1ABCA30418CD93940087CE3A /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libCocosDenshion iOS.a */; };
|
||||
1ABCA30218CD93940087CE3A /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; };
|
||||
1ABCA30318CD93940087CE3A /* libextension iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libextension iOS.a */; };
|
||||
1ABCA30418CD93940087CE3A /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; };
|
||||
1ABCA30518CD93940087CE3A /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA28018CD90A50087CE3A /* libluabindings iOS.a */; };
|
||||
1ABCA35518CD9A820087CE3A /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA35418CD9A820087CE3A /* OpenGL.framework */; };
|
||||
1ABCA35718CD9A890087CE3A /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA35618CD9A890087CE3A /* QuartzCore.framework */; };
|
||||
|
@ -853,6 +853,8 @@
|
|||
29080DE6191B595E0066F8DF /* UIWidgetAddNodeTest_Editor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 29080D8B191B595E0066F8DF /* UIWidgetAddNodeTest_Editor.cpp */; };
|
||||
290E94B5196FC16900694919 /* CocostudioParserTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 290E94B3196FC16900694919 /* CocostudioParserTest.cpp */; };
|
||||
290E94B6196FC16900694919 /* CocostudioParserTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 290E94B3196FC16900694919 /* CocostudioParserTest.cpp */; };
|
||||
295824591987415900F9746D /* UIScale9SpriteTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 295824571987415900F9746D /* UIScale9SpriteTest.cpp */; };
|
||||
2958245A1987415900F9746D /* UIScale9SpriteTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 295824571987415900F9746D /* UIScale9SpriteTest.cpp */; };
|
||||
29FBBBFE196A9ECD00E65826 /* CocostudioParserJsonTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 29FBBBFC196A9ECD00E65826 /* CocostudioParserJsonTest.cpp */; };
|
||||
29FBBBFF196A9ECD00E65826 /* CocostudioParserJsonTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 29FBBBFC196A9ECD00E65826 /* CocostudioParserJsonTest.cpp */; };
|
||||
38FA2E73194AEBE100FF2BE4 /* ActionTimelineTestScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38FA2E71194AEBE100FF2BE4 /* ActionTimelineTestScene.cpp */; };
|
||||
|
@ -860,7 +862,7 @@
|
|||
38FA2E76194AECF800FF2BE4 /* ActionTimeline in Resources */ = {isa = PBXBuildFile; fileRef = 38FA2E75194AECF800FF2BE4 /* ActionTimeline */; };
|
||||
38FA2E77194AECF800FF2BE4 /* ActionTimeline in Resources */ = {isa = PBXBuildFile; fileRef = 38FA2E75194AECF800FF2BE4 /* ActionTimeline */; };
|
||||
3E6177211960FAED00DE83F5 /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; };
|
||||
3E6177221960FAED00DE83F5 /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2dx iOS.a */; };
|
||||
3E6177221960FAED00DE83F5 /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; };
|
||||
3E6177241960FAED00DE83F5 /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D60AE43317F7FFE100757E4B /* CoreMotion.framework */; };
|
||||
3E6177251960FAED00DE83F5 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C6482E165F399D007D4F18 /* libz.dylib */; };
|
||||
3E6177261960FAED00DE83F5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C64832165F3AFD007D4F18 /* Foundation.framework */; };
|
||||
|
@ -914,47 +916,43 @@
|
|||
A07A52BF1783AF210073F6A7 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07A52B91783AE900073F6A7 /* OpenGLES.framework */; };
|
||||
A07A52C01783AF250073F6A7 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07A52B71783AE6D0073F6A7 /* UIKit.framework */; };
|
||||
A07A52C31783B02C0073F6A7 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07A52C11783B01F0073F6A7 /* AVFoundation.framework */; };
|
||||
B24024DB1978DE1000FDE433 /* libcocos2dx Mac.dylib in CopyFiles */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */; };
|
||||
B24024DD1978EC0700FDE433 /* libcocos2dx Mac.dylib in CopyFiles */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */; };
|
||||
B24024E31978ED5200FDE433 /* libcocos2dx Mac.dylib in CopyFiles */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */; };
|
||||
B24024E51978ED5F00FDE433 /* libcocos2dx Mac.dylib in CopyFiles */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */; };
|
||||
B2411C9E19822FBD00E093E2 /* libcocosStudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocosStudio iOS.a */; };
|
||||
B2411CA119822FDD00E093E2 /* libcocosBuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosBuilder iOS.a */; };
|
||||
B2411CA419822FF100E093E2 /* libcocosSpine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libcocosSpine iOS.a */; };
|
||||
B2411CA71982301400E093E2 /* libcocosGUI iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libcocosGUI iOS.a */; };
|
||||
B2411CAA1982302700E093E2 /* libcocosNetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libcocosNetwork iOS.a */; };
|
||||
B244F3171976878E00ED1926 /* libcocosNetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libcocosNetwork Mac.a */; };
|
||||
B2411C9E19822FBD00E093E2 /* libcocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocostudio iOS.a */; };
|
||||
B2411CA119822FDD00E093E2 /* libcocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosbuilder iOS.a */; };
|
||||
B2411CA419822FF100E093E2 /* libspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libspine iOS.a */; };
|
||||
B2411CA71982301400E093E2 /* libui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libui iOS.a */; };
|
||||
B2411CAA1982302700E093E2 /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; };
|
||||
B244F3171976878E00ED1926 /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libnetwork Mac.a */; };
|
||||
B2507B6B192589AF00FA4972 /* Shaders3D in Resources */ = {isa = PBXBuildFile; fileRef = B2507B6A192589AF00FA4972 /* Shaders3D */; };
|
||||
B2507B6C192589AF00FA4972 /* Shaders3D in Resources */ = {isa = PBXBuildFile; fileRef = B2507B6A192589AF00FA4972 /* Shaders3D */; };
|
||||
B27AEE0719768950008BD575 /* libcocosNetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libcocosNetwork Mac.a */; };
|
||||
B27AEE0A1976896B008BD575 /* libcocosNetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libcocosNetwork Mac.a */; };
|
||||
B2C59AC8197782B900B452DF /* libcocosBuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosBuilder iOS.a */; };
|
||||
B2C59AC9197782B900B452DF /* libcocosGUI iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libcocosGUI iOS.a */; };
|
||||
B2C59ACA197782B900B452DF /* libcocosStudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocosStudio iOS.a */; };
|
||||
B2C59AD619779CEB00B452DF /* libcocosBuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosBuilder iOS.a */; };
|
||||
B2C59AD719779CEB00B452DF /* libcocosGUI iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libcocosGUI iOS.a */; };
|
||||
B2C59AD819779CEB00B452DF /* libcocosNetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libcocosNetwork iOS.a */; };
|
||||
B2C59AD919779CEB00B452DF /* libcocosSpine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libcocosSpine iOS.a */; };
|
||||
B2C59ADA19779CEB00B452DF /* libcocosStudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocosStudio iOS.a */; };
|
||||
B2C59AE519779D5D00B452DF /* libcocosBuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosBuilder iOS.a */; };
|
||||
B2C59AE619779D5D00B452DF /* libcocosGUI iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libcocosGUI iOS.a */; };
|
||||
B2C59AE719779D5D00B452DF /* libcocosNetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libcocosNetwork iOS.a */; };
|
||||
B2C59AE819779D5D00B452DF /* libcocosSpine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libcocosSpine iOS.a */; };
|
||||
B2C59AE919779D5D00B452DF /* libcocosStudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocosStudio iOS.a */; };
|
||||
B2CC5045197766F70041958E /* libcocosNetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libcocosNetwork iOS.a */; };
|
||||
B2CC507B19776D8B0041958E /* libcocosSpine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libcocosSpine iOS.a */; };
|
||||
B2DB479A197668D500411E16 /* libcocosGUI Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB4799197668CA00411E16 /* libcocosGUI Mac.a */; };
|
||||
B2DB480919766E4800411E16 /* libcocosBuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB480819766E3C00411E16 /* libcocosBuilder Mac.a */; };
|
||||
B2DB480E197670F500411E16 /* libcocosBuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB480819766E3C00411E16 /* libcocosBuilder Mac.a */; };
|
||||
B2DB480F197670F500411E16 /* libcocosGUI Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB4799197668CA00411E16 /* libcocosGUI Mac.a */; };
|
||||
B2DB48141976711A00411E16 /* libcocosBuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB480819766E3C00411E16 /* libcocosBuilder Mac.a */; };
|
||||
B2DB48151976711A00411E16 /* libcocosGUI Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB4799197668CA00411E16 /* libcocosGUI Mac.a */; };
|
||||
B2DB48C319767D3D00411E16 /* libcocosStudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB48C219767D3600411E16 /* libcocosStudio Mac.a */; };
|
||||
B2DB48C619767DAC00411E16 /* libcocosStudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB48C219767D3600411E16 /* libcocosStudio Mac.a */; };
|
||||
B2DB48C919767EB700411E16 /* libcocosStudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB48C219767D3600411E16 /* libcocosStudio Mac.a */; };
|
||||
B2DB493A197681E500411E16 /* libcocosSpine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB49391976819900411E16 /* libcocosSpine Mac.a */; };
|
||||
B2DB49401976826000411E16 /* libcocosSpine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB49391976819900411E16 /* libcocosSpine Mac.a */; };
|
||||
B2DB49431976826E00411E16 /* libcocosSpine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB49391976819900411E16 /* libcocosSpine Mac.a */; };
|
||||
B27AEE0719768950008BD575 /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libnetwork Mac.a */; };
|
||||
B27AEE0A1976896B008BD575 /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libnetwork Mac.a */; };
|
||||
B2C59AC8197782B900B452DF /* libcocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosbuilder iOS.a */; };
|
||||
B2C59AC9197782B900B452DF /* libui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libui iOS.a */; };
|
||||
B2C59ACA197782B900B452DF /* libcocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocostudio iOS.a */; };
|
||||
B2C59AD619779CEB00B452DF /* libcocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosbuilder iOS.a */; };
|
||||
B2C59AD719779CEB00B452DF /* libui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libui iOS.a */; };
|
||||
B2C59AD819779CEB00B452DF /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; };
|
||||
B2C59AD919779CEB00B452DF /* libspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libspine iOS.a */; };
|
||||
B2C59ADA19779CEB00B452DF /* libcocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocostudio iOS.a */; };
|
||||
B2C59AE519779D5D00B452DF /* libcocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosbuilder iOS.a */; };
|
||||
B2C59AE619779D5D00B452DF /* libui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libui iOS.a */; };
|
||||
B2C59AE719779D5D00B452DF /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; };
|
||||
B2C59AE819779D5D00B452DF /* libspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libspine iOS.a */; };
|
||||
B2C59AE919779D5D00B452DF /* libcocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocostudio iOS.a */; };
|
||||
B2CC5045197766F70041958E /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; };
|
||||
B2CC507B19776D8B0041958E /* libspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libspine iOS.a */; };
|
||||
B2DB479A197668D500411E16 /* libui Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB4799197668CA00411E16 /* libui Mac.a */; };
|
||||
B2DB480919766E4800411E16 /* libcocosbuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB480819766E3C00411E16 /* libcocosbuilder Mac.a */; };
|
||||
B2DB480E197670F500411E16 /* libcocosbuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB480819766E3C00411E16 /* libcocosbuilder Mac.a */; };
|
||||
B2DB480F197670F500411E16 /* libui Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB4799197668CA00411E16 /* libui Mac.a */; };
|
||||
B2DB48141976711A00411E16 /* libcocosbuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB480819766E3C00411E16 /* libcocosbuilder Mac.a */; };
|
||||
B2DB48151976711A00411E16 /* libui Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB4799197668CA00411E16 /* libui Mac.a */; };
|
||||
B2DB48C319767D3D00411E16 /* libcocostudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB48C219767D3600411E16 /* libcocostudio Mac.a */; };
|
||||
B2DB48C619767DAC00411E16 /* libcocostudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB48C219767D3600411E16 /* libcocostudio Mac.a */; };
|
||||
B2DB48C919767EB700411E16 /* libcocostudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB48C219767D3600411E16 /* libcocostudio Mac.a */; };
|
||||
B2DB493A197681E500411E16 /* libspine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB49391976819900411E16 /* libspine Mac.a */; };
|
||||
B2DB49401976826000411E16 /* libspine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB49391976819900411E16 /* libspine Mac.a */; };
|
||||
B2DB49431976826E00411E16 /* libspine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB49391976819900411E16 /* libspine Mac.a */; };
|
||||
C04F935A1941B05400E9FEAB /* TileMapTest2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C04F93581941B05400E9FEAB /* TileMapTest2.cpp */; };
|
||||
C04F935B1941B05400E9FEAB /* TileMapTest2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C04F93581941B05400E9FEAB /* TileMapTest2.cpp */; };
|
||||
C08689C118D370C90093E810 /* background.caf in Resources */ = {isa = PBXBuildFile; fileRef = C08689C018D370C90093E810 /* background.caf */; };
|
||||
|
@ -1724,49 +1722,6 @@
|
|||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXCopyFilesBuildPhase section */
|
||||
B24024D81978DE0800FDE433 /* CopyFiles */ = {
|
||||
isa = PBXCopyFilesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
dstPath = "";
|
||||
dstSubfolderSpec = 10;
|
||||
files = (
|
||||
B24024DB1978DE1000FDE433 /* libcocos2dx Mac.dylib in CopyFiles */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
B24024DC1978EBFE00FDE433 /* CopyFiles */ = {
|
||||
isa = PBXCopyFilesBuildPhase;
|
||||
buildActionMask = 12;
|
||||
dstPath = "";
|
||||
dstSubfolderSpec = 10;
|
||||
files = (
|
||||
B24024DD1978EC0700FDE433 /* libcocos2dx Mac.dylib in CopyFiles */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
B24024E21978ED4B00FDE433 /* CopyFiles */ = {
|
||||
isa = PBXCopyFilesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
dstPath = "";
|
||||
dstSubfolderSpec = 10;
|
||||
files = (
|
||||
B24024E31978ED5200FDE433 /* libcocos2dx Mac.dylib in CopyFiles */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
B24024E41978ED5800FDE433 /* CopyFiles */ = {
|
||||
isa = PBXCopyFilesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
dstPath = "";
|
||||
dstSubfolderSpec = 10;
|
||||
files = (
|
||||
B24024E51978ED5F00FDE433 /* libcocos2dx Mac.dylib in CopyFiles */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
1503FAA918DA8B6C00F6518C /* ftp.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ftp.lua; path = ../external/lua/luasocket/ftp.lua; sourceTree = "<group>"; };
|
||||
1503FAAA18DA8B6C00F6518C /* headers.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = headers.lua; path = ../external/lua/luasocket/headers.lua; sourceTree = "<group>"; };
|
||||
|
@ -3500,6 +3455,8 @@
|
|||
29080D8C191B595E0066F8DF /* UIWidgetAddNodeTest_Editor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIWidgetAddNodeTest_Editor.h; sourceTree = "<group>"; };
|
||||
290E94B3196FC16900694919 /* CocostudioParserTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CocostudioParserTest.cpp; path = ../CocostudioParserTest.cpp; sourceTree = "<group>"; };
|
||||
290E94B4196FC16900694919 /* CocostudioParserTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CocostudioParserTest.h; path = ../CocostudioParserTest.h; sourceTree = "<group>"; };
|
||||
295824571987415900F9746D /* UIScale9SpriteTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIScale9SpriteTest.cpp; sourceTree = "<group>"; };
|
||||
295824581987415900F9746D /* UIScale9SpriteTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIScale9SpriteTest.h; sourceTree = "<group>"; };
|
||||
29FBBBFC196A9ECD00E65826 /* CocostudioParserJsonTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CocostudioParserJsonTest.cpp; sourceTree = "<group>"; };
|
||||
29FBBBFD196A9ECD00E65826 /* CocostudioParserJsonTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CocostudioParserJsonTest.h; sourceTree = "<group>"; };
|
||||
38FA2E71194AEBE100FF2BE4 /* ActionTimelineTestScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ActionTimelineTestScene.cpp; sourceTree = "<group>"; };
|
||||
|
@ -3569,11 +3526,11 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B2411CAA1982302700E093E2 /* libcocosNetwork iOS.a in Frameworks */,
|
||||
B2411CA71982301400E093E2 /* libcocosGUI iOS.a in Frameworks */,
|
||||
B2411CA419822FF100E093E2 /* libcocosSpine iOS.a in Frameworks */,
|
||||
B2411CA119822FDD00E093E2 /* libcocosBuilder iOS.a in Frameworks */,
|
||||
B2411C9E19822FBD00E093E2 /* libcocosStudio iOS.a in Frameworks */,
|
||||
B2411CAA1982302700E093E2 /* libnetwork iOS.a in Frameworks */,
|
||||
B2411CA71982301400E093E2 /* libui iOS.a in Frameworks */,
|
||||
B2411CA419822FF100E093E2 /* libspine iOS.a in Frameworks */,
|
||||
B2411CA119822FDD00E093E2 /* libcocosbuilder iOS.a in Frameworks */,
|
||||
B2411C9E19822FBD00E093E2 /* libcocostudio iOS.a in Frameworks */,
|
||||
15CBA9E0196EEBD4005877BB /* MediaPlayer.framework in Frameworks */,
|
||||
15CBA9DE196EEAF8005877BB /* GameController.framework in Frameworks */,
|
||||
15CBA9DD196EEAA6005877BB /* libz.dylib in Frameworks */,
|
||||
|
@ -3587,9 +3544,9 @@
|
|||
15CBA9CF196EE9FB005877BB /* AVFoundation.framework in Frameworks */,
|
||||
15CBA9D1196EEA1D005877BB /* Foundation.framework in Frameworks */,
|
||||
15CBA9BB196EE910005877BB /* libchipmunk iOS.a in Frameworks */,
|
||||
15CBA9DF196EEBB3005877BB /* libcocos2dx iOS.a in Frameworks */,
|
||||
15CBA9BD196EE910005877BB /* libcocos2dx-extensions iOS.a in Frameworks */,
|
||||
15CBA9BE196EE910005877BB /* libCocosDenshion iOS.a in Frameworks */,
|
||||
15CBA9DF196EEBB3005877BB /* libcocos2d iOS.a in Frameworks */,
|
||||
15CBA9BD196EE910005877BB /* libextension iOS.a in Frameworks */,
|
||||
15CBA9BE196EE910005877BB /* libcocosdenshion iOS.a in Frameworks */,
|
||||
15CBA9BF196EE910005877BB /* libluabindings iOS.a in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
|
@ -3599,8 +3556,8 @@
|
|||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1A0EE2A118CDF6DA004CD58F /* libchipmunk Mac.a in Frameworks */,
|
||||
1A0EE2A218CDF6DA004CD58F /* libcocos2dx Mac.dylib in Frameworks */,
|
||||
1A0EE2A418CDF6DA004CD58F /* libCocosDenshion Mac.a in Frameworks */,
|
||||
1A0EE2A218CDF6DA004CD58F /* libcocos2d Mac.a in Frameworks */,
|
||||
1A0EE2A418CDF6DA004CD58F /* libcocosdenshion Mac.a in Frameworks */,
|
||||
1A0EE2A518CDF6DA004CD58F /* IOKit.framework in Frameworks */,
|
||||
1A0EE2A618CDF6DA004CD58F /* libcurl.dylib in Frameworks */,
|
||||
1A0EE2A718CDF6DA004CD58F /* libz.dylib in Frameworks */,
|
||||
|
@ -3618,11 +3575,11 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B27AEE0A1976896B008BD575 /* libcocosNetwork Mac.a in Frameworks */,
|
||||
B2DB49431976826E00411E16 /* libcocosSpine Mac.a in Frameworks */,
|
||||
B2DB48C919767EB700411E16 /* libcocosStudio Mac.a in Frameworks */,
|
||||
B2DB480E197670F500411E16 /* libcocosBuilder Mac.a in Frameworks */,
|
||||
B2DB480F197670F500411E16 /* libcocosGUI Mac.a in Frameworks */,
|
||||
B27AEE0A1976896B008BD575 /* libnetwork Mac.a in Frameworks */,
|
||||
B2DB49431976826E00411E16 /* libspine Mac.a in Frameworks */,
|
||||
B2DB48C919767EB700411E16 /* libcocostudio Mac.a in Frameworks */,
|
||||
B2DB480E197670F500411E16 /* libcocosbuilder Mac.a in Frameworks */,
|
||||
B2DB480F197670F500411E16 /* libui Mac.a in Frameworks */,
|
||||
1A0EE2C918CDF733004CD58F /* libcurl.dylib in Frameworks */,
|
||||
1A0EE2CA18CDF733004CD58F /* libz.dylib in Frameworks */,
|
||||
1A0EE2CB18CDF733004CD58F /* IOKit.framework in Frameworks */,
|
||||
|
@ -3633,9 +3590,9 @@
|
|||
1A0EE2D018CDF733004CD58F /* QuartzCore.framework in Frameworks */,
|
||||
1A0EE2D118CDF733004CD58F /* OpenGL.framework in Frameworks */,
|
||||
1A0EE2D218CDF733004CD58F /* libchipmunk Mac.a in Frameworks */,
|
||||
1A0EE2D318CDF733004CD58F /* libcocos2dx Mac.dylib in Frameworks */,
|
||||
1A0EE2D418CDF733004CD58F /* libcocos2dx-extensions Mac.a in Frameworks */,
|
||||
1A0EE2D518CDF733004CD58F /* libCocosDenshion Mac.a in Frameworks */,
|
||||
1A0EE2D318CDF733004CD58F /* libcocos2d Mac.a in Frameworks */,
|
||||
1A0EE2D418CDF733004CD58F /* libextension Mac.a in Frameworks */,
|
||||
1A0EE2D518CDF733004CD58F /* libcocosdenshion Mac.a in Frameworks */,
|
||||
1A0EE2D618CDF733004CD58F /* libluabindings Mac.a in Frameworks */,
|
||||
1A0EE2D718CDF733004CD58F /* Cocoa.framework in Frameworks */,
|
||||
);
|
||||
|
@ -3646,8 +3603,8 @@
|
|||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1A0EE40218CDF775004CD58F /* libchipmunk iOS.a in Frameworks */,
|
||||
1A0EE40318CDF775004CD58F /* libcocos2dx iOS.a in Frameworks */,
|
||||
1A0EE40518CDF775004CD58F /* libCocosDenshion iOS.a in Frameworks */,
|
||||
1A0EE40318CDF775004CD58F /* libcocos2d iOS.a in Frameworks */,
|
||||
1A0EE40518CDF775004CD58F /* libcocosdenshion iOS.a in Frameworks */,
|
||||
1A0EE40618CDF775004CD58F /* CoreMotion.framework in Frameworks */,
|
||||
1A0EE40718CDF775004CD58F /* libz.dylib in Frameworks */,
|
||||
1A0EE40818CDF775004CD58F /* Foundation.framework in Frameworks */,
|
||||
|
@ -3665,11 +3622,11 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B2C59AD619779CEB00B452DF /* libcocosBuilder iOS.a in Frameworks */,
|
||||
B2C59AD719779CEB00B452DF /* libcocosGUI iOS.a in Frameworks */,
|
||||
B2C59AD819779CEB00B452DF /* libcocosNetwork iOS.a in Frameworks */,
|
||||
B2C59AD919779CEB00B452DF /* libcocosSpine iOS.a in Frameworks */,
|
||||
B2C59ADA19779CEB00B452DF /* libcocosStudio iOS.a in Frameworks */,
|
||||
B2C59AD619779CEB00B452DF /* libcocosbuilder iOS.a in Frameworks */,
|
||||
B2C59AD719779CEB00B452DF /* libui iOS.a in Frameworks */,
|
||||
B2C59AD819779CEB00B452DF /* libnetwork iOS.a in Frameworks */,
|
||||
B2C59AD919779CEB00B452DF /* libspine iOS.a in Frameworks */,
|
||||
B2C59ADA19779CEB00B452DF /* libcocostudio iOS.a in Frameworks */,
|
||||
15AECE25195D467D00907DB0 /* MediaPlayer.framework in Frameworks */,
|
||||
1A0EE42C18CDF799004CD58F /* libz.dylib in Frameworks */,
|
||||
1A0EE42D18CDF799004CD58F /* CoreMotion.framework in Frameworks */,
|
||||
|
@ -3682,9 +3639,9 @@
|
|||
1A0EE43418CDF799004CD58F /* AVFoundation.framework in Frameworks */,
|
||||
1A0EE43518CDF799004CD58F /* Foundation.framework in Frameworks */,
|
||||
1A0EE43618CDF799004CD58F /* libchipmunk iOS.a in Frameworks */,
|
||||
1A0EE43718CDF799004CD58F /* libcocos2dx iOS.a in Frameworks */,
|
||||
1A0EE43818CDF799004CD58F /* libcocos2dx-extensions iOS.a in Frameworks */,
|
||||
1A0EE43918CDF799004CD58F /* libCocosDenshion iOS.a in Frameworks */,
|
||||
1A0EE43718CDF799004CD58F /* libcocos2d iOS.a in Frameworks */,
|
||||
1A0EE43818CDF799004CD58F /* libextension iOS.a in Frameworks */,
|
||||
1A0EE43918CDF799004CD58F /* libcocosdenshion iOS.a in Frameworks */,
|
||||
1A0EE43A18CDF799004CD58F /* libluabindings iOS.a in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
|
@ -3693,11 +3650,11 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B27AEE0719768950008BD575 /* libcocosNetwork Mac.a in Frameworks */,
|
||||
B2DB49401976826000411E16 /* libcocosSpine Mac.a in Frameworks */,
|
||||
B2DB48C319767D3D00411E16 /* libcocosStudio Mac.a in Frameworks */,
|
||||
B2DB48141976711A00411E16 /* libcocosBuilder Mac.a in Frameworks */,
|
||||
B2DB48151976711A00411E16 /* libcocosGUI Mac.a in Frameworks */,
|
||||
B27AEE0719768950008BD575 /* libnetwork Mac.a in Frameworks */,
|
||||
B2DB49401976826000411E16 /* libspine Mac.a in Frameworks */,
|
||||
B2DB48C319767D3D00411E16 /* libcocostudio Mac.a in Frameworks */,
|
||||
B2DB48141976711A00411E16 /* libcocosbuilder Mac.a in Frameworks */,
|
||||
B2DB48151976711A00411E16 /* libui Mac.a in Frameworks */,
|
||||
1ABCA36218CD9AC60087CE3A /* libcurl.dylib in Frameworks */,
|
||||
1ABCA36118CD9AC00087CE3A /* libz.dylib in Frameworks */,
|
||||
1ABCA35F18CD9AAE0087CE3A /* IOKit.framework in Frameworks */,
|
||||
|
@ -3708,9 +3665,9 @@
|
|||
1ABCA35718CD9A890087CE3A /* QuartzCore.framework in Frameworks */,
|
||||
1ABCA35518CD9A820087CE3A /* OpenGL.framework in Frameworks */,
|
||||
1ABCA2C218CD92420087CE3A /* libchipmunk Mac.a in Frameworks */,
|
||||
1ABCA2C318CD92420087CE3A /* libcocos2dx Mac.dylib in Frameworks */,
|
||||
1ABCA2C418CD92420087CE3A /* libcocos2dx-extensions Mac.a in Frameworks */,
|
||||
1ABCA2C518CD92420087CE3A /* libCocosDenshion Mac.a in Frameworks */,
|
||||
1ABCA2C318CD92420087CE3A /* libcocos2d Mac.a in Frameworks */,
|
||||
1ABCA2C418CD92420087CE3A /* libextension Mac.a in Frameworks */,
|
||||
1ABCA2C518CD92420087CE3A /* libcocosdenshion Mac.a in Frameworks */,
|
||||
1ABCA2C618CD92420087CE3A /* libluabindings Mac.a in Frameworks */,
|
||||
1ABCA28718CD91510087CE3A /* Cocoa.framework in Frameworks */,
|
||||
);
|
||||
|
@ -3720,11 +3677,11 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B2C59AE519779D5D00B452DF /* libcocosBuilder iOS.a in Frameworks */,
|
||||
B2C59AE619779D5D00B452DF /* libcocosGUI iOS.a in Frameworks */,
|
||||
B2C59AE719779D5D00B452DF /* libcocosNetwork iOS.a in Frameworks */,
|
||||
B2C59AE819779D5D00B452DF /* libcocosSpine iOS.a in Frameworks */,
|
||||
B2C59AE919779D5D00B452DF /* libcocosStudio iOS.a in Frameworks */,
|
||||
B2C59AE519779D5D00B452DF /* libcocosbuilder iOS.a in Frameworks */,
|
||||
B2C59AE619779D5D00B452DF /* libui iOS.a in Frameworks */,
|
||||
B2C59AE719779D5D00B452DF /* libnetwork iOS.a in Frameworks */,
|
||||
B2C59AE819779D5D00B452DF /* libspine iOS.a in Frameworks */,
|
||||
B2C59AE919779D5D00B452DF /* libcocostudio iOS.a in Frameworks */,
|
||||
15AECE0B195C0F8A00907DB0 /* MediaPlayer.framework in Frameworks */,
|
||||
1ABCA3B018CDA06D0087CE3A /* libz.dylib in Frameworks */,
|
||||
1ABCA3AA18CD9F1A0087CE3A /* CoreMotion.framework in Frameworks */,
|
||||
|
@ -3737,9 +3694,9 @@
|
|||
1ABCA39D18CD9ED80087CE3A /* AVFoundation.framework in Frameworks */,
|
||||
1ABCA2CE18CD93580087CE3A /* Foundation.framework in Frameworks */,
|
||||
1ABCA30118CD93940087CE3A /* libchipmunk iOS.a in Frameworks */,
|
||||
1ABCA30218CD93940087CE3A /* libcocos2dx iOS.a in Frameworks */,
|
||||
1ABCA30318CD93940087CE3A /* libcocos2dx-extensions iOS.a in Frameworks */,
|
||||
1ABCA30418CD93940087CE3A /* libCocosDenshion iOS.a in Frameworks */,
|
||||
1ABCA30218CD93940087CE3A /* libcocos2d iOS.a in Frameworks */,
|
||||
1ABCA30318CD93940087CE3A /* libextension iOS.a in Frameworks */,
|
||||
1ABCA30418CD93940087CE3A /* libcocosdenshion iOS.a in Frameworks */,
|
||||
1ABCA30518CD93940087CE3A /* libluabindings iOS.a in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
|
@ -3748,16 +3705,16 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B244F3171976878E00ED1926 /* libcocosNetwork Mac.a in Frameworks */,
|
||||
B2DB493A197681E500411E16 /* libcocosSpine Mac.a in Frameworks */,
|
||||
B2DB48C619767DAC00411E16 /* libcocosStudio Mac.a in Frameworks */,
|
||||
B2DB480919766E4800411E16 /* libcocosBuilder Mac.a in Frameworks */,
|
||||
B2DB479A197668D500411E16 /* libcocosGUI Mac.a in Frameworks */,
|
||||
B244F3171976878E00ED1926 /* libnetwork Mac.a in Frameworks */,
|
||||
B2DB493A197681E500411E16 /* libspine Mac.a in Frameworks */,
|
||||
B2DB48C619767DAC00411E16 /* libcocostudio Mac.a in Frameworks */,
|
||||
B2DB480919766E4800411E16 /* libcocosbuilder Mac.a in Frameworks */,
|
||||
B2DB479A197668D500411E16 /* libui Mac.a in Frameworks */,
|
||||
1AAF534B180E2F4E000584C8 /* libbox2d Mac.a in Frameworks */,
|
||||
1AAF534C180E2F4E000584C8 /* libchipmunk Mac.a in Frameworks */,
|
||||
1AAF534D180E2F4E000584C8 /* libcocos2dx Mac.dylib in Frameworks */,
|
||||
1AAF534E180E2F4E000584C8 /* libcocos2dx-extensions Mac.a in Frameworks */,
|
||||
1AAF534F180E2F4E000584C8 /* libCocosDenshion Mac.a in Frameworks */,
|
||||
1AAF534D180E2F4E000584C8 /* libcocos2d Mac.a in Frameworks */,
|
||||
1AAF534E180E2F4E000584C8 /* libextension Mac.a in Frameworks */,
|
||||
1AAF534F180E2F4E000584C8 /* libcocosdenshion Mac.a in Frameworks */,
|
||||
EDCC747F17C455FD007B692C /* IOKit.framework in Frameworks */,
|
||||
1A9F808D177E98A600D9A1CB /* libcurl.dylib in Frameworks */,
|
||||
15C6482F165F399D007D4F18 /* libz.dylib in Frameworks */,
|
||||
|
@ -3777,7 +3734,7 @@
|
|||
files = (
|
||||
3E61773D1960FBD200DE83F5 /* GameController.framework in Frameworks */,
|
||||
3E6177211960FAED00DE83F5 /* libchipmunk iOS.a in Frameworks */,
|
||||
3E6177221960FAED00DE83F5 /* libcocos2dx iOS.a in Frameworks */,
|
||||
3E6177221960FAED00DE83F5 /* libcocos2d iOS.a in Frameworks */,
|
||||
3E6177241960FAED00DE83F5 /* CoreMotion.framework in Frameworks */,
|
||||
3E6177251960FAED00DE83F5 /* libz.dylib in Frameworks */,
|
||||
3E6177261960FAED00DE83F5 /* Foundation.framework in Frameworks */,
|
||||
|
@ -3795,17 +3752,17 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B2C59AC8197782B900B452DF /* libcocosBuilder iOS.a in Frameworks */,
|
||||
B2C59AC9197782B900B452DF /* libcocosGUI iOS.a in Frameworks */,
|
||||
B2C59ACA197782B900B452DF /* libcocosStudio iOS.a in Frameworks */,
|
||||
B2CC507B19776D8B0041958E /* libcocosSpine iOS.a in Frameworks */,
|
||||
B2CC5045197766F70041958E /* libcocosNetwork iOS.a in Frameworks */,
|
||||
B2C59AC8197782B900B452DF /* libcocosbuilder iOS.a in Frameworks */,
|
||||
B2C59AC9197782B900B452DF /* libui iOS.a in Frameworks */,
|
||||
B2C59ACA197782B900B452DF /* libcocostudio iOS.a in Frameworks */,
|
||||
B2CC507B19776D8B0041958E /* libspine iOS.a in Frameworks */,
|
||||
B2CC5045197766F70041958E /* libnetwork iOS.a in Frameworks */,
|
||||
3EA0FB66191B933000B170C8 /* MediaPlayer.framework in Frameworks */,
|
||||
1AAF53FE180E39D4000584C8 /* libbox2d iOS.a in Frameworks */,
|
||||
1AAF53FF180E39D4000584C8 /* libchipmunk iOS.a in Frameworks */,
|
||||
1AAF5400180E39D4000584C8 /* libcocos2dx iOS.a in Frameworks */,
|
||||
1AAF5401180E39D4000584C8 /* libcocos2dx-extensions iOS.a in Frameworks */,
|
||||
1AAF5402180E39D4000584C8 /* libCocosDenshion iOS.a in Frameworks */,
|
||||
1AAF5400180E39D4000584C8 /* libcocos2d iOS.a in Frameworks */,
|
||||
1AAF5401180E39D4000584C8 /* libextension iOS.a in Frameworks */,
|
||||
1AAF5402180E39D4000584C8 /* libcocosdenshion iOS.a in Frameworks */,
|
||||
D60AE43417F7FFE100757E4B /* CoreMotion.framework in Frameworks */,
|
||||
A07A521E1783A1D20073F6A7 /* libz.dylib in Frameworks */,
|
||||
A07A521F1783A1D20073F6A7 /* Foundation.framework in Frameworks */,
|
||||
|
@ -7639,6 +7596,8 @@
|
|||
29FBBC00196A9F0D00E65826 /* UIAndEditorTests */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
295824571987415900F9746D /* UIScale9SpriteTest.cpp */,
|
||||
295824581987415900F9746D /* UIScale9SpriteTest.h */,
|
||||
29080D1F191B595E0066F8DF /* CocosGUIScene.cpp */,
|
||||
29080D20191B595E0066F8DF /* CocosGUIScene.h */,
|
||||
29080D37191B595E0066F8DF /* GUIEditorTest.cpp */,
|
||||
|
@ -7763,26 +7722,26 @@
|
|||
46A15F9D1807A4F8005B8026 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */,
|
||||
46A15FB21807A4F9005B8026 /* libcocos2dx-extensions Mac.a */,
|
||||
B2DB4799197668CA00411E16 /* libcocosGUI Mac.a */,
|
||||
B2DB48C219767D3600411E16 /* libcocosStudio Mac.a */,
|
||||
B2DB480819766E3C00411E16 /* libcocosBuilder Mac.a */,
|
||||
B2DB49391976819900411E16 /* libcocosSpine Mac.a */,
|
||||
B244F3161976878700ED1926 /* libcocosNetwork Mac.a */,
|
||||
46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */,
|
||||
46A15FB21807A4F9005B8026 /* libextension Mac.a */,
|
||||
B2DB4799197668CA00411E16 /* libui Mac.a */,
|
||||
B2DB48C219767D3600411E16 /* libcocostudio Mac.a */,
|
||||
B2DB480819766E3C00411E16 /* libcocosbuilder Mac.a */,
|
||||
B2DB49391976819900411E16 /* libspine Mac.a */,
|
||||
B244F3161976878700ED1926 /* libnetwork Mac.a */,
|
||||
46A15FB41807A4F9005B8026 /* libchipmunk Mac.a */,
|
||||
46A15FB61807A4F9005B8026 /* libbox2d Mac.a */,
|
||||
46A15FB81807A4F9005B8026 /* libCocosDenshion Mac.a */,
|
||||
46A15FBE1807A4F9005B8026 /* libcocos2dx iOS.a */,
|
||||
46A15FC01807A4F9005B8026 /* libcocos2dx-extensions iOS.a */,
|
||||
46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */,
|
||||
46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */,
|
||||
46A15FC01807A4F9005B8026 /* libextension iOS.a */,
|
||||
46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */,
|
||||
46A15FC41807A4F9005B8026 /* libbox2d iOS.a */,
|
||||
46A15FC61807A4F9005B8026 /* libCocosDenshion iOS.a */,
|
||||
B2CC5039197763A20041958E /* libcocosGUI iOS.a */,
|
||||
B2CC503B197763A20041958E /* libcocosStudio iOS.a */,
|
||||
B2CC503D197763A20041958E /* libcocosBuilder iOS.a */,
|
||||
B2CC503F197763A20041958E /* libcocosSpine iOS.a */,
|
||||
B2CC5041197763A20041958E /* libcocosNetwork iOS.a */,
|
||||
46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */,
|
||||
B2CC5039197763A20041958E /* libui iOS.a */,
|
||||
B2CC503B197763A20041958E /* libcocostudio iOS.a */,
|
||||
B2CC503D197763A20041958E /* libcocosbuilder iOS.a */,
|
||||
B2CC503F197763A20041958E /* libspine iOS.a */,
|
||||
B2CC5041197763A20041958E /* libnetwork iOS.a */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
|
@ -7824,7 +7783,6 @@
|
|||
1A0EE1D118CDF6DA004CD58F /* Resources */,
|
||||
1A0EE1F618CDF6DA004CD58F /* Sources */,
|
||||
1A0EE29F18CDF6DA004CD58F /* Frameworks */,
|
||||
B24024D81978DE0800FDE433 /* CopyFiles */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
|
@ -7845,7 +7803,6 @@
|
|||
1A0EE2C318CDF733004CD58F /* Sources */,
|
||||
1A0EE2C818CDF733004CD58F /* Frameworks */,
|
||||
1A0EE2D818CDF733004CD58F /* Resources */,
|
||||
B24024E21978ED4B00FDE433 /* CopyFiles */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
|
@ -7920,7 +7877,6 @@
|
|||
1ABCA28218CD91510087CE3A /* Sources */,
|
||||
1ABCA28318CD91510087CE3A /* Frameworks */,
|
||||
1ABCA28418CD91510087CE3A /* Resources */,
|
||||
B24024E41978ED5800FDE433 /* CopyFiles */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
|
@ -7975,7 +7931,6 @@
|
|||
1D60588D0D05DD3D006BFB54 /* Resources */,
|
||||
1D60588E0D05DD3D006BFB54 /* Sources */,
|
||||
1D60588F0D05DD3D006BFB54 /* Frameworks */,
|
||||
B24024DC1978EBFE00FDE433 /* CopyFiles */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
|
@ -8107,17 +8062,17 @@
|
|||
remoteRef = 1ABCA27F18CD90A50087CE3A /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
46A15FB01807A4F9005B8026 /* libcocos2dx Mac.dylib */ = {
|
||||
46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocos2dx Mac.dylib";
|
||||
path = "libcocos2d Mac.a";
|
||||
remoteRef = 46A15FAF1807A4F9005B8026 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
46A15FB21807A4F9005B8026 /* libcocos2dx-extensions Mac.a */ = {
|
||||
46A15FB21807A4F9005B8026 /* libextension Mac.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocos2dx-extensions Mac.a";
|
||||
path = "libextension Mac.a";
|
||||
remoteRef = 46A15FB11807A4F9005B8026 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
|
@ -8135,24 +8090,24 @@
|
|||
remoteRef = 46A15FB51807A4F9005B8026 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
46A15FB81807A4F9005B8026 /* libCocosDenshion Mac.a */ = {
|
||||
46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libCocosDenshion Mac.a";
|
||||
path = "libcocosdenshion Mac.a";
|
||||
remoteRef = 46A15FB71807A4F9005B8026 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
46A15FBE1807A4F9005B8026 /* libcocos2dx iOS.a */ = {
|
||||
46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocos2dx iOS.a";
|
||||
path = "libcocos2d iOS.a";
|
||||
remoteRef = 46A15FBD1807A4F9005B8026 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
46A15FC01807A4F9005B8026 /* libcocos2dx-extensions iOS.a */ = {
|
||||
46A15FC01807A4F9005B8026 /* libextension iOS.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocos2dx-extensions iOS.a";
|
||||
path = "libextension iOS.a";
|
||||
remoteRef = 46A15FBF1807A4F9005B8026 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
|
@ -8170,80 +8125,80 @@
|
|||
remoteRef = 46A15FC31807A4F9005B8026 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
46A15FC61807A4F9005B8026 /* libCocosDenshion iOS.a */ = {
|
||||
46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libCocosDenshion iOS.a";
|
||||
path = "libcocosdenshion iOS.a";
|
||||
remoteRef = 46A15FC51807A4F9005B8026 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B244F3161976878700ED1926 /* libcocosNetwork Mac.a */ = {
|
||||
B244F3161976878700ED1926 /* libnetwork Mac.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosNetwork Mac.a";
|
||||
path = "libnetwork Mac.a";
|
||||
remoteRef = B244F3151976878700ED1926 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B2CC5039197763A20041958E /* libcocosGUI iOS.a */ = {
|
||||
B2CC5039197763A20041958E /* libui iOS.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosGUI iOS.a";
|
||||
path = "libui iOS.a";
|
||||
remoteRef = B2CC5038197763A20041958E /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B2CC503B197763A20041958E /* libcocosStudio iOS.a */ = {
|
||||
B2CC503B197763A20041958E /* libcocostudio iOS.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosStudio iOS.a";
|
||||
path = "libcocostudio iOS.a";
|
||||
remoteRef = B2CC503A197763A20041958E /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B2CC503D197763A20041958E /* libcocosBuilder iOS.a */ = {
|
||||
B2CC503D197763A20041958E /* libcocosbuilder iOS.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosBuilder iOS.a";
|
||||
path = "libcocosbuilder iOS.a";
|
||||
remoteRef = B2CC503C197763A20041958E /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B2CC503F197763A20041958E /* libcocosSpine iOS.a */ = {
|
||||
B2CC503F197763A20041958E /* libspine iOS.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosSpine iOS.a";
|
||||
path = "libspine iOS.a";
|
||||
remoteRef = B2CC503E197763A20041958E /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B2CC5041197763A20041958E /* libcocosNetwork iOS.a */ = {
|
||||
B2CC5041197763A20041958E /* libnetwork iOS.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosNetwork iOS.a";
|
||||
path = "libnetwork iOS.a";
|
||||
remoteRef = B2CC5040197763A20041958E /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B2DB4799197668CA00411E16 /* libcocosGUI Mac.a */ = {
|
||||
B2DB4799197668CA00411E16 /* libui Mac.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosGUI Mac.a";
|
||||
path = "libui Mac.a";
|
||||
remoteRef = B2DB4798197668CA00411E16 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B2DB480819766E3C00411E16 /* libcocosBuilder Mac.a */ = {
|
||||
B2DB480819766E3C00411E16 /* libcocosbuilder Mac.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosBuilder Mac.a";
|
||||
path = "libcocosbuilder Mac.a";
|
||||
remoteRef = B2DB480719766E3C00411E16 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B2DB48C219767D3600411E16 /* libcocosStudio Mac.a */ = {
|
||||
B2DB48C219767D3600411E16 /* libcocostudio Mac.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosStudio Mac.a";
|
||||
path = "libcocostudio Mac.a";
|
||||
remoteRef = B2DB48C119767D3600411E16 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
B2DB49391976819900411E16 /* libcocosSpine Mac.a */ = {
|
||||
B2DB49391976819900411E16 /* libspine Mac.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libcocosSpine Mac.a";
|
||||
path = "libspine Mac.a";
|
||||
remoteRef = B2DB49381976819900411E16 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
|
@ -8880,6 +8835,7 @@
|
|||
1AC35B8118CECF0C00F37B72 /* SceneController.cpp in Sources */,
|
||||
1AC35B3318CECF0C00F37B72 /* Test.cpp in Sources */,
|
||||
1AC35C2318CECF0C00F37B72 /* ParticleTest.cpp in Sources */,
|
||||
295824591987415900F9746D /* UIScale9SpriteTest.cpp in Sources */,
|
||||
1AC35C6118CECF0C00F37B72 /* TouchesTest.cpp in Sources */,
|
||||
1AC35C6318CECF0C00F37B72 /* TransitionsTest.cpp in Sources */,
|
||||
29080DB3191B595E0066F8DF /* UILayoutTest_Editor.cpp in Sources */,
|
||||
|
@ -8962,6 +8918,7 @@
|
|||
1AC35BFA18CECF0C00F37B72 /* WebSocketTest.cpp in Sources */,
|
||||
1AC35BF218CECF0C00F37B72 /* EditBoxTest.cpp in Sources */,
|
||||
38FA2E74194AEBE100FF2BE4 /* ActionTimelineTestScene.cpp in Sources */,
|
||||
2958245A1987415900F9746D /* UIScale9SpriteTest.cpp in Sources */,
|
||||
1AC35B3A18CECF0C00F37B72 /* Bug-1174.cpp in Sources */,
|
||||
1AC35BE418CECF0C00F37B72 /* CCControlColourPickerTest.cpp in Sources */,
|
||||
29080DD4191B595E0066F8DF /* UITextAtlasTest.cpp in Sources */,
|
||||
|
@ -9689,7 +9646,7 @@
|
|||
1A0EE2B018CDF6DA004CD58F /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
|
@ -9704,7 +9661,7 @@
|
|||
1A0EE2B118CDF6DA004CD58F /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
|
@ -9720,7 +9677,7 @@
|
|||
1A0EE31218CDF733004CD58F /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
CC_TARGET_OS_MAC,
|
||||
|
@ -9740,7 +9697,7 @@
|
|||
1A0EE31318CDF733004CD58F /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
CC_TARGET_OS_MAC,
|
||||
|
@ -9827,7 +9784,7 @@
|
|||
1ABCA2B318CD91520087CE3A /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
CC_TARGET_OS_MAC,
|
||||
|
@ -9847,7 +9804,7 @@
|
|||
1ABCA2B418CD91520087CE3A /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
CC_TARGET_OS_MAC,
|
||||
|
@ -9901,7 +9858,7 @@
|
|||
1D6058940D05DD3E006BFB54 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
CC_TARGET_OS_MAC,
|
||||
|
@ -9915,7 +9872,7 @@
|
|||
1D6058950D05DD3E006BFB54 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
ARCHS = "$(ARCHS_STANDARD)";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
CC_TARGET_OS_MAC,
|
||||
|
|
|
@ -449,6 +449,10 @@ void ParticleSystemQuad::setTotalParticles(int tp)
|
|||
_totalParticles = tp;
|
||||
}
|
||||
|
||||
// fixed issue #5762
|
||||
// reset the emission rate
|
||||
setEmissionRate(_totalParticles / _life);
|
||||
|
||||
resetSystem();
|
||||
}
|
||||
|
||||
|
|
|
@ -31,11 +31,10 @@
|
|||
|
||||
|
||||
#include "2d/CCNode.h"
|
||||
#include "ui/GUIExport.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
class CC_GUI_DLL ProtectedNode : public Node
|
||||
class CC_DLL ProtectedNode : public Node
|
||||
{
|
||||
public:
|
||||
static ProtectedNode * create(void);
|
|
@ -58,6 +58,7 @@ set(COCOS_2D_SRC
|
|||
2d/CCParticleSystem.cpp
|
||||
2d/CCParticleSystemQuad.cpp
|
||||
2d/CCProgressTimer.cpp
|
||||
2d/CCProtectedNode.cpp
|
||||
2d/CCRenderTexture.cpp
|
||||
2d/CCScene.cpp
|
||||
2d/CCSpriteBatchNode.cpp
|
||||
|
|
|
@ -406,6 +406,7 @@
|
|||
<ClCompile Include="CCParticleSystem.cpp" />
|
||||
<ClCompile Include="CCParticleSystemQuad.cpp" />
|
||||
<ClCompile Include="CCProgressTimer.cpp" />
|
||||
<ClCompile Include="CCProtectedNode.cpp" />
|
||||
<ClCompile Include="CCRenderTexture.cpp" />
|
||||
<ClCompile Include="CCScene.cpp" />
|
||||
<ClCompile Include="CCSprite.cpp" />
|
||||
|
@ -622,6 +623,7 @@
|
|||
<ClInclude Include="CCParticleSystem.h" />
|
||||
<ClInclude Include="CCParticleSystemQuad.h" />
|
||||
<ClInclude Include="CCProgressTimer.h" />
|
||||
<ClInclude Include="CCProtectedNode.h" />
|
||||
<ClInclude Include="CCRenderTexture.h" />
|
||||
<ClInclude Include="CCScene.h" />
|
||||
<ClInclude Include="CCSprite.h" />
|
||||
|
|
|
@ -490,9 +490,6 @@
|
|||
<ClCompile Include="..\base\CCUserDefault.cpp">
|
||||
<Filter>base</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\base\CCUserDefaultAndroid.cpp">
|
||||
<Filter>base</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\base\ccUTF8.cpp">
|
||||
<Filter>base</Filter>
|
||||
</ClCompile>
|
||||
|
@ -617,6 +614,9 @@
|
|||
<ClCompile Include="CCFastTMXTiledMap.cpp">
|
||||
<Filter>2d</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="CCProtectedNode.cpp">
|
||||
<Filter>2d</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\physics\CCPhysicsBody.h">
|
||||
|
@ -1259,6 +1259,9 @@
|
|||
<ClInclude Include="CCFastTMXTiledMap.h">
|
||||
<Filter>2d</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="CCProtectedNode.h">
|
||||
<Filter>2d</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\math\Mat4.inl">
|
||||
|
|
|
@ -103,6 +103,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\websockets\prebuilt\win32\*.*" "$(OutDi
|
|||
xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\zlib\prebuilt\*.*" "$(OutDir)"
|
||||
xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\icon\prebuilt\*.*" "$(OutDir)"
|
||||
xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\gles\prebuilt\*.*" "$(OutDir)"
|
||||
xcopy /Y /Q "$(ProjectDir)..\..\external\sqlite3\libraries\win32\*.*" "$(OutDir)"
|
||||
</Command>
|
||||
</PreLinkEvent>
|
||||
<Link>
|
||||
|
@ -338,6 +339,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\gles\prebuilt\*.*" "$(Ou
|
|||
<ClCompile Include="CCParticleSystem.cpp" />
|
||||
<ClCompile Include="CCParticleSystemQuad.cpp" />
|
||||
<ClCompile Include="CCProgressTimer.cpp" />
|
||||
<ClCompile Include="CCProtectedNode.cpp" />
|
||||
<ClCompile Include="CCRenderTexture.cpp" />
|
||||
<ClCompile Include="CCScene.cpp" />
|
||||
<ClCompile Include="CCSprite.cpp" />
|
||||
|
@ -545,6 +547,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\gles\prebuilt\*.*" "$(Ou
|
|||
<ClInclude Include="CCParticleSystem.h" />
|
||||
<ClInclude Include="CCParticleSystemQuad.h" />
|
||||
<ClInclude Include="CCProgressTimer.h" />
|
||||
<ClInclude Include="CCProtectedNode.h" />
|
||||
<ClInclude Include="CCRenderTexture.h" />
|
||||
<ClInclude Include="CCScene.h" />
|
||||
<ClInclude Include="CCSprite.h" />
|
|
@ -595,6 +595,9 @@
|
|||
<ClCompile Include="..\storage\local-storage\LocalStorage.cpp">
|
||||
<Filter>storage</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="CCProtectedNode.cpp">
|
||||
<Filter>2d</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\physics\CCPhysicsBody.h">
|
||||
|
@ -1210,6 +1213,9 @@
|
|||
<ClInclude Include="..\storage\local-storage\LocalStorage.h">
|
||||
<Filter>storage</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="CCProtectedNode.h">
|
||||
<Filter>2d</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\math\Mat4.inl">
|
|
@ -55,6 +55,7 @@ cocos2d.cpp \
|
|||
2d/CCParticleSystem.cpp \
|
||||
2d/CCParticleSystemQuad.cpp \
|
||||
2d/CCProgressTimer.cpp \
|
||||
2d/CCProtectedNode.cpp \
|
||||
2d/CCRenderTexture.cpp \
|
||||
2d/CCScene.cpp \
|
||||
2d/CCSprite.cpp \
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectName>libAudio</ProjectName>
|
||||
<ProjectName>libcocosdenshion</ProjectName>
|
||||
<ProjectGuid>{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}</ProjectGuid>
|
||||
<RootNamespace>CocosDenshion.win32</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
|
@ -131,7 +131,7 @@
|
|||
<ClCompile Include="..\win32\SimpleAudioEngine.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\..\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
|
@ -268,9 +268,6 @@ THE SOFTWARE.
|
|||
#include "3d/CCAnimation3D.h"
|
||||
#include "3d/CCSprite3DMaterial.h"
|
||||
|
||||
// Audio
|
||||
#include "audio/include/SimpleAudioEngine.h"
|
||||
|
||||
// Deprecated include
|
||||
#include "deprecated/CCDictionary.h"
|
||||
#include "deprecated/CCArray.h"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{811C0DAB-7B96-4BD3-A154-B7572B58E4AB}</ProjectGuid>
|
||||
<RootNamespace>libCocosBuilder</RootNamespace>
|
||||
<RootNamespace>libcocosbuilder</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
|
@ -82,7 +82,7 @@
|
|||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<AdditionalIncludeDirectories>$(EngineRoot);$(EngineRoot)extensions;$(EngineRoot)cocos\audio\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_LIB;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;CC_CONSTRUCTOR_ACCESS=public;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_LIB;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
|
@ -146,10 +146,10 @@
|
|||
<ClInclude Include="..\CocosBuilder.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\extensions\proj.win32\libExtensions.vcxproj">
|
||||
<ProjectReference Include="..\..\..\..\extensions\proj.win32\libextension.vcxproj">
|
||||
<Project>{21b2c324-891f-48ea-ad1a-5ae13de12e28}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\..\..\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
|
@ -138,19 +138,20 @@
|
|||
<ClInclude Include="..\WidgetReader\WidgetReaderProtocol.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\..\..\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\audio\proj.win32\CocosDenshion.vcxproj">
|
||||
<ProjectReference Include="..\..\..\audio\proj.win32\libcocosdenshion.vcxproj">
|
||||
<Project>{f8edd7fa-9a51-4e80-baeb-860825d2eac6}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\ui\proj.win32\libGUI.vcxproj">
|
||||
<ProjectReference Include="..\..\..\ui\proj.win32\libui.vcxproj">
|
||||
<Project>{7e06e92c-537a-442b-9e4a-4761c84f8a1a}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{B57CF53F-2E49-4031-9822-047CC0E6BDE2}</ProjectGuid>
|
||||
<RootNamespace>libCocosStudio</RootNamespace>
|
||||
<RootNamespace>libcocostudio</RootNamespace>
|
||||
<ProjectName>libcocostudio</ProjectName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
|
@ -210,7 +211,7 @@
|
|||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalDependencies>libcocos2d.lib;libExtensions.lib;libGUI.lib;libBox2d.lib;libchipmunk.lib;libzlib.lib;libAudio.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>libzlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
|
@ -221,7 +222,7 @@
|
|||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;CC_CONSTRUCTOR_ACCESS=public;_USRSTUDIODLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_USRSTUDIODLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(EngineRoot);$(EngineRoot)cocos;$(EngineRoot)cocos\audio\include;$(EngineRoot)cocos\editor-support;$(EngineRoot)external;$(EngineRoot)external\tinyxml2;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;$(EngineRoot)external\win32-specific\zlib\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
|
@ -230,7 +231,7 @@
|
|||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>libcocos2d.lib;libExtensions.lib;libGUI.lib;libBox2d.lib;libchipmunk.lib;libzlib.lib;libAudio.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>libzlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
|
@ -65,9 +65,14 @@
|
|||
<ClCompile Include="..\SlotData.cpp" />
|
||||
<ClCompile Include="..\spine-cocos2dx.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{B7C2A162-DEC9-4418-972E-240AB3CBFCAE}</ProjectGuid>
|
||||
<RootNamespace>libSpine</RootNamespace>
|
||||
<RootNamespace>libspine</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
|
@ -135,7 +140,7 @@
|
|||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_LIB;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;CC_CONSTRUCTOR_ACCESS=public;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_LIB;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(EngineRoot);$(EngineRoot)cocos\audio\include;$(EngineRoot)cocos\editor-support;$(EngineRoot)extensions;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
|
|
|
@ -23,14 +23,14 @@
|
|||
<ClCompile Include="..\WebSocket.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\..\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectName>libNetwork</ProjectName>
|
||||
<ProjectName>libnetwork</ProjectName>
|
||||
<ProjectGuid>{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}</ProjectGuid>
|
||||
<RootNamespace>network.win32</RootNamespace>
|
||||
<RootNamespace>libnetwork.win32</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
@ -3,6 +3,14 @@
|
|||
-- @module Helper
|
||||
-- @parent_module ccui
|
||||
|
||||
--------------------------------
|
||||
-- @function [parent=#Helper] getSubStringOfUTF8String
|
||||
-- @param self
|
||||
-- @param #string str
|
||||
-- @param #unsigned long long
|
||||
-- @param #unsigned long long
|
||||
-- @return string#string ret (return value: string)
|
||||
|
||||
--------------------------------
|
||||
-- @function [parent=#Helper] seekWidgetByTag
|
||||
-- @param self
|
||||
|
|
|
@ -15722,6 +15722,43 @@ int lua_register_cocos2dx_ui_PageView(lua_State* tolua_S)
|
|||
return 1;
|
||||
}
|
||||
|
||||
int lua_cocos2dx_ui_Helper_getSubStringOfUTF8String(lua_State* tolua_S)
|
||||
{
|
||||
int argc = 0;
|
||||
bool ok = true;
|
||||
|
||||
#if COCOS2D_DEBUG >= 1
|
||||
tolua_Error tolua_err;
|
||||
#endif
|
||||
|
||||
#if COCOS2D_DEBUG >= 1
|
||||
if (!tolua_isusertable(tolua_S,1,"ccui.Helper",0,&tolua_err)) goto tolua_lerror;
|
||||
#endif
|
||||
|
||||
argc = lua_gettop(tolua_S) - 1;
|
||||
|
||||
if (argc == 3)
|
||||
{
|
||||
std::string arg0;
|
||||
unsigned long arg1;
|
||||
unsigned long arg2;
|
||||
ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Helper:getSubStringOfUTF8String");
|
||||
ok &= luaval_to_ulong(tolua_S, 3, &arg1, "ccui.Helper:getSubStringOfUTF8String");
|
||||
ok &= luaval_to_ulong(tolua_S, 4, &arg2, "ccui.Helper:getSubStringOfUTF8String");
|
||||
if(!ok)
|
||||
return 0;
|
||||
std::string ret = cocos2d::ui::Helper::getSubStringOfUTF8String(arg0, arg1, arg2);
|
||||
tolua_pushcppstring(tolua_S,ret);
|
||||
return 1;
|
||||
}
|
||||
CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:getSubStringOfUTF8String",argc, 3);
|
||||
return 0;
|
||||
#if COCOS2D_DEBUG >= 1
|
||||
tolua_lerror:
|
||||
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_getSubStringOfUTF8String'.",&tolua_err);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
int lua_cocos2dx_ui_Helper_seekWidgetByTag(lua_State* tolua_S)
|
||||
{
|
||||
int argc = 0;
|
||||
|
@ -15839,6 +15876,7 @@ int lua_register_cocos2dx_ui_Helper(lua_State* tolua_S)
|
|||
tolua_cclass(tolua_S,"Helper","ccui.Helper","",nullptr);
|
||||
|
||||
tolua_beginmodule(tolua_S,"Helper");
|
||||
tolua_function(tolua_S,"getSubStringOfUTF8String", lua_cocos2dx_ui_Helper_getSubStringOfUTF8String);
|
||||
tolua_function(tolua_S,"seekWidgetByTag", lua_cocos2dx_ui_Helper_seekWidgetByTag);
|
||||
tolua_function(tolua_S,"seekActionWidgetByActionTag", lua_cocos2dx_ui_Helper_seekActionWidgetByActionTag);
|
||||
tolua_function(tolua_S,"seekWidgetByName", lua_cocos2dx_ui_Helper_seekWidgetByName);
|
||||
|
|
|
@ -397,6 +397,7 @@ int register_all_cocos2dx_ui(lua_State* tolua_S);
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // __cocos2dx_ui_h__
|
||||
|
|
|
@ -47,6 +47,7 @@ cocos2d::log(__VA_ARGS__); \
|
|||
|
||||
extern bool luaval_is_usertype(lua_State* L,int lo,const char* type, int def);
|
||||
// to native
|
||||
extern bool luaval_to_ulong(lua_State* L,int lo, unsigned long* outValue, const char* funcName="");
|
||||
extern bool luaval_to_ushort(lua_State* L, int lo, unsigned short* outValue, const char* funcName = "");
|
||||
extern bool luaval_to_int32(lua_State* L,int lo,int* outValue, const char* funcName = "");
|
||||
extern bool luaval_to_uint32(lua_State* L, int lo, unsigned int* outValue, const char* funcName = "");
|
||||
|
|
|
@ -134,6 +134,11 @@
|
|||
<None Include="..\script\OpenglConstants.lua" />
|
||||
<None Include="..\script\StudioConstants.lua" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{DDC3E27F-004D-4DD4-9DD3-931A013D2159}</ProjectGuid>
|
||||
<RootNamespace>liblua</RootNamespace>
|
||||
|
|
|
@ -1,103 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\LocalStorage.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\LocalStorage.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{632A8F38-D0F0-4D22-86B3-D69F5E6BF63A}</ProjectGuid>
|
||||
<RootNamespace>libLocalStorage</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '10.0'">v100</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0'">v110</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v110_xp</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '10.0'">v100</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0'">v110</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v110_xp</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\..\2d\cocos2d_headers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\..\..\2d\cocos2d_headers.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<OutDir>$(SolutionDir)$(Configuration).win32\</OutDir>
|
||||
<IntDir>$(Configuration).win32\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<OutDir>$(SolutionDir)$(Configuration).win32\</OutDir>
|
||||
<IntDir>$(Configuration).win32\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<AdditionalIncludeDirectories>$(EngineRoot)external\sqlite3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_LIB;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<AdditionalIncludeDirectories>$(EngineRoot)external\sqlite3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_LIB;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{0310200c-b520-4f77-85f6-46f568b10f4d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{69cfa37c-4b20-409e-ad74-a26314878d8a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\LocalStorage.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\LocalStorage.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -25,12 +25,12 @@ UILoadingBar.cpp \
|
|||
UISlider.cpp \
|
||||
UITextField.cpp \
|
||||
UIRichText.cpp \
|
||||
CCProtectedNode.cpp \
|
||||
UIHBox.cpp \
|
||||
UIVBox.cpp \
|
||||
UIRelativeBox.cpp \
|
||||
UIVideoPlayerAndroid.cpp \
|
||||
UIDeprecated.cpp \
|
||||
UIScale9Sprite.cpp \
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/.. \
|
||||
$(LOCAL_PATH)/../editor-support
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
set(COCOS_UI_SRC
|
||||
ui/CCProtectedNode.cpp
|
||||
ui/CocosGUI.cpp
|
||||
ui/UIButton.cpp
|
||||
ui/UICheckBox.cpp
|
||||
|
@ -23,5 +22,6 @@ set(COCOS_UI_SRC
|
|||
ui/UIVBox.cpp
|
||||
ui/UIWidget.cpp
|
||||
ui/UIDeprecated.cpp
|
||||
ui/UIScale9Sprite.cpp
|
||||
)
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@ THE SOFTWARE.
|
|||
#endif
|
||||
#include "ui/UIDeprecated.h"
|
||||
#include "ui/GUIExport.h"
|
||||
#include "ui/UIScale9Sprite.h"
|
||||
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
|
|
@ -23,7 +23,7 @@ THE SOFTWARE.
|
|||
****************************************************************************/
|
||||
|
||||
#include "ui/UIButton.h"
|
||||
#include "extensions/GUI/CCControlExtension/CCScale9Sprite.h"
|
||||
#include "ui/UIScale9Sprite.h"
|
||||
#include "2d/CCLabel.h"
|
||||
#include "2d/CCSprite.h"
|
||||
#include "2d/CCActionInterval.h"
|
||||
|
@ -135,9 +135,13 @@ bool Button::init()
|
|||
|
||||
void Button::initRenderer()
|
||||
{
|
||||
_buttonNormalRenderer = Sprite::create();
|
||||
_buttonClickedRenderer = Sprite::create();
|
||||
_buttonDisableRenderer = Sprite::create();
|
||||
_buttonNormalRenderer = Scale9Sprite::create();
|
||||
_buttonClickedRenderer = Scale9Sprite::create();
|
||||
_buttonDisableRenderer = Scale9Sprite::create();
|
||||
_buttonClickedRenderer->setScale9Enabled(false);
|
||||
_buttonNormalRenderer->setScale9Enabled(false);
|
||||
_buttonDisableRenderer->setScale9Enabled(false);
|
||||
|
||||
_titleRenderer = Label::create();
|
||||
_titleRenderer->setAnchorPoint(Vec2::ANCHOR_MIDDLE);
|
||||
|
||||
|
@ -153,33 +157,13 @@ void Button::setScale9Enabled(bool able)
|
|||
{
|
||||
return;
|
||||
}
|
||||
_brightStyle = BrightStyle::NONE;
|
||||
|
||||
_scale9Enabled = able;
|
||||
removeProtectedChild(_buttonNormalRenderer);
|
||||
removeProtectedChild(_buttonClickedRenderer);
|
||||
removeProtectedChild(_buttonDisableRenderer);
|
||||
_buttonNormalRenderer = nullptr;
|
||||
_buttonClickedRenderer = nullptr;
|
||||
_buttonDisableRenderer = nullptr;
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
_buttonNormalRenderer = extension::Scale9Sprite::create();
|
||||
_buttonClickedRenderer = extension::Scale9Sprite::create();
|
||||
_buttonDisableRenderer = extension::Scale9Sprite::create();
|
||||
}
|
||||
else
|
||||
{
|
||||
_buttonNormalRenderer = Sprite::create();
|
||||
_buttonClickedRenderer = Sprite::create();
|
||||
_buttonDisableRenderer = Sprite::create();
|
||||
}
|
||||
|
||||
loadTextureNormal(_normalFileName, _normalTexType);
|
||||
loadTexturePressed(_clickedFileName, _pressedTexType);
|
||||
loadTextureDisabled(_disabledFileName, _disabledTexType);
|
||||
addProtectedChild(_buttonNormalRenderer, NORMAL_RENDERER_Z, -1);
|
||||
addProtectedChild(_buttonClickedRenderer, PRESSED_RENDERER_Z, -1);
|
||||
addProtectedChild(_buttonDisableRenderer, DISABLED_RENDERER_Z, -1);
|
||||
|
||||
_buttonNormalRenderer->setScale9Enabled(_scale9Enabled);
|
||||
_buttonClickedRenderer->setScale9Enabled(_scale9Enabled);
|
||||
_buttonDisableRenderer->setScale9Enabled(_scale9Enabled);
|
||||
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
bool ignoreBefore = _ignoreSize;
|
||||
|
@ -190,9 +174,12 @@ void Button::setScale9Enabled(bool able)
|
|||
{
|
||||
ignoreContentAdaptWithSize(_prevIgnoreSize);
|
||||
}
|
||||
|
||||
setCapInsetsNormalRenderer(_capInsetsNormal);
|
||||
setCapInsetsPressedRenderer(_capInsetsPressed);
|
||||
setCapInsetsDisabledRenderer(_capInsetsDisabled);
|
||||
|
||||
_brightStyle = BrightStyle::NONE;
|
||||
setBright(_bright);
|
||||
}
|
||||
|
||||
|
@ -228,37 +215,19 @@ void Button::loadTextureNormal(const std::string& normal,TextureResType texType)
|
|||
}
|
||||
_normalFileName = normal;
|
||||
_normalTexType = texType;
|
||||
if (_scale9Enabled)
|
||||
|
||||
switch (_normalTexType)
|
||||
{
|
||||
extension::Scale9Sprite* normalRendererScale9 = static_cast<extension::Scale9Sprite*>(_buttonNormalRenderer);
|
||||
switch (_normalTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
normalRendererScale9->initWithFile(normal);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
normalRendererScale9->initWithSpriteFrameName(normal);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
normalRendererScale9->setCapInsets(_capInsetsNormal);
|
||||
}
|
||||
else
|
||||
{
|
||||
Sprite* normalRenderer = static_cast<Sprite*>(_buttonNormalRenderer);
|
||||
switch (_normalTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
normalRenderer->setTexture(normal);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
normalRenderer->setSpriteFrame(normal);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
case TextureResType::LOCAL:
|
||||
_buttonNormalRenderer->initWithFile(normal);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
_buttonNormalRenderer->initWithSpriteFrameName(normal);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
_normalTextureSize = _buttonNormalRenderer->getContentSize();
|
||||
updateFlippedX();
|
||||
updateFlippedY();
|
||||
|
@ -276,38 +245,21 @@ void Button::loadTexturePressed(const std::string& selected,TextureResType texTy
|
|||
}
|
||||
_clickedFileName = selected;
|
||||
_pressedTexType = texType;
|
||||
if (_scale9Enabled)
|
||||
|
||||
switch (_pressedTexType)
|
||||
{
|
||||
extension::Scale9Sprite* clickedRendererScale9 = static_cast<extension::Scale9Sprite*>(_buttonClickedRenderer);
|
||||
switch (_pressedTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
clickedRendererScale9->initWithFile(selected);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
clickedRendererScale9->initWithSpriteFrameName(selected);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
clickedRendererScale9->setCapInsets(_capInsetsPressed);
|
||||
}
|
||||
else
|
||||
{
|
||||
Sprite* clickedRenderer = static_cast<Sprite*>(_buttonClickedRenderer);
|
||||
switch (_pressedTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
clickedRenderer->setTexture(selected);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
clickedRenderer->setSpriteFrame(selected);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
case TextureResType::LOCAL:
|
||||
_buttonClickedRenderer->initWithFile(selected);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
_buttonClickedRenderer->initWithSpriteFrameName(selected);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
_pressedTextureSize = _buttonClickedRenderer->getContentSize();
|
||||
//TODO: mark as dirty
|
||||
updateFlippedX();
|
||||
updateFlippedY();
|
||||
|
||||
|
@ -323,37 +275,19 @@ void Button::loadTextureDisabled(const std::string& disabled,TextureResType texT
|
|||
}
|
||||
_disabledFileName = disabled;
|
||||
_disabledTexType = texType;
|
||||
if (_scale9Enabled)
|
||||
|
||||
switch (_disabledTexType)
|
||||
{
|
||||
extension::Scale9Sprite* disabledScale9 = static_cast<extension::Scale9Sprite*>(_buttonDisableRenderer);
|
||||
switch (_disabledTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
disabledScale9->initWithFile(disabled);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
disabledScale9->initWithSpriteFrameName(disabled);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
disabledScale9->setCapInsets(_capInsetsDisabled);
|
||||
}
|
||||
else
|
||||
{
|
||||
Sprite* disabledRenderer = static_cast<Sprite*>(_buttonDisableRenderer);
|
||||
switch (_disabledTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
disabledRenderer->setTexture(disabled);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
disabledRenderer->setSpriteFrame(disabled);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
case TextureResType::LOCAL:
|
||||
_buttonDisableRenderer->initWithFile(disabled);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
_buttonDisableRenderer->initWithSpriteFrameName(disabled);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
_disabledTextureSize = _buttonDisableRenderer->getContentSize();
|
||||
updateFlippedX();
|
||||
updateFlippedY();
|
||||
|
@ -376,7 +310,7 @@ void Button::setCapInsetsNormalRenderer(const Rect &capInsets)
|
|||
{
|
||||
return;
|
||||
}
|
||||
static_cast<extension::Scale9Sprite*>(_buttonNormalRenderer)->setCapInsets(capInsets);
|
||||
_buttonNormalRenderer->setCapInsets(capInsets);
|
||||
}
|
||||
|
||||
const Rect& Button::getCapInsetsNormalRenderer()const
|
||||
|
@ -391,7 +325,7 @@ void Button::setCapInsetsPressedRenderer(const Rect &capInsets)
|
|||
{
|
||||
return;
|
||||
}
|
||||
static_cast<extension::Scale9Sprite*>(_buttonClickedRenderer)->setCapInsets(capInsets);
|
||||
_buttonClickedRenderer->setCapInsets(capInsets);
|
||||
}
|
||||
|
||||
const Rect& Button::getCapInsetsPressedRenderer()const
|
||||
|
@ -406,7 +340,7 @@ void Button::setCapInsetsDisabledRenderer(const Rect &capInsets)
|
|||
{
|
||||
return;
|
||||
}
|
||||
static_cast<extension::Scale9Sprite*>(_buttonDisableRenderer)->setCapInsets(capInsets);
|
||||
_buttonDisableRenderer->setCapInsets(capInsets);
|
||||
}
|
||||
|
||||
const Rect& Button::getCapInsetsDisabledRenderer()const
|
||||
|
@ -432,28 +366,10 @@ void Button::onPressStateChangedToNormal()
|
|||
}
|
||||
else
|
||||
{
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
updateTexturesRGBA();
|
||||
}
|
||||
else
|
||||
{
|
||||
_buttonNormalRenderer->stopAllActions();
|
||||
_buttonNormalRenderer->setScale(_normalTextureScaleXInSize, _normalTextureScaleYInSize);
|
||||
}
|
||||
_buttonNormalRenderer->stopAllActions();
|
||||
_buttonNormalRenderer->setScale(_normalTextureScaleXInSize, _normalTextureScaleYInSize);
|
||||
}
|
||||
}
|
||||
|
||||
void Button::updateTexturesRGBA()
|
||||
{
|
||||
_buttonNormalRenderer->setColor(this->getColor());
|
||||
_buttonClickedRenderer->setColor(this->getColor());
|
||||
_buttonDisableRenderer->setColor(this->getColor());
|
||||
|
||||
_buttonNormalRenderer->setOpacity(this->getOpacity());
|
||||
_buttonClickedRenderer->setOpacity(this->getOpacity());
|
||||
_buttonDisableRenderer->setOpacity(this->getOpacity());
|
||||
}
|
||||
|
||||
void Button::onPressStateChangedToPressed()
|
||||
{
|
||||
|
@ -462,6 +378,7 @@ void Button::onPressStateChangedToPressed()
|
|||
_buttonNormalRenderer->setVisible(false);
|
||||
_buttonClickedRenderer->setVisible(true);
|
||||
_buttonDisableRenderer->setVisible(false);
|
||||
|
||||
if (_pressedActionEnabled)
|
||||
{
|
||||
_buttonNormalRenderer->stopAllActions();
|
||||
|
@ -501,36 +418,19 @@ void Button::updateFlippedX()
|
|||
{
|
||||
float flip = _flippedX ? -1.0f : 1.0f;
|
||||
_titleRenderer->setScaleX(flip);
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
_buttonNormalRenderer->setScaleX(flip);
|
||||
_buttonClickedRenderer->setScaleX(flip);
|
||||
_buttonDisableRenderer->setScaleX(flip);
|
||||
}
|
||||
else
|
||||
{
|
||||
static_cast<Sprite*>(_buttonNormalRenderer)->setFlippedX(_flippedX);
|
||||
static_cast<Sprite*>(_buttonClickedRenderer)->setFlippedX(_flippedX);
|
||||
static_cast<Sprite*>(_buttonDisableRenderer)->setFlippedX(_flippedX);
|
||||
}
|
||||
|
||||
_buttonNormalRenderer->setFlippedX(_flippedX);
|
||||
_buttonClickedRenderer->setFlippedX(_flippedX);
|
||||
_buttonDisableRenderer->setFlippedX(_flippedX);
|
||||
}
|
||||
|
||||
void Button::updateFlippedY()
|
||||
{
|
||||
float flip = _flippedY ? -1.0f : 1.0f;
|
||||
_titleRenderer->setScaleY(flip);
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
_buttonNormalRenderer->setScaleY(flip);
|
||||
_buttonClickedRenderer->setScaleY(flip);
|
||||
_buttonDisableRenderer->setScaleY(flip);
|
||||
}
|
||||
else
|
||||
{
|
||||
static_cast<Sprite*>(_buttonNormalRenderer)->setFlippedY(_flippedY);
|
||||
static_cast<Sprite*>(_buttonClickedRenderer)->setFlippedY(_flippedY);
|
||||
static_cast<Sprite*>(_buttonDisableRenderer)->setFlippedY(_flippedY);
|
||||
}
|
||||
_buttonNormalRenderer->setFlippedY(_flippedY);
|
||||
_buttonClickedRenderer->setFlippedY(_flippedY);
|
||||
_buttonDisableRenderer->setFlippedY(_flippedY);
|
||||
}
|
||||
|
||||
void Button::updateTitleLocation()
|
||||
|
@ -605,8 +505,9 @@ void Button::normalTextureScaleChangedWithSize()
|
|||
{
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_buttonNormalRenderer)->setPreferredSize(_contentSize);
|
||||
_buttonNormalRenderer->setPreferredSize(_contentSize);
|
||||
_normalTextureScaleXInSize = _normalTextureScaleYInSize = 1.0f;
|
||||
_buttonNormalRenderer->setScale(_normalTextureScaleXInSize,_normalTextureScaleYInSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -641,8 +542,9 @@ void Button::pressedTextureScaleChangedWithSize()
|
|||
{
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_buttonClickedRenderer)->setPreferredSize(_contentSize);
|
||||
_buttonClickedRenderer->setPreferredSize(_contentSize);
|
||||
_pressedTextureScaleXInSize = _pressedTextureScaleYInSize = 1.0f;
|
||||
_buttonClickedRenderer->setScale(_pressedTextureScaleXInSize,_pressedTextureScaleYInSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -676,7 +578,8 @@ void Button::disabledTextureScaleChangedWithSize()
|
|||
{
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_buttonDisableRenderer)->setPreferredSize(_contentSize);
|
||||
_buttonDisableRenderer->setScale(1.0);
|
||||
_buttonDisableRenderer->setPreferredSize(_contentSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -33,7 +33,8 @@ NS_CC_BEGIN
|
|||
class Label;
|
||||
|
||||
namespace ui{
|
||||
|
||||
|
||||
class Scale9Sprite;
|
||||
/**
|
||||
* @js NA
|
||||
* @lua NA
|
||||
|
@ -205,9 +206,7 @@ protected:
|
|||
|
||||
virtual void updateFlippedX() override;
|
||||
virtual void updateFlippedY() override;
|
||||
|
||||
void updateTexturesRGBA();
|
||||
|
||||
|
||||
void normalTextureScaleChangedWithSize();
|
||||
void pressedTextureScaleChangedWithSize();
|
||||
void disabledTextureScaleChangedWithSize();
|
||||
|
@ -219,10 +218,11 @@ protected:
|
|||
virtual void copySpecialProperties(Widget* model) override;
|
||||
|
||||
protected:
|
||||
Node* _buttonNormalRenderer;
|
||||
Node* _buttonClickedRenderer;
|
||||
Node* _buttonDisableRenderer;
|
||||
Scale9Sprite* _buttonNormalRenderer;
|
||||
Scale9Sprite* _buttonClickedRenderer;
|
||||
Scale9Sprite* _buttonDisableRenderer;
|
||||
Label* _titleRenderer;
|
||||
|
||||
std::string _normalFileName;
|
||||
std::string _clickedFileName;
|
||||
std::string _disabledFileName;
|
||||
|
|
|
@ -108,6 +108,43 @@ Widget* Helper::seekActionWidgetByActionTag(Widget* root, int tag)
|
|||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::string Helper::getSubStringOfUTF8String(const std::string& str, std::string::size_type start, std::string::size_type length)
|
||||
{
|
||||
if (length==0)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
std::string::size_type c, i, ix, q, min=std::string::npos, max=std::string::npos;
|
||||
for (q=0, i=0, ix=str.length(); i < ix; i++, q++)
|
||||
{
|
||||
if (q==start)
|
||||
{
|
||||
min = i;
|
||||
}
|
||||
if (q <= start+length || length==std::string::npos)
|
||||
{
|
||||
max = i;
|
||||
}
|
||||
|
||||
c = (unsigned char) str[i];
|
||||
|
||||
if (c<=127) i+=0;
|
||||
else if ((c & 0xE0) == 0xC0) i+=1;
|
||||
else if ((c & 0xF0) == 0xE0) i+=2;
|
||||
else if ((c & 0xF8) == 0xF0) i+=3;
|
||||
else return "";//invalid utf8
|
||||
}
|
||||
if (q <= start+length || length == std::string::npos)
|
||||
{
|
||||
max = i;
|
||||
}
|
||||
if (min==std::string::npos || max==std::string::npos)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
return str.substr(min,max);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -66,6 +66,18 @@ public:
|
|||
|
||||
/*temp action*/
|
||||
static Widget* seekActionWidgetByActionTag(Widget* root, int tag);
|
||||
|
||||
/**
|
||||
* @brief Get a UTF8 substring from a std::string with a given start position and length
|
||||
* Sample: std::string str = "中国中国中国”; substr = getSubStringOfUTF8String(str,0,2) will = "中国"
|
||||
* @param start The start position of the substring.
|
||||
* @param length The length of the substring in UTF8 count
|
||||
* @return a UTF8 substring
|
||||
*/
|
||||
static std::string getSubStringOfUTF8String(const std::string& str,
|
||||
std::string::size_type start,
|
||||
std::string::size_type length);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -23,16 +23,12 @@ THE SOFTWARE.
|
|||
****************************************************************************/
|
||||
|
||||
#include "ui/UIImageView.h"
|
||||
#include "extensions/GUI/CCControlExtension/CCScale9Sprite.h"
|
||||
#include "ui/UIScale9Sprite.h"
|
||||
#include "2d/CCSprite.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
namespace ui {
|
||||
|
||||
|
||||
#define STATIC_CAST_CCSPRITE static_cast<Sprite*>(_imageRenderer)
|
||||
#define STATIC_CAST_SCALE9SPRITE static_cast<extension::Scale9Sprite*>(_imageRenderer)
|
||||
|
||||
static const int IMAGE_RENDERER_Z = (-1);
|
||||
|
||||
|
@ -108,7 +104,9 @@ bool ImageView::init(const std::string &imageFileName, TextureResType texType)
|
|||
|
||||
void ImageView::initRenderer()
|
||||
{
|
||||
_imageRenderer = Sprite::create();
|
||||
_imageRenderer = Scale9Sprite::create();
|
||||
_imageRenderer->setScale9Enabled(false);
|
||||
|
||||
addProtectedChild(_imageRenderer, IMAGE_RENDERER_Z, -1);
|
||||
}
|
||||
|
||||
|
@ -123,34 +121,15 @@ void ImageView::loadTexture(const std::string& fileName, TextureResType texType)
|
|||
switch (_imageTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
extension::Scale9Sprite* imageRendererScale9 = STATIC_CAST_SCALE9SPRITE;
|
||||
imageRendererScale9->initWithFile(fileName);
|
||||
imageRendererScale9->setCapInsets(_capInsets);
|
||||
}
|
||||
else
|
||||
{
|
||||
Sprite* imageRenderer = STATIC_CAST_CCSPRITE;
|
||||
imageRenderer->setTexture(fileName);
|
||||
}
|
||||
_imageRenderer->initWithFile(fileName);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
extension::Scale9Sprite* imageRendererScale9 = STATIC_CAST_SCALE9SPRITE;
|
||||
imageRendererScale9->initWithSpriteFrameName(fileName);
|
||||
imageRendererScale9->setCapInsets(_capInsets);
|
||||
}
|
||||
else
|
||||
{
|
||||
Sprite* imageRenderer = STATIC_CAST_CCSPRITE;
|
||||
imageRenderer->setSpriteFrame(fileName);
|
||||
}
|
||||
_imageRenderer->initWithSpriteFrameName(fileName);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
_imageTextureSize = _imageRenderer->getContentSize();
|
||||
updateFlippedX();
|
||||
updateFlippedY();
|
||||
|
@ -161,39 +140,32 @@ void ImageView::loadTexture(const std::string& fileName, TextureResType texType)
|
|||
|
||||
void ImageView::setTextureRect(const Rect &rect)
|
||||
{
|
||||
//This API should be refactor
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
STATIC_CAST_CCSPRITE->setTextureRect(rect);
|
||||
auto sprite = _imageRenderer->getSprite();
|
||||
if (sprite)
|
||||
{
|
||||
sprite->setTextureRect(rect);
|
||||
}
|
||||
else
|
||||
{
|
||||
CCLOG("Warning!! you should load texture before set the texture's rect!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ImageView::updateFlippedX()
|
||||
{
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
int flip = _flippedX ? -1 : 1;
|
||||
STATIC_CAST_SCALE9SPRITE->setScaleX(flip);
|
||||
}
|
||||
else
|
||||
{
|
||||
STATIC_CAST_CCSPRITE->setFlippedX(_flippedX);
|
||||
}
|
||||
_imageRenderer->setFlippedX(_flippedX);
|
||||
}
|
||||
|
||||
void ImageView::updateFlippedY()
|
||||
{
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
int flip = _flippedY ? -1 : 1;
|
||||
STATIC_CAST_SCALE9SPRITE->setScaleY(flip);
|
||||
}
|
||||
else
|
||||
{
|
||||
STATIC_CAST_CCSPRITE->setFlippedY(_flippedY);
|
||||
}
|
||||
_imageRenderer->setFlippedY(_flippedY);
|
||||
|
||||
}
|
||||
|
||||
|
@ -206,18 +178,8 @@ void ImageView::setScale9Enabled(bool able)
|
|||
|
||||
|
||||
_scale9Enabled = able;
|
||||
removeProtectedChild(_imageRenderer);
|
||||
_imageRenderer = nullptr;
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
_imageRenderer = extension::Scale9Sprite::create();
|
||||
}
|
||||
else
|
||||
{
|
||||
_imageRenderer = Sprite::create();
|
||||
}
|
||||
loadTexture(_textureFile,_imageTexType);
|
||||
addProtectedChild(_imageRenderer, IMAGE_RENDERER_Z, -1);
|
||||
_imageRenderer->setScale9Enabled(_scale9Enabled);
|
||||
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
bool ignoreBefore = _ignoreSize;
|
||||
|
@ -252,7 +214,7 @@ void ImageView::setCapInsets(const Rect &capInsets)
|
|||
{
|
||||
return;
|
||||
}
|
||||
STATIC_CAST_SCALE9SPRITE->setCapInsets(capInsets);
|
||||
_imageRenderer->setCapInsets(capInsets);
|
||||
}
|
||||
|
||||
const Rect& ImageView::getCapInsets()const
|
||||
|
@ -298,7 +260,7 @@ void ImageView::imageTextureScaleChangedWithSize()
|
|||
{
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_imageRenderer)->setPreferredSize(_contentSize);
|
||||
_imageRenderer->setPreferredSize(_contentSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@ THE SOFTWARE.
|
|||
NS_CC_BEGIN
|
||||
|
||||
namespace ui {
|
||||
|
||||
class Scale9Sprite;
|
||||
/**
|
||||
* @js NA
|
||||
* @lua NA
|
||||
|
@ -132,7 +132,7 @@ protected:
|
|||
bool _scale9Enabled;
|
||||
bool _prevIgnoreSize;
|
||||
Rect _capInsets;
|
||||
Node* _imageRenderer;
|
||||
Scale9Sprite* _imageRenderer;
|
||||
std::string _textureFile;
|
||||
TextureResType _imageTexType;
|
||||
Size _imageTextureSize;
|
||||
|
|
|
@ -24,7 +24,7 @@ THE SOFTWARE.
|
|||
|
||||
#include "ui/UILayout.h"
|
||||
#include "ui/UIHelper.h"
|
||||
#include "extensions/GUI/CCControlExtension/CCScale9Sprite.h"
|
||||
#include "ui/UIScale9Sprite.h"
|
||||
#include "renderer/CCGLProgram.h"
|
||||
#include "renderer/CCGLProgramCache.h"
|
||||
#include "base/CCDirector.h"
|
||||
|
@ -577,7 +577,7 @@ void Layout::onSizeChanged()
|
|||
_backGroundImage->setPosition(Vec2(_contentSize.width/2.0f, _contentSize.height/2.0f));
|
||||
if (_backGroundScale9Enabled && _backGroundImage)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_backGroundImage)->setPreferredSize(_contentSize);
|
||||
_backGroundImage->setPreferredSize(_contentSize);
|
||||
}
|
||||
}
|
||||
if (_colorRender)
|
||||
|
@ -596,11 +596,13 @@ void Layout::setBackGroundImageScale9Enabled(bool able)
|
|||
{
|
||||
return;
|
||||
}
|
||||
removeProtectedChild(_backGroundImage);
|
||||
_backGroundImage = nullptr;
|
||||
_backGroundScale9Enabled = able;
|
||||
addBackGroundImage();
|
||||
setBackGroundImage(_backGroundImageFileName,_bgImageTexType);
|
||||
if (nullptr == _backGroundImage)
|
||||
{
|
||||
addBackGroundImage();
|
||||
setBackGroundImage(_backGroundImageFileName,_bgImageTexType);
|
||||
}
|
||||
_backGroundImage->setScale9Enabled(_backGroundScale9Enabled);
|
||||
setBackGroundImageCapInsets(_backGroundImageCapInsets);
|
||||
}
|
||||
|
||||
|
@ -621,36 +623,22 @@ void Layout::setBackGroundImage(const std::string& fileName,TextureResType texTy
|
|||
}
|
||||
_backGroundImageFileName = fileName;
|
||||
_bgImageTexType = texType;
|
||||
if (_backGroundScale9Enabled)
|
||||
|
||||
switch (_bgImageTexType)
|
||||
{
|
||||
extension::Scale9Sprite* bgiScale9 = static_cast<extension::Scale9Sprite*>(_backGroundImage);
|
||||
switch (_bgImageTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
bgiScale9->initWithFile(fileName);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
bgiScale9->initWithSpriteFrameName(fileName);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
bgiScale9->setPreferredSize(_contentSize);
|
||||
case TextureResType::LOCAL:
|
||||
_backGroundImage->initWithFile(fileName);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
_backGroundImage->initWithSpriteFrameName(fileName);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (_bgImageTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
static_cast<Sprite*>(_backGroundImage)->setTexture(fileName);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
static_cast<Sprite*>(_backGroundImage)->setSpriteFrame(fileName);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (_backGroundScale9Enabled) {
|
||||
_backGroundImage->setPreferredSize(_contentSize);
|
||||
}
|
||||
|
||||
_backGroundImageTextureSize = _backGroundImage->getContentSize();
|
||||
_backGroundImage->setPosition(Vec2(_contentSize.width/2.0f, _contentSize.height/2.0f));
|
||||
updateBackGroundImageRGBA();
|
||||
|
@ -661,7 +649,7 @@ void Layout::setBackGroundImageCapInsets(const Rect &capInsets)
|
|||
_backGroundImageCapInsets = capInsets;
|
||||
if (_backGroundScale9Enabled && _backGroundImage)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_backGroundImage)->setCapInsets(capInsets);
|
||||
_backGroundImage->setCapInsets(capInsets);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -706,17 +694,11 @@ void Layout::supplyTheLayoutParameterLackToChild(Widget *child)
|
|||
|
||||
void Layout::addBackGroundImage()
|
||||
{
|
||||
if (_backGroundScale9Enabled)
|
||||
{
|
||||
_backGroundImage = extension::Scale9Sprite::create();
|
||||
addProtectedChild(_backGroundImage, BACKGROUNDIMAGE_Z, -1);
|
||||
static_cast<extension::Scale9Sprite*>(_backGroundImage)->setPreferredSize(_contentSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
_backGroundImage = Sprite::create();
|
||||
addProtectedChild(_backGroundImage, BACKGROUNDIMAGE_Z, -1);
|
||||
}
|
||||
_backGroundImage = Scale9Sprite::create();
|
||||
_backGroundImage->setScale9Enabled(false);
|
||||
|
||||
addProtectedChild(_backGroundImage, BACKGROUNDIMAGE_Z, -1);
|
||||
|
||||
_backGroundImage->setPosition(Vec2(_contentSize.width/2.0f, _contentSize.height/2.0f));
|
||||
}
|
||||
|
||||
|
|
|
@ -36,10 +36,11 @@ class DrawNode;
|
|||
class LayerColor;
|
||||
class LayerGradient;
|
||||
|
||||
|
||||
namespace ui {
|
||||
|
||||
class LayoutManager;
|
||||
|
||||
class Scale9Sprite;
|
||||
|
||||
class CC_GUI_DLL LayoutProtocol
|
||||
{
|
||||
|
@ -466,7 +467,7 @@ protected:
|
|||
|
||||
//background
|
||||
bool _backGroundScale9Enabled;
|
||||
Node* _backGroundImage;
|
||||
Scale9Sprite* _backGroundImage;
|
||||
std::string _backGroundImageFileName;
|
||||
Rect _backGroundImageCapInsets;
|
||||
BackGroundColorType _colorType;
|
||||
|
|
|
@ -24,7 +24,6 @@ THE SOFTWARE.
|
|||
|
||||
#include "ui/UIListView.h"
|
||||
#include "ui/UIHelper.h"
|
||||
#include "extensions/GUI/CCControlExtension/CCScale9Sprite.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ THE SOFTWARE.
|
|||
****************************************************************************/
|
||||
|
||||
#include "ui/UILoadingBar.h"
|
||||
#include "extensions/GUI/CCControlExtension/CCScale9Sprite.h"
|
||||
#include "ui/UIScale9Sprite.h"
|
||||
#include "2d/CCSprite.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
@ -81,7 +81,8 @@ LoadingBar* LoadingBar::create(const std::string &textureName, float percentage)
|
|||
|
||||
void LoadingBar::initRenderer()
|
||||
{
|
||||
_barRenderer = Sprite::create();
|
||||
_barRenderer = Scale9Sprite::create();
|
||||
_barRenderer->setScale9Enabled(false);
|
||||
addProtectedChild(_barRenderer, BAR_RENDERER_Z, -1);
|
||||
_barRenderer->setAnchorPoint(Vec2(0.0,0.5));
|
||||
}
|
||||
|
@ -100,17 +101,15 @@ void LoadingBar::setDirection(cocos2d::ui::LoadingBar::Direction direction)
|
|||
case Direction::LEFT:
|
||||
_barRenderer->setAnchorPoint(Vec2(0.0f,0.5f));
|
||||
_barRenderer->setPosition(Vec2(-_totalLength*0.5f,0.0f));
|
||||
if (!_scale9Enabled)
|
||||
{
|
||||
static_cast<Sprite*>(_barRenderer)->setFlippedX(false);
|
||||
if (!_scale9Enabled) {
|
||||
_barRenderer->setFlippedX(false);
|
||||
}
|
||||
break;
|
||||
case Direction::RIGHT:
|
||||
_barRenderer->setAnchorPoint(Vec2(1.0f,0.5f));
|
||||
_barRenderer->setPosition(Vec2(_totalLength*0.5f,0.0f));
|
||||
if (!_scale9Enabled)
|
||||
{
|
||||
static_cast<Sprite*>(_barRenderer)->setFlippedX(true);
|
||||
if (!_scale9Enabled) {
|
||||
_barRenderer->setFlippedX(true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -134,28 +133,10 @@ void LoadingBar::loadTexture(const std::string& texture,TextureResType texType)
|
|||
switch (_renderBarTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
extension::Scale9Sprite* barRendererScale9 = static_cast<extension::Scale9Sprite*>(_barRenderer);
|
||||
barRendererScale9->initWithFile(texture);
|
||||
barRendererScale9->setCapInsets(_capInsets);
|
||||
}
|
||||
else
|
||||
{
|
||||
static_cast<Sprite*>(_barRenderer)->setTexture(texture);
|
||||
}
|
||||
_barRenderer->initWithFile(texture);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
extension::Scale9Sprite* barRendererScale9 = static_cast<extension::Scale9Sprite*>(_barRenderer);
|
||||
barRendererScale9->initWithSpriteFrameName(texture);
|
||||
barRendererScale9->setCapInsets(_capInsets);
|
||||
}
|
||||
else
|
||||
{
|
||||
static_cast<Sprite*>(_barRenderer)->setSpriteFrame(texture);
|
||||
}
|
||||
_barRenderer->initWithSpriteFrameName(texture);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -167,19 +148,19 @@ void LoadingBar::loadTexture(const std::string& texture,TextureResType texType)
|
|||
{
|
||||
case Direction::LEFT:
|
||||
_barRenderer->setAnchorPoint(Vec2(0.0f,0.5f));
|
||||
if (!_scale9Enabled)
|
||||
{
|
||||
static_cast<Sprite*>(_barRenderer)->setFlippedX(false);
|
||||
if (!_scale9Enabled) {
|
||||
_barRenderer->setFlippedX(false);
|
||||
}
|
||||
break;
|
||||
case Direction::RIGHT:
|
||||
_barRenderer->setAnchorPoint(Vec2(1.0f,0.5f));
|
||||
if (!_scale9Enabled)
|
||||
{
|
||||
static_cast<Sprite*>(_barRenderer)->setFlippedX(true);
|
||||
if (!_scale9Enabled) {
|
||||
_barRenderer->setFlippedX(true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
_barRenderer->setCapInsets(_capInsets);
|
||||
|
||||
barRendererScaleChangedWithSize();
|
||||
updateContentSizeWithTextureSize(_barRendererTextureSize);
|
||||
_barRendererAdaptDirty = true;
|
||||
|
@ -192,18 +173,8 @@ void LoadingBar::setScale9Enabled(bool enabled)
|
|||
return;
|
||||
}
|
||||
_scale9Enabled = enabled;
|
||||
removeProtectedChild(_barRenderer);
|
||||
_barRenderer = nullptr;
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
_barRenderer = extension::Scale9Sprite::create();
|
||||
}
|
||||
else
|
||||
{
|
||||
_barRenderer = Sprite::create();
|
||||
}
|
||||
loadTexture(_textureFile,_renderBarTexType);
|
||||
addProtectedChild(_barRenderer, BAR_RENDERER_Z, -1);
|
||||
_barRenderer->setScale9Enabled(_scale9Enabled);
|
||||
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
bool ignoreBefore = _ignoreSize;
|
||||
|
@ -230,7 +201,7 @@ void LoadingBar::setCapInsets(const Rect &capInsets)
|
|||
{
|
||||
return;
|
||||
}
|
||||
static_cast<extension::Scale9Sprite*>(_barRenderer)->setCapInsets(capInsets);
|
||||
_barRenderer->setCapInsets(capInsets);
|
||||
}
|
||||
|
||||
const Rect& LoadingBar::getCapInsets()const
|
||||
|
@ -257,7 +228,7 @@ void LoadingBar::setPercent(float percent)
|
|||
}
|
||||
else
|
||||
{
|
||||
Sprite* spriteRenderer = static_cast<Sprite*>(_barRenderer);
|
||||
Sprite* spriteRenderer = _barRenderer->getSprite();
|
||||
Rect rect = spriteRenderer->getTextureRect();
|
||||
rect.size.width = _barRendererTextureSize.width * res;
|
||||
spriteRenderer->setTextureRect(rect, spriteRenderer->isTextureRectRotated(), rect.size);
|
||||
|
@ -351,7 +322,7 @@ void LoadingBar::barRendererScaleChangedWithSize()
|
|||
void LoadingBar::setScale9Scale()
|
||||
{
|
||||
float width = (float)(_percent) / 100.0f * _totalLength;
|
||||
static_cast<extension::Scale9Sprite*>(_barRenderer)->setPreferredSize(Size(width, _contentSize.height));
|
||||
_barRenderer->setPreferredSize(Size(width, _contentSize.height));
|
||||
}
|
||||
|
||||
std::string LoadingBar::getDescription() const
|
||||
|
|
|
@ -31,7 +31,7 @@ THE SOFTWARE.
|
|||
NS_CC_BEGIN
|
||||
|
||||
namespace ui {
|
||||
|
||||
class Scale9Sprite;
|
||||
/**
|
||||
* @js NA
|
||||
* @lua NA
|
||||
|
@ -154,7 +154,7 @@ protected:
|
|||
Direction _direction;
|
||||
float _percent;
|
||||
float _totalLength;
|
||||
Node* _barRenderer;
|
||||
Scale9Sprite* _barRenderer;
|
||||
TextureResType _renderBarTexType;
|
||||
Size _barRendererTextureSize;
|
||||
bool _scale9Enabled;
|
||||
|
|
|
@ -27,47 +27,12 @@
|
|||
#include "2d/CCLabel.h"
|
||||
#include "2d/CCSprite.h"
|
||||
#include "base/ccUTF8.h"
|
||||
#include "ui/UIHelper.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
namespace ui {
|
||||
|
||||
static std::string utf8_substr(const std::string& str, unsigned long start, unsigned long leng)
|
||||
{
|
||||
if (leng==0)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
unsigned long c, i, ix, q, min=std::string::npos, max=std::string::npos;
|
||||
for (q=0, i=0, ix=str.length(); i < ix; i++, q++)
|
||||
{
|
||||
if (q==start)
|
||||
{
|
||||
min = i;
|
||||
}
|
||||
if (q <= start+leng || leng==std::string::npos)
|
||||
{
|
||||
max = i;
|
||||
}
|
||||
|
||||
c = (unsigned char) str[i];
|
||||
|
||||
if (c<=127) i+=0;
|
||||
else if ((c & 0xE0) == 0xC0) i+=1;
|
||||
else if ((c & 0xF0) == 0xE0) i+=2;
|
||||
else if ((c & 0xF8) == 0xF0) i+=3;
|
||||
else return "";//invalid utf8
|
||||
}
|
||||
if (q <= start+leng || leng == std::string::npos)
|
||||
{
|
||||
max = i;
|
||||
}
|
||||
if (min==std::string::npos || max==std::string::npos)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
return str.substr(min,max);
|
||||
}
|
||||
|
||||
|
||||
bool RichElement::init(int tag, const Color3B &color, GLubyte opacity)
|
||||
{
|
||||
|
@ -318,18 +283,18 @@ void RichText::handleTextRenderer(const std::string& text, const std::string& fo
|
|||
std::string curText = text;
|
||||
size_t stringLength = StringUtils::getCharacterCountInUTF8String(text);
|
||||
int leftLength = stringLength * (1.0f - overstepPercent);
|
||||
std::string leftWords = utf8_substr(curText,0,leftLength);
|
||||
std::string cutWords = utf8_substr(curText, leftLength, stringLength - leftLength);
|
||||
std::string leftWords = Helper::getSubStringOfUTF8String(curText,0,leftLength);
|
||||
std::string cutWords = Helper::getSubStringOfUTF8String(curText, leftLength, stringLength - leftLength);
|
||||
if (leftLength > 0)
|
||||
{
|
||||
Label* leftRenderer = nullptr;
|
||||
if (fileExist)
|
||||
{
|
||||
leftRenderer = Label::createWithTTF(utf8_substr(leftWords, 0, leftLength), fontName, fontSize);
|
||||
leftRenderer = Label::createWithTTF(Helper::getSubStringOfUTF8String(leftWords, 0, leftLength), fontName, fontSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
leftRenderer = Label::createWithSystemFont(utf8_substr(leftWords, 0, leftLength), fontName, fontSize);
|
||||
leftRenderer = Label::createWithSystemFont(Helper::getSubStringOfUTF8String(leftWords, 0, leftLength), fontName, fontSize);
|
||||
}
|
||||
if (leftRenderer)
|
||||
{
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,414 @@
|
|||
/****************************************************************************
|
||||
Copyright (c) 2013-2014 Chukong Technologies Inc.
|
||||
|
||||
http://www.cocos2d-x.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __cocos2d_libs__UIScale9Sprite__
|
||||
#define __cocos2d_libs__UIScale9Sprite__
|
||||
|
||||
#include "2d/CCNode.h"
|
||||
#include "2d/CCSpriteFrame.h"
|
||||
#include "2d/CCSpriteBatchNode.h"
|
||||
#include "base/CCPlatformMacros.h"
|
||||
#include "ui/GUIExport.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
namespace ui {
|
||||
|
||||
/**
|
||||
* A 9-slice sprite for cocos2d.
|
||||
*
|
||||
* 9-slice scaling allows you to specify how scaling is applied
|
||||
* to specific areas of a sprite. With 9-slice scaling (3x3 grid),
|
||||
* you can ensure that the sprite does not become distorted when
|
||||
* scaled.
|
||||
* Note: When you set _scale9Enabled to false, then you could call scale9Sprite->getSprite() to return a new Sprite pointer.
|
||||
* Then you could call any methods of Sprite class with the return pointers.
|
||||
*
|
||||
*/
|
||||
class CC_GUI_DLL Scale9Sprite : public Node
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* @js ctor
|
||||
*/
|
||||
Scale9Sprite();
|
||||
/**
|
||||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
virtual ~Scale9Sprite();
|
||||
|
||||
public:
|
||||
static Scale9Sprite* create();
|
||||
|
||||
/**
|
||||
* Creates a 9-slice sprite with a texture file, a delimitation zone and
|
||||
* with the specified cap insets.
|
||||
*
|
||||
* @see initWithFile(const char *file, const Rect& rect, const Rect& capInsets)
|
||||
*/
|
||||
static Scale9Sprite* create(const std::string& file, const Rect& rect, const Rect& capInsets);
|
||||
|
||||
/**
|
||||
* Creates a 9-slice sprite with a texture file. The whole texture will be
|
||||
* broken down into a 3×3 grid of equal blocks.
|
||||
*
|
||||
* @see initWithFile(const Rect& capInsets, const char *file)
|
||||
*/
|
||||
static Scale9Sprite* create(const Rect& capInsets, const std::string& file);
|
||||
|
||||
/**
|
||||
* Creates a 9-slice sprite with a texture file and a delimitation zone. The
|
||||
* texture will be broken down into a 3×3 grid of equal blocks.
|
||||
*
|
||||
* @see initWithFile(const char *file, const Rect& rect)
|
||||
*/
|
||||
static Scale9Sprite* create(const std::string& file, const Rect& rect);
|
||||
|
||||
/**
|
||||
* Creates a 9-slice sprite with a texture file. The whole texture will be
|
||||
* broken down into a 3×3 grid of equal blocks.
|
||||
*
|
||||
* @see initWithFile(const char *file)
|
||||
*/
|
||||
static Scale9Sprite* create(const std::string& file);
|
||||
|
||||
/**
|
||||
* Creates a 9-slice sprite with an sprite frame.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @see initWithSpriteFrame(SpriteFrame *spriteFrame)
|
||||
*/
|
||||
static Scale9Sprite* createWithSpriteFrame(SpriteFrame* spriteFrame);
|
||||
|
||||
/**
|
||||
* Creates a 9-slice sprite with an sprite frame and the centre of its zone.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @see initWithSpriteFrame(SpriteFrame *spriteFrame, const Rect& capInsets)
|
||||
*/
|
||||
static Scale9Sprite* createWithSpriteFrame(SpriteFrame* spriteFrame, const Rect& capInsets);
|
||||
|
||||
/**
|
||||
* Creates a 9-slice sprite with an sprite frame name.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @see initWithSpriteFrameName(const char *spriteFrameName)
|
||||
*/
|
||||
static Scale9Sprite* createWithSpriteFrameName(const std::string& spriteFrameName);
|
||||
|
||||
/**
|
||||
* Creates a 9-slice sprite with an sprite frame name and the centre of its
|
||||
* zone.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @see initWithSpriteFrameName(const char *spriteFrameName, const Rect& capInsets)
|
||||
*/
|
||||
static Scale9Sprite* createWithSpriteFrameName(const std::string& spriteFrameName, const Rect& capInsets);
|
||||
|
||||
/**
|
||||
* Initializes a 9-slice sprite with a texture file, a delimitation zone and
|
||||
* with the specified cap insets.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @param file The name of the texture file.
|
||||
* @param rect The rectangle that describes the sub-part of the texture that
|
||||
* is the whole image. If the shape is the whole texture, set this to the
|
||||
* texture's full rect.
|
||||
* @param capInsets The values to use for the cap insets.
|
||||
*/
|
||||
virtual bool initWithFile(const std::string& file, const Rect& rect, const Rect& capInsets);
|
||||
|
||||
/**
|
||||
* Initializes a 9-slice sprite with a texture file and a delimitation zone. The
|
||||
* texture will be broken down into a 3×3 grid of equal blocks.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @param file The name of the texture file.
|
||||
* @param rect The rectangle that describes the sub-part of the texture that
|
||||
* is the whole image. If the shape is the whole texture, set this to the
|
||||
* texture's full rect.
|
||||
*/
|
||||
virtual bool initWithFile(const std::string& file, const Rect& rect);
|
||||
|
||||
/**
|
||||
* Initializes a 9-slice sprite with a texture file and with the specified cap
|
||||
* insets.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @param file The name of the texture file.
|
||||
* @param capInsets The values to use for the cap insets.
|
||||
*/
|
||||
virtual bool initWithFile(const Rect& capInsets, const std::string& file);
|
||||
|
||||
/**
|
||||
* Initializes a 9-slice sprite with a texture file. The whole texture will be
|
||||
* broken down into a 3×3 grid of equal blocks.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @param file The name of the texture file.
|
||||
*/
|
||||
virtual bool initWithFile(const std::string& file);
|
||||
|
||||
/**
|
||||
* Initializes a 9-slice sprite with an sprite frame and with the specified
|
||||
* cap insets.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @param spriteFrame The sprite frame object.
|
||||
* @param capInsets The values to use for the cap insets.
|
||||
*/
|
||||
virtual bool initWithSpriteFrame(SpriteFrame* spriteFrame, const Rect& capInsets);
|
||||
|
||||
/**
|
||||
* Initializes a 9-slice sprite with an sprite frame.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @param spriteFrame The sprite frame object.
|
||||
*/
|
||||
virtual bool initWithSpriteFrame(SpriteFrame* spriteFrame);
|
||||
|
||||
/**
|
||||
* Initializes a 9-slice sprite with an sprite frame name and with the specified
|
||||
* cap insets.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @param spriteFrameName The sprite frame name.
|
||||
* @param capInsets The values to use for the cap insets.
|
||||
*/
|
||||
virtual bool initWithSpriteFrameName(const std::string& spriteFrameName, const Rect& capInsets);
|
||||
|
||||
/**
|
||||
* Initializes a 9-slice sprite with an sprite frame name.
|
||||
* Once the sprite is created, you can then call its "setContentSize:" method
|
||||
* to resize the sprite will all it's 9-slice goodness intract.
|
||||
* It respects the anchorPoint too.
|
||||
*
|
||||
* @param spriteFrameName The sprite frame name.
|
||||
*/
|
||||
virtual bool initWithSpriteFrameName(const std::string& spriteFrameName);
|
||||
|
||||
virtual bool init();
|
||||
virtual bool init(Sprite* sprite, const Rect& rect, bool rotated, const Rect& capInsets);
|
||||
virtual bool init(Sprite* sprite, const Rect& rect, const Rect& capInsets);
|
||||
/**
|
||||
* Creates and returns a new sprite object with the specified cap insets.
|
||||
* You use this method to add cap insets to a sprite or to change the existing
|
||||
* cap insets of a sprite. In both cases, you get back a new image and the
|
||||
* original sprite remains untouched.
|
||||
*
|
||||
* @param capInsets The values to use for the cap insets.
|
||||
*/
|
||||
Scale9Sprite* resizableSpriteWithCapInsets(const Rect& capInsets);
|
||||
|
||||
virtual bool updateWithSprite(Sprite* sprite, const Rect& rect, bool rotated, const Rect& capInsets);
|
||||
virtual void setSpriteFrame(SpriteFrame * spriteFrame);
|
||||
|
||||
// overrides
|
||||
virtual void setContentSize(const Size & size) override;
|
||||
virtual void setAnchorPoint(const Vec2& anchorPoint) override;
|
||||
|
||||
Size getOriginalSize() const;
|
||||
void setPreferredSize(const Size& size);
|
||||
Size getPreferredSize() const;
|
||||
void setCapInsets(const Rect& rect);
|
||||
Rect getCapInsets()const;
|
||||
void setInsetLeft(float leftInset);
|
||||
float getInsetLeft()const;
|
||||
void setInsetTop(float topInset);
|
||||
float getInsetTop()const;
|
||||
void setInsetRight(float rightInset);
|
||||
float getInsetRight()const;
|
||||
void setInsetBottom(float bottomInset);
|
||||
float getInsetBottom()const;
|
||||
void setScale9Enabled(bool enabled);
|
||||
bool isScale9Enabled()const;
|
||||
|
||||
|
||||
|
||||
/// @} end of Children and Parent
|
||||
|
||||
virtual void visit(Renderer *renderer, const Mat4 &parentTransform, uint32_t parentFlags) override;
|
||||
|
||||
virtual void cleanup() override;
|
||||
|
||||
virtual void onEnter() override;
|
||||
|
||||
/** Event callback that is invoked when the Node enters in the 'stage'.
|
||||
* If the Node enters the 'stage' with a transition, this event is called when the transition finishes.
|
||||
* If you override onEnterTransitionDidFinish, you shall call its parent's one, e.g. Node::onEnterTransitionDidFinish()
|
||||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
virtual void onEnterTransitionDidFinish() override;
|
||||
|
||||
/**
|
||||
* Event callback that is invoked every time the Node leaves the 'stage'.
|
||||
* If the Node leaves the 'stage' with a transition, this event is called when the transition finishes.
|
||||
* During onExit you can't access a sibling node.
|
||||
* If you override onExit, you shall call its parent's one, e.g., Node::onExit().
|
||||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
virtual void onExit() override;
|
||||
|
||||
/**
|
||||
* Event callback that is called every time the Node leaves the 'stage'.
|
||||
* If the Node leaves the 'stage' with a transition, this callback is called when the transition starts.
|
||||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
virtual void onExitTransitionDidStart() override;
|
||||
|
||||
virtual void updateDisplayedOpacity(GLubyte parentOpacity) override;
|
||||
virtual void updateDisplayedColor(const Color3B& parentColor) override;
|
||||
virtual void disableCascadeColor() override;
|
||||
|
||||
Sprite* getSprite()const;
|
||||
|
||||
/**
|
||||
* Sets whether the widget should be flipped horizontally or not.
|
||||
*
|
||||
* @param bFlippedX true if the widget should be flipped horizaontally, false otherwise.
|
||||
*/
|
||||
virtual void setFlippedX(bool flippedX);
|
||||
|
||||
/**
|
||||
* Returns the flag which indicates whether the widget is flipped horizontally or not.
|
||||
*
|
||||
* It only flips the texture of the widget, and not the texture of the widget's children.
|
||||
* Also, flipping the texture doesn't alter the anchorPoint.
|
||||
* If you want to flip the anchorPoint too, and/or to flip the children too use:
|
||||
* widget->setScaleX(sprite->getScaleX() * -1);
|
||||
*
|
||||
* @return true if the widget is flipped horizaontally, false otherwise.
|
||||
*/
|
||||
virtual bool isFlippedX()const;
|
||||
|
||||
/**
|
||||
* Sets whether the widget should be flipped vertically or not.
|
||||
*
|
||||
* @param bFlippedY true if the widget should be flipped vertically, flase otherwise.
|
||||
*/
|
||||
virtual void setFlippedY(bool flippedY);
|
||||
|
||||
/**
|
||||
* Return the flag which indicates whether the widget is flipped vertically or not.
|
||||
*
|
||||
* It only flips the texture of the widget, and not the texture of the widget's children.
|
||||
* Also, flipping the texture doesn't alter the anchorPoint.
|
||||
* If you want to flip the anchorPoint too, and/or to flip the children too use:
|
||||
* widget->setScaleY(widget->getScaleY() * -1);
|
||||
*
|
||||
* @return true if the widget is flipped vertically, flase otherwise.
|
||||
*/
|
||||
virtual bool isFlippedY()const;
|
||||
|
||||
protected:
|
||||
void updateCapInset();
|
||||
void updatePositions();
|
||||
void createSlicedSprites(const Rect& rect, bool rotated);
|
||||
void cleanupSlicedSprites();
|
||||
void adjustScale9ImagePosition();
|
||||
/**
|
||||
* Sorts the children array once before drawing, instead of every time when a child is added or reordered.
|
||||
* This appraoch can improves the performance massively.
|
||||
* @note Don't call this manually unless a child added needs to be removed in the same frame
|
||||
*/
|
||||
virtual void sortAllProtectedChildren();
|
||||
|
||||
bool _spritesGenerated;
|
||||
Rect _spriteRect;
|
||||
bool _spriteFrameRotated;
|
||||
Rect _capInsetsInternal;
|
||||
bool _positionsAreDirty;
|
||||
|
||||
Sprite* _scale9Image; //the original sprite
|
||||
Sprite* _topLeft;
|
||||
Sprite* _top;
|
||||
Sprite* _topRight;
|
||||
Sprite* _left;
|
||||
Sprite* _centre;
|
||||
Sprite* _right;
|
||||
Sprite* _bottomLeft;
|
||||
Sprite* _bottom;
|
||||
Sprite* _bottomRight;
|
||||
|
||||
bool _scale9Enabled;
|
||||
|
||||
/** Original sprite's size. */
|
||||
Size _originalSize;
|
||||
/** Prefered sprite's size. By default the prefered size is the original size. */
|
||||
|
||||
//if the preferredSize component is given as -1, it is ignored
|
||||
Size _preferredSize;
|
||||
/**
|
||||
* The end-cap insets.
|
||||
* On a non-resizeable sprite, this property is set to CGRect::ZERO; the sprite
|
||||
* does not use end caps and the entire sprite is subject to stretching.
|
||||
*/
|
||||
Rect _capInsets;
|
||||
/** Sets the left side inset */
|
||||
float _insetLeft;
|
||||
/** Sets the top side inset */
|
||||
float _insetTop;
|
||||
/** Sets the right side inset */
|
||||
float _insetRight;
|
||||
/** Sets the bottom side inset */
|
||||
float _insetBottom;
|
||||
|
||||
/// helper that reorder a child
|
||||
void addProtectedChild(Node* child);
|
||||
|
||||
Vector<Node*> _protectedChildren; ///holds the 9 sprites
|
||||
bool _reorderProtectedChildDirty;
|
||||
|
||||
bool _flippedX;
|
||||
bool _flippedY;
|
||||
};
|
||||
|
||||
}} //end of namespace
|
||||
|
||||
#endif /* defined(__cocos2d_libs__UIScale9Sprite__) */
|
|
@ -23,7 +23,7 @@ THE SOFTWARE.
|
|||
****************************************************************************/
|
||||
|
||||
#include "ui/UISlider.h"
|
||||
#include "extensions/GUI/CCControlExtension/CCScale9Sprite.h"
|
||||
#include "ui/UIScale9Sprite.h"
|
||||
#include "2d/CCSprite.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
@ -98,20 +98,28 @@ bool Slider::init()
|
|||
|
||||
void Slider::initRenderer()
|
||||
{
|
||||
_barRenderer = Sprite::create();
|
||||
_progressBarRenderer = Sprite::create();
|
||||
_barRenderer = Scale9Sprite::create();
|
||||
_progressBarRenderer = Scale9Sprite::create();
|
||||
_barRenderer->setScale9Enabled(false);
|
||||
_progressBarRenderer->setScale9Enabled(false);
|
||||
|
||||
_progressBarRenderer->setAnchorPoint(Vec2(0.0f, 0.5f));
|
||||
|
||||
addProtectedChild(_barRenderer, BASEBAR_RENDERER_Z, -1);
|
||||
addProtectedChild(_progressBarRenderer, PROGRESSBAR_RENDERER_Z, -1);
|
||||
|
||||
_slidBallNormalRenderer = Sprite::create();
|
||||
_slidBallPressedRenderer = Sprite::create();
|
||||
_slidBallPressedRenderer->setVisible(false);
|
||||
_slidBallDisabledRenderer = Sprite::create();
|
||||
_slidBallDisabledRenderer->setVisible(false);
|
||||
|
||||
_slidBallRenderer = Node::create();
|
||||
|
||||
_slidBallRenderer->addChild(_slidBallNormalRenderer);
|
||||
_slidBallRenderer->addChild(_slidBallPressedRenderer);
|
||||
_slidBallRenderer->addChild(_slidBallDisabledRenderer);
|
||||
|
||||
addProtectedChild(_slidBallRenderer, SLIDBALL_RENDERER_Z, -1);
|
||||
}
|
||||
|
||||
|
@ -126,24 +134,10 @@ void Slider::loadBarTexture(const std::string& fileName, TextureResType texType)
|
|||
switch (_barTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_barRenderer)->initWithFile(fileName);
|
||||
}
|
||||
else
|
||||
{
|
||||
static_cast<Sprite*>(_barRenderer)->setTexture(fileName);
|
||||
}
|
||||
_barRenderer->initWithFile(fileName);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_barRenderer)->initWithSpriteFrameName(fileName);
|
||||
}
|
||||
else
|
||||
{
|
||||
static_cast<Sprite*>(_barRenderer)->setSpriteFrame(fileName);
|
||||
}
|
||||
_barRenderer->initWithSpriteFrameName(fileName);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -165,24 +159,10 @@ void Slider::loadProgressBarTexture(const std::string& fileName, TextureResType
|
|||
switch (_progressBarTexType)
|
||||
{
|
||||
case TextureResType::LOCAL:
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_progressBarRenderer)->initWithFile(fileName);
|
||||
}
|
||||
else
|
||||
{
|
||||
static_cast<Sprite*>(_progressBarRenderer)->setTexture(fileName);
|
||||
}
|
||||
_progressBarRenderer->initWithFile(fileName);
|
||||
break;
|
||||
case TextureResType::PLIST:
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_progressBarRenderer)->initWithSpriteFrameName(fileName);
|
||||
}
|
||||
else
|
||||
{
|
||||
static_cast<Sprite*>(_progressBarRenderer)->setSpriteFrame(fileName);
|
||||
}
|
||||
_progressBarRenderer->initWithSpriteFrameName(fileName);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -201,24 +181,9 @@ void Slider::setScale9Enabled(bool able)
|
|||
}
|
||||
|
||||
_scale9Enabled = able;
|
||||
removeProtectedChild(_barRenderer);
|
||||
removeProtectedChild(_progressBarRenderer);
|
||||
_barRenderer = nullptr;
|
||||
_progressBarRenderer = nullptr;
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
_barRenderer = extension::Scale9Sprite::create();
|
||||
_progressBarRenderer = extension::Scale9Sprite::create();
|
||||
}
|
||||
else
|
||||
{
|
||||
_barRenderer = Sprite::create();
|
||||
_progressBarRenderer = Sprite::create();
|
||||
}
|
||||
loadBarTexture(_textureFile, _barTexType);
|
||||
loadProgressBarTexture(_progressBarTextureFile, _progressBarTexType);
|
||||
addProtectedChild(_barRenderer, BASEBAR_RENDERER_Z, -1);
|
||||
addProtectedChild(_progressBarRenderer, PROGRESSBAR_RENDERER_Z, -1);
|
||||
_barRenderer->setScale9Enabled(_scale9Enabled);
|
||||
_progressBarRenderer->setScale9Enabled(_scale9Enabled);
|
||||
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
bool ignoreBefore = _ignoreSize;
|
||||
|
@ -260,7 +225,7 @@ void Slider::setCapInsetsBarRenderer(const Rect &capInsets)
|
|||
{
|
||||
return;
|
||||
}
|
||||
static_cast<extension::Scale9Sprite*>(_barRenderer)->setCapInsets(capInsets);
|
||||
_barRenderer->setCapInsets(capInsets);
|
||||
}
|
||||
|
||||
const Rect& Slider::getCapInsetsBarRenderer()const
|
||||
|
@ -275,7 +240,7 @@ void Slider::setCapInsetProgressBarRebderer(const Rect &capInsets)
|
|||
{
|
||||
return;
|
||||
}
|
||||
static_cast<extension::Scale9Sprite*>(_progressBarRenderer)->setCapInsets(capInsets);
|
||||
_progressBarRenderer->setCapInsets(capInsets);
|
||||
}
|
||||
|
||||
const Rect& Slider::getCapInsetsProgressBarRebderer()const
|
||||
|
@ -369,14 +334,17 @@ void Slider::setPercent(int percent)
|
|||
_slidBallRenderer->setPosition(Vec2(dis, _contentSize.height / 2.0f));
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_progressBarRenderer)->setPreferredSize(Size(dis,_progressBarTextureSize.height));
|
||||
_progressBarRenderer->setPreferredSize(Size(dis,_progressBarTextureSize.height));
|
||||
}
|
||||
else
|
||||
{
|
||||
Sprite* spriteRenderer = static_cast<Sprite*>(_progressBarRenderer);
|
||||
Rect rect = spriteRenderer->getTextureRect();
|
||||
rect.size.width = _progressBarTextureSize.width * res;
|
||||
spriteRenderer->setTextureRect(rect, spriteRenderer->isTextureRectRotated(), rect.size);
|
||||
Sprite* spriteRenderer = _progressBarRenderer->getSprite();
|
||||
|
||||
if (nullptr != spriteRenderer) {
|
||||
Rect rect = spriteRenderer->getTextureRect();
|
||||
rect.size.width = _progressBarTextureSize.width * res;
|
||||
spriteRenderer->setTextureRect(rect, spriteRenderer->isTextureRectRotated(), rect.size);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -497,7 +465,7 @@ void Slider::barRendererScaleChangedWithSize()
|
|||
_barLength = _contentSize.width;
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_barRenderer)->setPreferredSize(_contentSize);
|
||||
_barRenderer->setPreferredSize(_contentSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -534,7 +502,7 @@ void Slider::progressBarRendererScaleChangedWithSize()
|
|||
{
|
||||
if (_scale9Enabled)
|
||||
{
|
||||
static_cast<extension::Scale9Sprite*>(_progressBarRenderer)->setPreferredSize(_contentSize);
|
||||
_progressBarRenderer->setPreferredSize(_contentSize);
|
||||
_progressBarTextureSize = _progressBarRenderer->getContentSize();
|
||||
}
|
||||
else
|
||||
|
|
|
@ -33,7 +33,8 @@ NS_CC_BEGIN
|
|||
class Sprite;
|
||||
|
||||
namespace ui {
|
||||
|
||||
class Scale9Sprite;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
SLIDER_PERCENTCHANGED
|
||||
|
@ -226,8 +227,8 @@ protected:
|
|||
virtual void copySpecialProperties(Widget* model) override;
|
||||
virtual void adaptRenderers() override;
|
||||
protected:
|
||||
Node* _barRenderer;
|
||||
Node* _progressBarRenderer;
|
||||
Scale9Sprite* _barRenderer;
|
||||
Scale9Sprite* _progressBarRenderer;
|
||||
Size _progressBarTextureSize;
|
||||
|
||||
Sprite* _slidBallNormalRenderer;
|
||||
|
|
|
@ -24,27 +24,12 @@ THE SOFTWARE.
|
|||
|
||||
#include "ui/UITextField.h"
|
||||
#include "platform/CCFileUtils.h"
|
||||
#include "ui/UIHelper.h"
|
||||
#include "base/ccUTF8.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
namespace ui {
|
||||
|
||||
static int _calcCharCount(const char * pszText)
|
||||
{
|
||||
int n = 0;
|
||||
char ch = 0;
|
||||
while ((ch = *pszText))
|
||||
{
|
||||
CC_BREAK_IF(! ch);
|
||||
|
||||
if (0x80 != (0xC0 & ch))
|
||||
{
|
||||
++n;
|
||||
}
|
||||
++pszText;
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
UICCTextField::UICCTextField()
|
||||
: _maxLengthEnabled(false)
|
||||
|
@ -130,7 +115,7 @@ void UICCTextField::insertText(const char* text, size_t len)
|
|||
{
|
||||
if (_maxLengthEnabled)
|
||||
{
|
||||
int text_count = _calcCharCount(getString().c_str());
|
||||
long text_count = StringUtils::getCharacterCountInUTF8String(getString());
|
||||
if (text_count >= _maxLength)
|
||||
{
|
||||
// password
|
||||
|
@ -141,69 +126,16 @@ void UICCTextField::insertText(const char* text, size_t len)
|
|||
return;
|
||||
}
|
||||
|
||||
#if ((CC_TARGET_PLATFORM == CC_PLATFORM_IOS) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC) || (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32))
|
||||
int input_count = _calcCharCount(text);
|
||||
int total = total = text_count + input_count;
|
||||
long input_count = StringUtils::getCharacterCountInUTF8String(text);
|
||||
long total = text_count + input_count;
|
||||
|
||||
if (total > _maxLength)
|
||||
{
|
||||
int end = 0;
|
||||
int length = _maxLength - text_count;
|
||||
long length = _maxLength - text_count;
|
||||
|
||||
for (int i = 0; i < length; ++i)
|
||||
{
|
||||
char value = text[i];
|
||||
|
||||
if (value >= 0 && value <= 127) // ascii
|
||||
{
|
||||
end++;
|
||||
}
|
||||
else
|
||||
{
|
||||
end += 3;
|
||||
}
|
||||
}
|
||||
input_text = input_text.substr(0, end);
|
||||
len = end;
|
||||
input_text = Helper::getSubStringOfUTF8String(input_text, 0, length);
|
||||
len = input_text.length();
|
||||
}
|
||||
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
|
||||
int input_count = _calcCharCount(text);
|
||||
int total = text_count + input_count;
|
||||
if (total > _maxLength)
|
||||
{
|
||||
int ascii = 0;
|
||||
int unicode = 0;
|
||||
int end = 0;
|
||||
int count = 0;
|
||||
|
||||
for (int i = 0; i < total * 3; ++i)
|
||||
{
|
||||
char value = text[i];
|
||||
|
||||
if (value >= 0 && value <= 127) // ascii
|
||||
{
|
||||
ascii++;
|
||||
count++;
|
||||
}
|
||||
else
|
||||
{
|
||||
unicode++;
|
||||
if (unicode % 3 == 0)
|
||||
{
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
if (count == _maxLength)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
end = ascii + unicode;
|
||||
input_text = input_text.substr(0, end);
|
||||
len = end;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
TextFieldTTF::insertText(input_text.c_str(), len);
|
||||
|
@ -294,8 +226,8 @@ void UICCTextField::setPasswordStyleText(const std::string& styleText)
|
|||
void UICCTextField::setPasswordText(const std::string& text)
|
||||
{
|
||||
std::string tempStr = "";
|
||||
int text_count = _calcCharCount(text.c_str());
|
||||
int max = text_count;
|
||||
long text_count = StringUtils::getCharacterCountInUTF8String(text);
|
||||
long max = text_count;
|
||||
|
||||
if (_maxLengthEnabled)
|
||||
{
|
||||
|
@ -479,40 +411,11 @@ void TextField::setText(const std::string& text)
|
|||
if (isMaxLengthEnabled())
|
||||
{
|
||||
int max = _textFieldRenderer->getMaxLength();
|
||||
int text_count = _calcCharCount(text.c_str());
|
||||
int total = text_count + _calcCharCount(getStringValue().c_str());
|
||||
long text_count = StringUtils::getCharacterCountInUTF8String(text);
|
||||
long total = text_count + StringUtils::getCharacterCountInUTF8String(getStringValue());
|
||||
if (total > max)
|
||||
{
|
||||
int ascii = 0;
|
||||
int unicode = 0;
|
||||
int end = 0;
|
||||
int count = 0;
|
||||
|
||||
for (int i = 0; i < total * 3; ++i)
|
||||
{
|
||||
char value = text[i];
|
||||
|
||||
if (value >= 0 && value <= 127) // ascii
|
||||
{
|
||||
ascii++;
|
||||
count++;
|
||||
}
|
||||
else
|
||||
{
|
||||
unicode++;
|
||||
if (unicode % 3 == 0)
|
||||
{
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
if (count == max)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
end = ascii + unicode;
|
||||
strText = strText.substr(0, end);
|
||||
strText = Helper::getSubStringOfUTF8String(strText, 0, max);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ THE SOFTWARE.
|
|||
#ifndef __UIWIDGET_H__
|
||||
#define __UIWIDGET_H__
|
||||
|
||||
#include "ui/CCProtectedNode.h"
|
||||
#include "2d/CCProtectedNode.h"
|
||||
#include "ui/UILayoutParameter.h"
|
||||
#include "ui/GUIDefine.h"
|
||||
#include "ui/GUIExport.h"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
|
@ -11,7 +11,6 @@
|
|||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\CCProtectedNode.h" />
|
||||
<ClInclude Include="..\CocosGUI.h" />
|
||||
<ClInclude Include="..\GUIExport.h" />
|
||||
<ClInclude Include="..\UIButton.h" />
|
||||
|
@ -28,6 +27,7 @@
|
|||
<ClInclude Include="..\UIPageView.h" />
|
||||
<ClInclude Include="..\UIRelativeBox.h" />
|
||||
<ClInclude Include="..\UIRichText.h" />
|
||||
<ClInclude Include="..\UIScale9Sprite.h" />
|
||||
<ClInclude Include="..\UIScrollView.h" />
|
||||
<ClInclude Include="..\UISlider.h" />
|
||||
<ClInclude Include="..\UIText.h" />
|
||||
|
@ -38,7 +38,6 @@
|
|||
<ClInclude Include="..\UIWidget.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\CCProtectedNode.cpp" />
|
||||
<ClCompile Include="..\CocosGUI.cpp" />
|
||||
<ClCompile Include="..\UIButton.cpp" />
|
||||
<ClCompile Include="..\UICheckBox.cpp" />
|
||||
|
@ -54,6 +53,7 @@
|
|||
<ClCompile Include="..\UIPageView.cpp" />
|
||||
<ClCompile Include="..\UIRelativeBox.cpp" />
|
||||
<ClCompile Include="..\UIRichText.cpp" />
|
||||
<ClCompile Include="..\UIScale9Sprite.cpp" />
|
||||
<ClCompile Include="..\UIScrollView.cpp" />
|
||||
<ClCompile Include="..\UISlider.cpp" />
|
||||
<ClCompile Include="..\UIText.cpp" />
|
||||
|
@ -64,16 +64,17 @@
|
|||
<ClCompile Include="..\UIWidget.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\extensions\proj.win32\libExtensions.vcxproj">
|
||||
<ProjectReference Include="..\..\..\extensions\proj.win32\libextension.vcxproj">
|
||||
<Project>{21b2c324-891f-48ea-ad1a-5ae13de12e28}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\..\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{7E06E92C-537A-442B-9E4A-4761C84F8A1A}</ProjectGuid>
|
||||
<RootNamespace>libGUI</RootNamespace>
|
||||
<RootNamespace>libui</RootNamespace>
|
||||
<ProjectName>libui</ProjectName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
|
@ -133,7 +134,7 @@
|
|||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalDependencies>libcocos2d.lib;opengl32.lib;glew32.lib;libExtensions.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>opengl32.lib;glew32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
|
@ -144,7 +145,7 @@
|
|||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>
|
||||
</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;CC_CONSTRUCTOR_ACCESS=public;_USEGUIDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;COCOS2DXWIN32_EXPORTS;GL_GLEXT_PROTOTYPES;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_USEGUIDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(EngineRoot);$(EngineRoot)cocos;$(EngineRoot)cocos\audio\include;$(EngineRoot)cocos\editor-support;$(EngineRoot)external;$(EngineRoot)extensions;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
|
@ -154,7 +155,7 @@
|
|||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalDependencies>libcocos2d.lib;opengl32.lib;glew32.lib;libExtensions.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>opengl32.lib;glew32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
@ -72,9 +72,6 @@
|
|||
<ClInclude Include="..\UIRichText.h">
|
||||
<Filter>UIWidgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\CCProtectedNode.h">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\UIHBox.h">
|
||||
<Filter>Layouts</Filter>
|
||||
</ClInclude>
|
||||
|
@ -93,6 +90,9 @@
|
|||
<ClInclude Include="..\GUIExport.h">
|
||||
<Filter>System</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\UIScale9Sprite.h">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\UIScrollView.cpp">
|
||||
|
@ -149,9 +149,6 @@
|
|||
<ClCompile Include="..\UIRichText.cpp">
|
||||
<Filter>UIWidgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\CCProtectedNode.cpp">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\UIHBox.cpp">
|
||||
<Filter>Layouts</Filter>
|
||||
</ClCompile>
|
||||
|
@ -167,5 +164,8 @@
|
|||
<ClCompile Include="..\UIDeprecated.cpp">
|
||||
<Filter>System</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\UIScale9Sprite.cpp">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -165,7 +165,6 @@
|
|||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\ui\CCProtectedNode.h" />
|
||||
<ClInclude Include="..\..\ui\CocosGUI.h" />
|
||||
<ClInclude Include="..\..\ui\UIButton.h" />
|
||||
<ClInclude Include="..\..\ui\UIHelper.h" />
|
||||
|
@ -188,9 +187,9 @@
|
|||
<ClInclude Include="..\UIHBox.h" />
|
||||
<ClInclude Include="..\UILayoutManager.h" />
|
||||
<ClInclude Include="..\UIRelativeBox.h" />
|
||||
<ClInclude Include="..\UIScale9Sprite.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\ui\CCProtectedNode.cpp" />
|
||||
<ClCompile Include="..\..\ui\CocosGUI.cpp" />
|
||||
<ClCompile Include="..\..\ui\UIButton.cpp" />
|
||||
<ClCompile Include="..\..\ui\UICheckBox.cpp" />
|
||||
|
@ -214,5 +213,6 @@
|
|||
<ClCompile Include="..\UIHBox.cpp" />
|
||||
<ClCompile Include="..\UILayoutManager.cpp" />
|
||||
<ClCompile Include="..\UIRelativeBox.cpp" />
|
||||
<ClCompile Include="..\UIScale9Sprite.cpp" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -69,9 +69,6 @@
|
|||
<ClInclude Include="..\..\ui\UIWidget.h">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\ui\CCProtectedNode.h">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\ui\UIVBox.h">
|
||||
<Filter>Layouts</Filter>
|
||||
</ClInclude>
|
||||
|
@ -87,6 +84,9 @@
|
|||
<ClInclude Include="..\UIDeprecated.h">
|
||||
<Filter>System</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\UIScale9Sprite.h">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\ui\UILayout.cpp">
|
||||
|
@ -143,9 +143,6 @@
|
|||
<ClCompile Include="..\..\ui\UIWidget.cpp">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\ui\CCProtectedNode.cpp">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\ui\UIVBox.cpp">
|
||||
<Filter>Layouts</Filter>
|
||||
</ClCompile>
|
||||
|
@ -161,5 +158,8 @@
|
|||
<ClCompile Include="..\UIDeprecated.cpp">
|
||||
<Filter>System</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\UIScale9Sprite.cpp">
|
||||
<Filter>BaseClasses</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -12,8 +12,9 @@
|
|||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{21B2C324-891F-48EA-AD1A-5AE13DE12E28}</ProjectGuid>
|
||||
<RootNamespace>Extensions.win32</RootNamespace>
|
||||
<RootNamespace>libextension.win32</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectName>libextension</ProjectName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
|
@ -94,7 +95,7 @@
|
|||
<Optimization>MinSpace</Optimization>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(EngineRoot);$(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\unzip;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)external\curl\include\win32;$(EngineRoot)external\sqlite3\include;$(EngineRoot)external\libwebsockets\win32\include;$(EngineRoot)external\win32-specific\zlib\include;..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;CC_CONSTRUCTOR_ACCESS=public;_USREXDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_USREXDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<PrecompiledHeader>
|
||||
|
@ -162,12 +163,9 @@
|
|||
<ClInclude Include="Win32InputBox.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\cocos\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\..\cocos\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\external\Box2D\proj.win32\Box2D.vcxproj">
|
||||
<Project>{929480e7-23c0-4df6-8456-096d71547116}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
|
@ -11,9 +11,9 @@
|
|||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectName>libBox2D</ProjectName>
|
||||
<ProjectName>libbox2d</ProjectName>
|
||||
<ProjectGuid>{929480E7-23C0-4DF6-8456-096D71547116}</ProjectGuid>
|
||||
<RootNamespace>Box2D.win32</RootNamespace>
|
||||
<RootNamespace>libbox2d.win32</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
@ -181,8 +181,6 @@
|
|||
"cocos/2d/CCTweenFunction.h",
|
||||
"cocos/2d/CMakeLists.txt",
|
||||
"cocos/2d/cocos2d.def",
|
||||
"cocos/2d/cocos2d.vcxproj",
|
||||
"cocos/2d/cocos2d.vcxproj.filters",
|
||||
"cocos/2d/cocos2d_headers.props",
|
||||
"cocos/2d/cocos2d_winrt.props",
|
||||
"cocos/2d/cocos2d_winrt.vcxproj",
|
||||
|
@ -192,6 +190,8 @@
|
|||
"cocos/2d/cocos2d_wp8.vcxproj.filters",
|
||||
"cocos/2d/cocos2d_wp8_headers.props",
|
||||
"cocos/2d/cocos2dx.props",
|
||||
"cocos/2d/libcocos2d.vcxproj",
|
||||
"cocos/2d/libcocos2d.vcxproj.filters",
|
||||
"cocos/3d/CCAnimate3D.cpp",
|
||||
"cocos/3d/CCAnimate3D.h",
|
||||
"cocos/3d/CCAnimation3D.cpp",
|
||||
|
@ -254,9 +254,9 @@
|
|||
"cocos/audio/openal/OpenALDecoder.cpp",
|
||||
"cocos/audio/openal/OpenALDecoder.h",
|
||||
"cocos/audio/openal/SimpleAudioEngineOpenAL.cpp",
|
||||
"cocos/audio/proj.win32/CocosDenshion.vcxproj",
|
||||
"cocos/audio/proj.win32/CocosDenshion.vcxproj.filters",
|
||||
"cocos/audio/proj.win32/CocosDenshion.vcxproj.user",
|
||||
"cocos/audio/proj.win32/libcocosdenshion.vcxproj",
|
||||
"cocos/audio/proj.win32/libcocosdenshion.vcxproj.filters",
|
||||
"cocos/audio/proj.win32/libcocosdenshion.vcxproj.user",
|
||||
"cocos/audio/proj.wp8/CocosDenshion.vcxproj",
|
||||
"cocos/audio/proj.wp8/CocosDenshion.vcxproj.filters",
|
||||
"cocos/audio/proj.wp8/CocosDenshion.vcxproj.user",
|
||||
|
@ -455,9 +455,9 @@
|
|||
"cocos/editor-support/cocosbuilder/CCSpriteLoader.h",
|
||||
"cocos/editor-support/cocosbuilder/CMakeLists.txt",
|
||||
"cocos/editor-support/cocosbuilder/CocosBuilder.h",
|
||||
"cocos/editor-support/cocosbuilder/proj.win32/libCocosBuilder.vcxproj",
|
||||
"cocos/editor-support/cocosbuilder/proj.win32/libCocosBuilder.vcxproj.filters",
|
||||
"cocos/editor-support/cocosbuilder/proj.win32/libCocosBuilder.vcxproj.user",
|
||||
"cocos/editor-support/cocosbuilder/proj.win32/libcocosbuilder.vcxproj",
|
||||
"cocos/editor-support/cocosbuilder/proj.wp8/libCocosBuilder.vcxproj",
|
||||
"cocos/editor-support/cocosbuilder/proj.wp8/libCocosBuilder.vcxproj.filters",
|
||||
"cocos/editor-support/cocosbuilder/proj.wp8/libCocosBuilder.vcxproj.user",
|
||||
|
@ -578,9 +578,9 @@
|
|||
"cocos/editor-support/cocostudio/WidgetReader/WidgetReader.cpp",
|
||||
"cocos/editor-support/cocostudio/WidgetReader/WidgetReader.h",
|
||||
"cocos/editor-support/cocostudio/WidgetReader/WidgetReaderProtocol.h",
|
||||
"cocos/editor-support/cocostudio/proj.win32/libCocosStudio.vcxproj",
|
||||
"cocos/editor-support/cocostudio/proj.win32/libCocosStudio.vcxproj.filters",
|
||||
"cocos/editor-support/cocostudio/proj.win32/libCocosStudio.vcxproj.user",
|
||||
"cocos/editor-support/cocostudio/proj.win32/libcocostudio.vcxproj",
|
||||
"cocos/editor-support/cocostudio/proj.win32/libcocostudio.vcxproj.filters",
|
||||
"cocos/editor-support/cocostudio/proj.win32/libcocostudio.vcxproj.user",
|
||||
"cocos/editor-support/cocostudio/proj.wp8/libCocosStudio.vcxproj",
|
||||
"cocos/editor-support/cocostudio/proj.wp8/libCocosStudio.vcxproj.filters",
|
||||
"cocos/editor-support/cocostudio/proj.wp8/libCocosStudio.vcxproj.user",
|
||||
|
@ -687,9 +687,9 @@
|
|||
"cocos/network/SocketIO.h",
|
||||
"cocos/network/WebSocket.cpp",
|
||||
"cocos/network/WebSocket.h",
|
||||
"cocos/network/proj.win32/libNetwork.vcxproj",
|
||||
"cocos/network/proj.win32/libNetwork.vcxproj.filters",
|
||||
"cocos/network/proj.win32/libNetwork.vcxproj.user",
|
||||
"cocos/network/proj.win32/libnetwork.vcxproj",
|
||||
"cocos/network/proj.win32/libnetwork.vcxproj.filters",
|
||||
"cocos/network/proj.win32/libnetwork.vcxproj.user",
|
||||
"cocos/network/proj.wp8/libNetwork.vcxproj",
|
||||
"cocos/network/proj.wp8/libNetwork.vcxproj.filters",
|
||||
"cocos/physics/CCPhysicsBody.cpp",
|
||||
|
@ -981,9 +981,6 @@
|
|||
"cocos/storage/local-storage/LocalStorage.cpp",
|
||||
"cocos/storage/local-storage/LocalStorage.h",
|
||||
"cocos/storage/local-storage/LocalStorageAndroid.cpp",
|
||||
"cocos/storage/local-storage/proj.win32/libLocalStorage.vcxproj",
|
||||
"cocos/storage/local-storage/proj.win32/libLocalStorage.vcxproj.filters",
|
||||
"cocos/storage/local-storage/proj.win32/libLocalStorage.vcxproj.user",
|
||||
"cocos/storage/local-storage/proj.wp8/libLocalStorage.vcxproj",
|
||||
"cocos/storage/local-storage/proj.wp8/libLocalStorage.vcxproj.filters",
|
||||
"cocos/ui/Android.mk",
|
||||
|
@ -1022,6 +1019,8 @@
|
|||
"cocos/ui/UIRelativeBox.h",
|
||||
"cocos/ui/UIRichText.cpp",
|
||||
"cocos/ui/UIRichText.h",
|
||||
"cocos/ui/UIScale9Sprite.cpp",
|
||||
"cocos/ui/UIScale9Sprite.h",
|
||||
"cocos/ui/UIScrollView.cpp",
|
||||
"cocos/ui/UIScrollView.h",
|
||||
"cocos/ui/UISlider.cpp",
|
||||
|
@ -1041,9 +1040,9 @@
|
|||
"cocos/ui/UIVideoPlayerIOS.mm",
|
||||
"cocos/ui/UIWidget.cpp",
|
||||
"cocos/ui/UIWidget.h",
|
||||
"cocos/ui/proj.win32/libGUI.vcxproj",
|
||||
"cocos/ui/proj.win32/libGUI.vcxproj.filters",
|
||||
"cocos/ui/proj.win32/libGUI.vcxproj.user",
|
||||
"cocos/ui/proj.win32/libui.vcxproj",
|
||||
"cocos/ui/proj.win32/libui.vcxproj.filters",
|
||||
"cocos/ui/proj.win32/libui.vcxproj.user",
|
||||
"cocos/ui/proj.wp8/libGUI.vcxproj",
|
||||
"cocos/ui/proj.wp8/libGUI.vcxproj.filters",
|
||||
"docs/CODING_STYLE.md",
|
||||
|
@ -1111,9 +1110,9 @@
|
|||
"extensions/physics-nodes/CCPhysicsSprite.h",
|
||||
"extensions/proj.win32/Win32InputBox.cpp",
|
||||
"extensions/proj.win32/Win32InputBox.h",
|
||||
"extensions/proj.win32/libExtensions.vcxproj",
|
||||
"extensions/proj.win32/libExtensions.vcxproj.filters",
|
||||
"extensions/proj.win32/libExtensions.vcxproj.user",
|
||||
"extensions/proj.win32/libextension.vcxproj",
|
||||
"extensions/proj.win32/libextension.vcxproj.filters",
|
||||
"extensions/proj.win32/libextension.vcxproj.user",
|
||||
"extensions/proj.wp8/libExtensions.vcxproj",
|
||||
"extensions/proj.wp8/libExtensions.vcxproj.filters",
|
||||
"extensions/proj.wp8/pch.cpp",
|
||||
|
@ -1213,8 +1212,8 @@
|
|||
"external/Box2D/Dynamics/b2WorldCallbacks.h",
|
||||
"external/Box2D/Rope/b2Rope.cpp",
|
||||
"external/Box2D/Rope/b2Rope.h",
|
||||
"external/Box2D/proj.win32/Box2D.vcxproj",
|
||||
"external/Box2D/proj.win32/Box2D.vcxproj.filters",
|
||||
"external/Box2D/proj.win32/libbox2d.vcxproj",
|
||||
"external/Box2D/proj.win32/libbox2d.vcxproj.filters",
|
||||
"external/Box2D/proj.wp8/Box2D.vcxproj",
|
||||
"external/Box2D/proj.wp8/Box2D.vcxproj.filters",
|
||||
"external/ConvertUTF/ConvertUTF.c",
|
||||
|
@ -3561,6 +3560,12 @@
|
|||
"tools/fbx-conv/README.md",
|
||||
"tools/fbx-conv/mac/fbx-conv",
|
||||
"tools/fbx-conv/mac/libfbxsdk.dylib",
|
||||
"tools/gen-prebuilt/README.md",
|
||||
"tools/gen-prebuilt/build_config.json",
|
||||
"tools/gen-prebuilt/excopy.py",
|
||||
"tools/gen-prebuilt/gen_prebuilt_libs.py",
|
||||
"tools/gen-prebuilt/module_config.json",
|
||||
"tools/gen-prebuilt/module_organize.py",
|
||||
"tools/particle/convert_YCoordFlipped.py"
|
||||
],
|
||||
"lua": [
|
||||
|
|
|
@ -58,7 +58,7 @@ local function main()
|
|||
local origin = cc.Director:getInstance():getVisibleOrigin()
|
||||
|
||||
-- add the moving dog
|
||||
local function creatDog()
|
||||
local function createDog()
|
||||
local frameWidth = 105
|
||||
local frameHeight = 95
|
||||
|
||||
|
@ -130,7 +130,7 @@ local function main()
|
|||
end
|
||||
|
||||
-- add moving dog
|
||||
local spriteDog = creatDog()
|
||||
local spriteDog = createDog()
|
||||
layerFarm:addChild(spriteDog)
|
||||
|
||||
-- handing touch events
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
<AdditionalDependencies>libcocos2d.lib;libchipmunk.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>
|
||||
|
@ -111,7 +111,7 @@
|
|||
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>libcocos2d.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
|
||||
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
|
@ -137,9 +137,8 @@
|
|||
<ClInclude Include="main.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\cocos\2d\cocos2d.vcxproj">
|
||||
<ProjectReference Include="..\..\..\cocos\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj">
|
||||
<Project>{207bc7a9-ccf1-4f2f-a04d-45f72242ae25}</Project>
|
||||
|
|
|
@ -68,6 +68,7 @@ Classes/UITest/CocoStudioGUITest/CocostudioParserTest.cpp \
|
|||
Classes/UITest/CocoStudioGUITest/GUIEditorTest.cpp \
|
||||
Classes/UITest/CocoStudioGUITest/CustomGUIScene.cpp \
|
||||
Classes/UITest/CocoStudioGUITest/UIScene.cpp \
|
||||
Classes/UITest/CocoStudioGUITest/UIScale9SpriteTest.cpp \
|
||||
Classes/UITest/CocoStudioGUITest/UISceneManager.cpp \
|
||||
Classes/UITest/CocoStudioGUITest/UIButtonTest/UIButtonTest.cpp \
|
||||
Classes/UITest/CocoStudioGUITest/UIFocusTest/UIFocusTest.cpp \
|
||||
|
|
|
@ -80,6 +80,7 @@ set(SAMPLE_SRC
|
|||
Classes/UITest/CocoStudioGUITest/GUIEditorTest.cpp
|
||||
Classes/UITest/CocoStudioGUITest/CustomGUIScene.cpp
|
||||
Classes/UITest/CocoStudioGUITest/UIScene.cpp
|
||||
Classes/UITest/CocoStudioGUITest/UIScale9SpriteTest.cpp
|
||||
Classes/UITest/CocoStudioGUITest/UISceneManager.cpp
|
||||
Classes/UITest/CocoStudioGUITest/CocostudioParserTest/CocostudioParserJsonTest.cpp
|
||||
Classes/UITest/CocoStudioGUITest/CocostudioParserTest.cpp
|
||||
|
|
|
@ -108,7 +108,7 @@ bool AppDelegate::applicationDidFinishLaunching()
|
|||
// a bug in DirectX 11 level9-x on the device prevents ResolutionPolicy::NO_BORDER from working correctly
|
||||
glview->setDesignResolutionSize(designSize.width, designSize.height, ResolutionPolicy::SHOW_ALL);
|
||||
#else
|
||||
glview->setDesignResolutionSize(designSize.width, designSize.height, ResolutionPolicy::NO_BORDER);
|
||||
glview->setDesignResolutionSize(designSize.width, designSize.height, ResolutionPolicy::SHOW_ALL);
|
||||
#endif
|
||||
|
||||
auto scene = Scene::create();
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define _TIMELINE_TESTLAYER_H_
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "audio/include/SimpleAudioEngine.h"
|
||||
#include "extensions/cocos-ext.h"
|
||||
#include "cocosbuilder/CocosBuilder.h"
|
||||
|
||||
|
|
|
@ -1012,13 +1012,14 @@ Layer* createParticleLayer(int nIndex)
|
|||
case 46: return new Issue3990();
|
||||
case 47: return new ParticleAutoBatching();
|
||||
case 48: return new ParticleVisibleTest();
|
||||
case 49: return new ParticleResetTotalParticles();
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
#define MAX_LAYER 49
|
||||
#define MAX_LAYER 50
|
||||
|
||||
|
||||
Layer* nextParticleAction()
|
||||
|
@ -2005,6 +2006,52 @@ std::string ParticleAutoBatching::subtitle() const
|
|||
return "All 10 particles should be drawin in one batch";
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// ParticleResetTotalParticles
|
||||
//
|
||||
void ParticleResetTotalParticles::onEnter()
|
||||
{
|
||||
ParticleDemo::onEnter();
|
||||
|
||||
_color->setColor(Color3B::BLACK);
|
||||
removeChild(_background, true);
|
||||
_background = nullptr;
|
||||
|
||||
auto p = ParticleFire::createWithTotalParticles(10);
|
||||
this->addChild(p);
|
||||
|
||||
auto add = MenuItemFont::create("add 10 particles",
|
||||
[p](Ref*)->void
|
||||
{
|
||||
p->setTotalParticles(p->getTotalParticles() + 10 );
|
||||
});
|
||||
add->setPosition(Vec2(0, 25));
|
||||
auto remove = MenuItemFont::create("remove 10 particles",
|
||||
[p](Ref*)->void
|
||||
{
|
||||
int count = p->getTotalParticles() - 10;
|
||||
if (count < 0) { count = 0; }
|
||||
p->setTotalParticles(count);
|
||||
});
|
||||
remove->setPosition(Vec2(0, -25));
|
||||
|
||||
auto menu = Menu::create(add, remove, nullptr);
|
||||
menu->setPosition(Vec2(VisibleRect::center()));
|
||||
this->addChild(menu);
|
||||
|
||||
}
|
||||
|
||||
std::string ParticleResetTotalParticles::title() const
|
||||
{
|
||||
return "reset total particles";
|
||||
}
|
||||
|
||||
std::string ParticleResetTotalParticles::subtitle() const
|
||||
{
|
||||
return "it should work as well";
|
||||
}
|
||||
|
||||
//
|
||||
// main
|
||||
//
|
||||
|
|
|
@ -328,4 +328,12 @@ public:
|
|||
virtual std::string subtitle() const override;
|
||||
};
|
||||
|
||||
class ParticleResetTotalParticles : public ParticleDemo
|
||||
{
|
||||
public:
|
||||
virtual void onEnter() override;
|
||||
virtual std::string title() const override;
|
||||
virtual std::string subtitle() const override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -42,6 +42,18 @@ g_guisTests[] =
|
|||
Scene* scene = sceneManager->currentUIScene();
|
||||
Director::getInstance()->replaceScene(scene);
|
||||
}
|
||||
},
|
||||
{
|
||||
"Scale9 Sprite Test",
|
||||
[](Ref* sender)
|
||||
{
|
||||
UISceneManager* sceneManager = UISceneManager::sharedUISceneManager();
|
||||
sceneManager->setCurrentUISceneId(kUIScale9SpriteTest);
|
||||
sceneManager->setMinUISceneId(kUIScale9SpriteTest);
|
||||
sceneManager->setMaxUISceneId(kUIS9Flip);
|
||||
Scene* scene = sceneManager->currentUIScene();
|
||||
Director::getInstance()->replaceScene(scene);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
|
@ -51,7 +63,7 @@ g_guisTests[] =
|
|||
UISceneManager* sceneManager = UISceneManager::sharedUISceneManager();
|
||||
sceneManager->setCurrentUISceneId(kUIButtonTest);
|
||||
sceneManager->setMinUISceneId(kUIButtonTest);
|
||||
sceneManager->setMaxUISceneId(kUIButtonTest_RemoveSelf);
|
||||
sceneManager->setMaxUISceneId(kUIButtonTestSwitchScale9);
|
||||
Scene* scene = sceneManager->currentUIScene();
|
||||
Director::getInstance()->replaceScene(scene);
|
||||
}
|
||||
|
|
|
@ -378,13 +378,23 @@ bool UIButtonTestRemoveSelf::init()
|
|||
|
||||
_uiLayer->addChild(alert);
|
||||
|
||||
Layout *layout = Layout::create();
|
||||
layout->setContentSize(widgetSize * 0.6);
|
||||
layout->setBackGroundColor(Color3B::GREEN);
|
||||
layout->setBackGroundColorType(Layout::BackGroundColorType::SOLID);
|
||||
layout->setBackGroundColorOpacity(100);
|
||||
layout->setPosition(Size(widgetSize.width/2, widgetSize.height/2));
|
||||
layout->setAnchorPoint(Vec2::ANCHOR_MIDDLE);
|
||||
layout->setTag(12);
|
||||
_uiLayer->addChild(layout);
|
||||
|
||||
// Create the button
|
||||
Button* button = Button::create("cocosui/animationbuttonnormal.png",
|
||||
"cocosui/animationbuttonpressed.png");
|
||||
button->setPosition(Vec2(widgetSize.width / 2.0f, widgetSize.height / 2.0f));
|
||||
button->setPosition(Vec2(layout->getContentSize().width / 2.0f, layout->getContentSize().height / 2.0f));
|
||||
// button->addTouchEventListener(this, toucheventselector(UIButtonTest::touchEvent));
|
||||
button->addTouchEventListener(CC_CALLBACK_2(UIButtonTestRemoveSelf::touchEvent, this));
|
||||
_uiLayer->addChild(button);
|
||||
layout->addChild(button);
|
||||
|
||||
|
||||
|
||||
|
@ -408,8 +418,86 @@ void UIButtonTestRemoveSelf::touchEvent(Ref *pSender, Widget::TouchEventType typ
|
|||
case Widget::TouchEventType::ENDED:
|
||||
{
|
||||
_displayValueLabel->setString(String::createWithFormat("Touch Up")->getCString());
|
||||
|
||||
_uiLayer->removeFromParentAndCleanup(true);
|
||||
auto layout = _uiLayer->getChildByTag(12);
|
||||
layout->removeFromParentAndCleanup(true);
|
||||
}
|
||||
break;
|
||||
|
||||
case Widget::TouchEventType::CANCELED:
|
||||
_displayValueLabel->setString(String::createWithFormat("Touch Cancelled")->getCString());
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// UIButtonTestSwitchScale9
|
||||
UIButtonTestSwitchScale9::UIButtonTestSwitchScale9()
|
||||
: _displayValueLabel(nullptr)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
UIButtonTestSwitchScale9::~UIButtonTestSwitchScale9()
|
||||
{
|
||||
}
|
||||
|
||||
bool UIButtonTestSwitchScale9::init()
|
||||
{
|
||||
if (UIScene::init())
|
||||
{
|
||||
Size widgetSize = _widget->getContentSize();
|
||||
|
||||
// Add a label in which the button events will be displayed
|
||||
_displayValueLabel = Text::create("No Event", "fonts/Marker Felt.ttf",32);
|
||||
_displayValueLabel->setAnchorPoint(Vec2(0.5f, -1.0f));
|
||||
_displayValueLabel->setPosition(Vec2(widgetSize.width / 2.0f, widgetSize.height / 2.0f));
|
||||
_uiLayer->addChild(_displayValueLabel);
|
||||
|
||||
// Add the alert
|
||||
Text* alert = Text::create("Button","fonts/Marker Felt.ttf",30);
|
||||
alert->setColor(Color3B(159, 168, 176));
|
||||
|
||||
alert->setPosition(Vec2(widgetSize.width / 2.0f,
|
||||
widgetSize.height / 2.0f - alert->getContentSize().height * 1.75f));
|
||||
|
||||
_uiLayer->addChild(alert);
|
||||
|
||||
// Create the button
|
||||
Button* button = Button::create("cocosui/animationbuttonnormal.png",
|
||||
"cocosui/animationbuttonpressed.png");
|
||||
button->setPosition(Vec2(widgetSize.width / 2.0f, widgetSize.height / 2.0f));
|
||||
button->addTouchEventListener(CC_CALLBACK_2(UIButtonTestSwitchScale9::touchEvent, this));
|
||||
button->ignoreContentAdaptWithSize(false);
|
||||
|
||||
_uiLayer->addChild(button);
|
||||
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void UIButtonTestSwitchScale9::touchEvent(Ref *pSender, Widget::TouchEventType type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case Widget::TouchEventType::BEGAN:
|
||||
_displayValueLabel->setString(String::createWithFormat("Touch Down")->getCString());
|
||||
break;
|
||||
|
||||
case Widget::TouchEventType::MOVED:
|
||||
_displayValueLabel->setString(String::createWithFormat("Touch Move")->getCString());
|
||||
break;
|
||||
|
||||
case Widget::TouchEventType::ENDED:
|
||||
{
|
||||
_displayValueLabel->setString(String::createWithFormat("Touch Up")->getCString());
|
||||
auto btn = ((Button*)pSender);
|
||||
btn->setScale9Enabled(!btn->isScale9Enabled());
|
||||
btn->setContentSize(Size(200,100));
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
@ -92,4 +92,17 @@ protected:
|
|||
Text* _displayValueLabel;
|
||||
};
|
||||
|
||||
class UIButtonTestSwitchScale9 : public UIScene
|
||||
{
|
||||
public:
|
||||
UIButtonTestSwitchScale9();
|
||||
~UIButtonTestSwitchScale9();
|
||||
bool init();
|
||||
void touchEvent(Ref *pSender, Widget::TouchEventType type);
|
||||
|
||||
protected:
|
||||
UI_SCENE_CREATE_FUNC(UIButtonTestSwitchScale9)
|
||||
Text* _displayValueLabel;
|
||||
};
|
||||
|
||||
#endif /* defined(__TestCpp__UIButtonTest__) */
|
||||
|
|
|
@ -20,6 +20,19 @@ bool UIRichTextTest::init()
|
|||
{
|
||||
Size widgetSize = _widget->getContentSize();
|
||||
|
||||
std::string str1 = "中国中国中";
|
||||
std::string str2 = "ご静聴ありがとうございました!!ご静聴ありがとうございました!!";
|
||||
CCLOG("str1:%s ascii length = %ld, utf8 length = %ld, substr = %s",
|
||||
str1.c_str(),
|
||||
str1.length(),
|
||||
StringUtils::getCharacterCountInUTF8String(str1),
|
||||
Helper::getSubStringOfUTF8String(str1, 0, 5).c_str());
|
||||
CCLOG("str2:%s ascii length = %ld, utf8 length = %ld, substr = %s",
|
||||
str2.c_str(),
|
||||
str2.length(),
|
||||
StringUtils::getCharacterCountInUTF8String(str2),
|
||||
Helper::getSubStringOfUTF8String(str2, 0, 2).c_str());
|
||||
|
||||
// Add the alert
|
||||
Text *alert = Text::create("RichText", "fonts/Marker Felt.ttf", 30);
|
||||
alert->setColor(Color3B(159, 168, 176));
|
||||
|
@ -31,7 +44,6 @@ bool UIRichTextTest::init()
|
|||
button->setTouchEnabled(true);
|
||||
button->setTitleText("switch");
|
||||
button->setPosition(Vec2(widgetSize.width / 2.0f, widgetSize.height / 2.0f + button->getContentSize().height * 2.5));
|
||||
// button->addTouchEventListener(this, toucheventselector(UIRichTextTest::touchEvent));
|
||||
button->addTouchEventListener(CC_CALLBACK_2(UIRichTextTest::touchEvent, this));
|
||||
button->setLocalZOrder(10);
|
||||
_widget->addChild(button);
|
||||
|
@ -45,7 +57,7 @@ bool UIRichTextTest::init()
|
|||
RichElementText* re1 = RichElementText::create(1, Color3B::WHITE, 255, "中国中国中国中国中国中国中国中国中国中国", "Marker Felt", 10);
|
||||
RichElementText* re2 = RichElementText::create(2, Color3B::YELLOW, 255, "And this is yellow. ", "Helvetica", 10);
|
||||
RichElementText* re3 = RichElementText::create(3, Color3B::GRAY, 255, "ご静聴ありがとうございました!!ご静聴ありがとうございました!!", "Helvetica", 10);
|
||||
RichElementText* re4 = RichElementText::create(4, Color3B::GREEN, 255, "And green. ", "Helvetica", 10);
|
||||
RichElementText* re4 = RichElementText::create(4, Color3B::GREEN, 255, "And green with TTF support. ", "fonts/Marker Felt.ttf", 10);
|
||||
RichElementText* re5 = RichElementText::create(5, Color3B::RED, 255, "Last one is red ", "Helvetica", 10);
|
||||
|
||||
RichElementImage* reimg = RichElementImage::create(6, Color3B::WHITE, 255, "cocosui/sliderballnormal.png");
|
||||
|
|
|
@ -0,0 +1,661 @@
|
|||
/****************************************************************************
|
||||
Copyright (c) 2013-2014 Chukong Technologies Inc.
|
||||
|
||||
http://www.cocos2d-x.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#include "UIScale9SpriteTest.h"
|
||||
#include "testResource.h"
|
||||
|
||||
// UIScale9SpriteTest
|
||||
UIScale9SpriteTest::UIScale9SpriteTest()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
UIScale9SpriteTest::~UIScale9SpriteTest()
|
||||
{
|
||||
}
|
||||
|
||||
bool UIScale9SpriteTest::init()
|
||||
{
|
||||
if (UIScene::init())
|
||||
{
|
||||
Size widgetSize = _widget->getContentSize();
|
||||
|
||||
auto moveTo = MoveBy::create(1.0, Vec2(30,0));
|
||||
auto moveBack = moveTo->reverse();
|
||||
auto rotateBy = RotateBy::create(1.0, 180);
|
||||
auto action = Sequence::create(moveTo,moveBack, rotateBy, NULL);
|
||||
|
||||
|
||||
Sprite *normalSprite1 = Sprite::create("cocosui/animationbuttonnormal.png");
|
||||
normalSprite1->setPosition(100, 270);
|
||||
// normalSprite1->setAnchorPoint(Vec2(0.5,0.5));
|
||||
// normalSprite1->setContentSize(Size(100,100));
|
||||
|
||||
this->addChild(normalSprite1);
|
||||
normalSprite1->runAction((FiniteTimeAction*)action->clone());
|
||||
|
||||
ui::Scale9Sprite *normalSprite2 = ui::Scale9Sprite::create("cocosui/animationbuttonnormal.png");
|
||||
normalSprite2->setPosition(120, 270);
|
||||
normalSprite2->setScale9Enabled(false);
|
||||
// normalSprite2->setContentSize(Size(100,100));
|
||||
// normalSprite2->setAnchorPoint(Vec2(0.5,0.5));
|
||||
normalSprite2->setOpacity(100);
|
||||
this->addChild(normalSprite2);
|
||||
normalSprite2->setColor(Color3B::GREEN);
|
||||
normalSprite2->runAction(action);
|
||||
|
||||
auto action2 = action->clone();
|
||||
ui::Scale9Sprite *sp1 = ui::Scale9Sprite::create("cocosui/animationbuttonnormal.png");
|
||||
sp1->setPosition(100, 160);
|
||||
sp1->setScale(1.2);
|
||||
sp1->setContentSize(Size(100,100));
|
||||
sp1->setColor(Color3B::GREEN);
|
||||
// sp1->setScale9Enabled(false);
|
||||
this->addChild(sp1);
|
||||
sp1->runAction((FiniteTimeAction*)action2);
|
||||
|
||||
cocos2d::ui::Scale9Sprite *sp2 = ui::Scale9Sprite::create("cocosui/animationbuttonnormal.png");
|
||||
sp2->setPosition(350, 160);
|
||||
sp2->setPreferredSize(sp1->getContentSize() * 1.2);
|
||||
sp2->setColor(Color3B::GREEN);
|
||||
sp2->setContentSize(Size(100,100));
|
||||
|
||||
this->addChild(sp2);
|
||||
auto action3 = action->clone();
|
||||
sp2->runAction((FiniteTimeAction*)action3);
|
||||
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
UIScale9SpriteHierarchialTest::UIScale9SpriteHierarchialTest()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
UIScale9SpriteHierarchialTest::~UIScale9SpriteHierarchialTest()
|
||||
{
|
||||
}
|
||||
|
||||
bool UIScale9SpriteHierarchialTest::init()
|
||||
{
|
||||
if (UIScene::init())
|
||||
{
|
||||
Size widgetSize = _widget->getContentSize();
|
||||
|
||||
auto moveTo = MoveBy::create(1.0, Vec2(30,0));
|
||||
auto moveBack = moveTo->reverse();
|
||||
auto rotateBy = RotateBy::create(1.0, 180);
|
||||
auto fadeOut = FadeOut::create(2.0);
|
||||
auto action = Sequence::create(moveTo,moveBack, rotateBy,fadeOut, NULL);
|
||||
|
||||
|
||||
Sprite *normalSprite1 = Sprite::create("cocosui/animationbuttonnormal.png");
|
||||
normalSprite1->setPosition(100, 270);
|
||||
// normalSprite1->setAnchorPoint(Vec2(0.5,0.5));
|
||||
// normalSprite1->setContentSize(Size(100,100));
|
||||
|
||||
// Sprite *childSprite = Sprite::create("cocosui/animationbuttonnormal.png");
|
||||
normalSprite1->setCascadeColorEnabled(true);
|
||||
normalSprite1->setCascadeOpacityEnabled(true);
|
||||
normalSprite1->setColor(Color3B::GREEN);
|
||||
|
||||
|
||||
|
||||
this->addChild(normalSprite1);
|
||||
normalSprite1->runAction((FiniteTimeAction*)action->clone());
|
||||
|
||||
ui::Scale9Sprite *normalSprite2 = ui::Scale9Sprite::create("cocosui/animationbuttonnormal.png");
|
||||
// normalSprite2->setPosition(120, 270);
|
||||
normalSprite2->setScale9Enabled(false);
|
||||
// normalSprite2->setContentSize(Size(100,100));
|
||||
// normalSprite2->setAnchorPoint(Vec2(0.5,0.5));
|
||||
normalSprite2->setOpacity(100);
|
||||
normalSprite1->addChild(normalSprite2);
|
||||
|
||||
auto action2 = action->clone();
|
||||
ui::Scale9Sprite *sp1 = ui::Scale9Sprite::create("cocosui/animationbuttonnormal.png");
|
||||
sp1->setPosition(200, 160);
|
||||
sp1->setScale(1.2);
|
||||
sp1->setContentSize(Size(100,100));
|
||||
sp1->setColor(Color3B::GREEN);
|
||||
// sp1->setScale9Enabled(false);
|
||||
this->addChild(sp1);
|
||||
sp1->runAction((FiniteTimeAction*)action2);
|
||||
|
||||
cocos2d::ui::Scale9Sprite *sp2 = ui::Scale9Sprite::create("cocosui/animationbuttonnormal.png");
|
||||
// sp2->setPosition(350, 160);
|
||||
sp2->setPreferredSize(sp1->getContentSize() * 1.2);
|
||||
sp2->setColor(Color3B::GREEN);
|
||||
sp2->setContentSize(Size(100,100));
|
||||
|
||||
sp1->addChild(sp2);
|
||||
// auto action3 = action->clone();
|
||||
// sp2->runAction((FiniteTimeAction*)action3);
|
||||
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
UIScale9SpriteTouchTest::UIScale9SpriteTouchTest()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
UIScale9SpriteTouchTest::~UIScale9SpriteTouchTest()
|
||||
{
|
||||
}
|
||||
|
||||
bool UIScale9SpriteTouchTest::init()
|
||||
{
|
||||
if (UIScene::init())
|
||||
{
|
||||
|
||||
Vec2 origin = Director::getInstance()->getVisibleOrigin();
|
||||
Size size = Director::getInstance()->getVisibleSize();
|
||||
|
||||
auto containerForSprite1 = Node::create();
|
||||
auto sprite1 = cocos2d::ui::Scale9Sprite::create("Images/CyanSquare.png");
|
||||
// sprite1->setScale9Enabled(false);
|
||||
sprite1->setPosition(origin+Vec2(size.width/2, size.height/2) + Vec2(-80, 80));
|
||||
containerForSprite1->addChild(sprite1);
|
||||
addChild(containerForSprite1, 10);
|
||||
|
||||
auto sprite2 = ui::Scale9Sprite::create("Images/MagentaSquare.png");
|
||||
sprite2->setPosition(origin+Vec2(size.width/2, size.height/2));
|
||||
// sprite2->setCascadeOpacityEnabled(false);
|
||||
// sprite2->setScale9Enabled(false);
|
||||
|
||||
addChild(sprite2, 20);
|
||||
|
||||
auto sprite3 = ui::Scale9Sprite::create("Images/YellowSquare.png");
|
||||
sprite3->setPosition(Vec2(0, 0));
|
||||
sprite3->setCascadeOpacityEnabled(false);
|
||||
sprite2->addChild(sprite3, 1);
|
||||
// sprite3->setScale9Enabled(false);
|
||||
|
||||
|
||||
// Make sprite1 touchable
|
||||
auto listener1 = EventListenerTouchOneByOne::create();
|
||||
listener1->setSwallowTouches(true);
|
||||
|
||||
listener1->onTouchBegan = [](Touch* touch, Event* event){
|
||||
auto target = static_cast<Sprite*>(event->getCurrentTarget());
|
||||
|
||||
Vec2 locationInNode = target->convertToNodeSpace(touch->getLocation());
|
||||
Size s = target->getContentSize();
|
||||
Rect rect = Rect(0, 0, s.width, s.height);
|
||||
|
||||
if (rect.containsPoint(locationInNode))
|
||||
{
|
||||
log("sprite began... x = %f, y = %f", locationInNode.x, locationInNode.y);
|
||||
target->setOpacity(180);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
listener1->onTouchMoved = [](Touch* touch, Event* event){
|
||||
auto target = static_cast<Sprite*>(event->getCurrentTarget());
|
||||
target->setPosition(target->getPosition() + touch->getDelta());
|
||||
};
|
||||
|
||||
listener1->onTouchEnded = [=](Touch* touch, Event* event){
|
||||
auto target = static_cast<ui::Scale9Sprite*>(event->getCurrentTarget());
|
||||
log("sprite onTouchesEnded.. ");
|
||||
target->setOpacity(255);
|
||||
if (target == sprite2)
|
||||
{
|
||||
containerForSprite1->setLocalZOrder(100);
|
||||
}
|
||||
else if(target == sprite1)
|
||||
{
|
||||
containerForSprite1->setLocalZOrder(0);
|
||||
}
|
||||
};
|
||||
|
||||
_eventDispatcher->addEventListenerWithSceneGraphPriority(listener1, sprite1);
|
||||
_eventDispatcher->addEventListenerWithSceneGraphPriority(listener1->clone(), sprite2);
|
||||
_eventDispatcher->addEventListenerWithSceneGraphPriority(listener1->clone(), sprite3);
|
||||
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9BatchNodeBasic::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
|
||||
auto sprite = Sprite::create("Images/blocks9.png");
|
||||
|
||||
auto blocks = ui::Scale9Sprite::create();
|
||||
|
||||
blocks->updateWithSprite(sprite, Rect(0, 0, 96, 96), false, Rect(0, 0, 96, 96));
|
||||
|
||||
blocks->setPosition(Vec2(x, y));
|
||||
|
||||
this->addChild(blocks);
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9FrameNameSpriteSheet::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
|
||||
auto blocks = ui::Scale9Sprite::createWithSpriteFrameName("blocks9.png");
|
||||
|
||||
blocks->setPosition(Vec2(x, y));
|
||||
|
||||
this->addChild(blocks);
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool UIS9FrameNameSpriteSheetRotated::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto blocks = ui::Scale9Sprite::createWithSpriteFrameName("blocks9r.png");
|
||||
|
||||
blocks->setPosition(Vec2(x, y));
|
||||
|
||||
this->addChild(blocks);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool UIS9BatchNodeScaledNoInsets::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
// scaled without insets
|
||||
auto sprite_scaled = Sprite::create("Images/blocks9.png");
|
||||
|
||||
auto blocks_scaled = ui::Scale9Sprite::create();
|
||||
blocks_scaled->updateWithSprite(sprite_scaled, Rect(0, 0, 96, 96), false, Rect(0, 0, 96, 96));
|
||||
|
||||
blocks_scaled->setPosition(Vec2(x, y));
|
||||
|
||||
blocks_scaled->setContentSize(Size(96 * 4, 96*2));
|
||||
|
||||
this->addChild(blocks_scaled);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9FrameNameSpriteSheetScaledNoInsets::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto blocks_scaled = ui::Scale9Sprite::createWithSpriteFrameName("blocks9.png");
|
||||
|
||||
blocks_scaled->setPosition(Vec2(x, y));
|
||||
|
||||
blocks_scaled->setContentSize(Size(96 * 4, 96*2));
|
||||
|
||||
this->addChild(blocks_scaled);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9FrameNameSpriteSheetRotatedScaledNoInsets::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
|
||||
auto blocks_scaled = ui::Scale9Sprite::createWithSpriteFrameName("blocks9r.png");
|
||||
|
||||
blocks_scaled->setPosition(Vec2(x, y));
|
||||
|
||||
blocks_scaled->setContentSize(Size(96 * 4, 96*2));
|
||||
|
||||
this->addChild(blocks_scaled);
|
||||
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool UIS9BatchNodeScaleWithCapInsets::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
|
||||
auto sprite_scaled_with_insets = Sprite::create("Images/blocks9.png");
|
||||
|
||||
auto blocks_scaled_with_insets = ui::Scale9Sprite::create();
|
||||
|
||||
blocks_scaled_with_insets->updateWithSprite(sprite_scaled_with_insets, Rect(0, 0, 96, 96), false, Rect(32, 32, 32, 32));
|
||||
|
||||
blocks_scaled_with_insets->setContentSize(Size(96 * 4.5, 96 * 2.5));
|
||||
|
||||
blocks_scaled_with_insets->setPosition(Vec2(x, y));
|
||||
|
||||
this->addChild(blocks_scaled_with_insets);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9FrameNameSpriteSheetInsets::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
|
||||
auto blocks_with_insets = ui::Scale9Sprite::createWithSpriteFrameName("blocks9.png", Rect(32, 32, 32, 32));
|
||||
|
||||
blocks_with_insets->setPosition(Vec2(x, y));
|
||||
|
||||
this->addChild(blocks_with_insets);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9FrameNameSpriteSheetInsetsScaled::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
auto blocks_scaled_with_insets = ui::Scale9Sprite::createWithSpriteFrameName("blocks9.png", Rect(32, 32, 32, 32));
|
||||
|
||||
blocks_scaled_with_insets->setContentSize(Size(96 * 4.5, 96 * 2.5));
|
||||
|
||||
blocks_scaled_with_insets->setPosition(Vec2(x, y));
|
||||
|
||||
this->addChild(blocks_scaled_with_insets);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9FrameNameSpriteSheetRotatedInsets::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
auto blocks_with_insets = ui::Scale9Sprite::createWithSpriteFrameName("blocks9r.png", Rect(32, 32, 32, 32));
|
||||
|
||||
blocks_with_insets->setPosition(Vec2(x, y));
|
||||
|
||||
this->addChild(blocks_with_insets);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9_TexturePacker::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_ui_plist);
|
||||
|
||||
float x = winSize.width / 4;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
auto s = ui::Scale9Sprite::createWithSpriteFrameName("button_normal.png");
|
||||
|
||||
s->setPosition(Vec2(x, y));
|
||||
|
||||
s->setContentSize(Size(14 * 16, 10 * 16));
|
||||
|
||||
this->addChild(s);
|
||||
|
||||
x = winSize.width * 3/4;
|
||||
|
||||
auto s2 = ui::Scale9Sprite::createWithSpriteFrameName("button_actived.png");
|
||||
|
||||
s2->setPosition(Vec2(x, y));
|
||||
|
||||
s2->setContentSize(Size(14 * 16, 10 * 16));
|
||||
|
||||
this->addChild(s2);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9FrameNameSpriteSheetRotatedInsetsScaled::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
auto blocks_scaled_with_insets = ui::Scale9Sprite::createWithSpriteFrameName("blocks9.png", Rect(32, 32, 32, 32));
|
||||
|
||||
blocks_scaled_with_insets->setContentSize(Size(96 * 4.5, 96 * 2.5));
|
||||
|
||||
blocks_scaled_with_insets->setPosition(Vec2(x, y));
|
||||
|
||||
this->addChild(blocks_scaled_with_insets);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9FrameNameSpriteSheetRotatedSetCapInsetLater::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
auto blocks_scaled_with_insets = ui::Scale9Sprite::createWithSpriteFrameName("blocks9r.png");
|
||||
|
||||
blocks_scaled_with_insets->setInsetLeft(32);
|
||||
blocks_scaled_with_insets->setInsetRight(32);
|
||||
|
||||
blocks_scaled_with_insets->setPreferredSize(Size(32*5.5f, 32*4));
|
||||
blocks_scaled_with_insets->setPosition(Vec2(x, y));
|
||||
|
||||
this->addChild(blocks_scaled_with_insets);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9CascadeOpacityAndColor::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
auto rgba = Layer::create();
|
||||
rgba->setCascadeColorEnabled(true);
|
||||
rgba->setCascadeOpacityEnabled(true);
|
||||
this->addChild(rgba);
|
||||
|
||||
|
||||
auto blocks_scaled_with_insets = ui::Scale9Sprite::createWithSpriteFrameName("blocks9r.png");
|
||||
|
||||
blocks_scaled_with_insets->setPosition(Vec2(x, y));
|
||||
|
||||
rgba->addChild(blocks_scaled_with_insets);
|
||||
auto actions = Sequence::create(FadeIn::create(1),
|
||||
TintTo::create(1, 0, 255, 0),
|
||||
TintTo::create(1, 255, 255, 255),
|
||||
FadeOut::create(1),
|
||||
nullptr);
|
||||
auto repeat = RepeatForever::create(actions);
|
||||
rgba->runAction(repeat);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9ZOrder::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
auto blocks_scaled_with_insets = ui::Scale9Sprite::createWithSpriteFrameName("blocks9r.png");
|
||||
|
||||
blocks_scaled_with_insets->setPosition(Vec2(x, y));
|
||||
this->addChild(blocks_scaled_with_insets);
|
||||
|
||||
Sprite *normalSprite = Sprite::createWithSpriteFrameName("blocks9r.png");
|
||||
normalSprite->setColor(Color3B::RED);
|
||||
blocks_scaled_with_insets->addChild(normalSprite);
|
||||
|
||||
auto topLabel = Label::createWithSystemFont("I Must be On the Top", "Arial", 15);
|
||||
topLabel->setPosition(Vec2(20,20));
|
||||
blocks_scaled_with_insets->addChild(topLabel);
|
||||
|
||||
auto bottomLabel = Label::createWithSystemFont("I Must be On the Bottom", "Arial", 15);
|
||||
bottomLabel->setPosition(Vec2(80,80));
|
||||
bottomLabel->setColor(Color3B::BLUE);
|
||||
blocks_scaled_with_insets->addChild(bottomLabel,-1);
|
||||
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIS9Flip::init()
|
||||
{
|
||||
if (UIScene::init()) {
|
||||
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(s_s9s_blocks9_plist);
|
||||
|
||||
auto winSize = Director::getInstance()->getWinSize();
|
||||
float x = winSize.width / 2;
|
||||
float y = 0 + (winSize.height / 2);
|
||||
|
||||
|
||||
auto normalSprite = ui::Scale9Sprite::createWithSpriteFrameName("blocks9r.png");
|
||||
|
||||
normalSprite->setPosition(Vec2(x, y ));
|
||||
this->addChild(normalSprite);
|
||||
|
||||
|
||||
auto normalLabel = Label::createWithSystemFont("Normal Sprite","Airal",10);
|
||||
normalLabel->setPosition(normalSprite->getPosition() + Vec2(0, normalSprite->getContentSize().height/2 + 10));
|
||||
this->addChild(normalLabel);
|
||||
|
||||
|
||||
|
||||
auto flipXSprite = ui::Scale9Sprite::createWithSpriteFrameName("blocks9r.png");
|
||||
|
||||
flipXSprite->setPosition(Vec2(x - 120, y ));
|
||||
this->addChild(flipXSprite);
|
||||
|
||||
flipXSprite->setFlippedX(true);
|
||||
|
||||
auto flipXLabel = Label::createWithSystemFont("Sprite FlipX","Airal",10);
|
||||
flipXLabel->setPosition(flipXSprite->getPosition() + Vec2(0, flipXSprite->getContentSize().height/2 + 10));
|
||||
this->addChild(flipXLabel);
|
||||
|
||||
|
||||
auto flipYSprite = ui::Scale9Sprite::createWithSpriteFrameName("blocks9r.png");
|
||||
|
||||
flipYSprite->setPosition(Vec2(x + 120, y));
|
||||
this->addChild(flipYSprite);
|
||||
|
||||
flipYSprite->setFlippedY(true);
|
||||
|
||||
auto flipYLabel = Label::createWithSystemFont("Sprite FlipY","Airal",10);
|
||||
flipYLabel->setPosition(flipYSprite->getPosition() + Vec2(0, flipYSprite->getContentSize().height/2 + 10));
|
||||
this->addChild(flipYLabel);
|
||||
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue