Commit Graph

255 Commits

Author SHA1 Message Date
yangws f0661a2679 fix 4 bugs:
1 call CCTextureCache::purgeSharedTextureCache() to release cached texture when enableRetinaDisplay is called.
2 enableRetinaDisplay performence correctly.
3 Modify libcocos2d project pre-link event performence corretly when the source in the path which contain white blacks.
4 Modify HiResTest, that can switch resouce dynamicly now.
2011-03-11 11:04:22 +08:00
minggo 75e2ecc16d issue #387: move platform_support into cocos2dx/platform 2011-03-09 14:40:05 +08:00
minggo 63d283d3e8 delete ccxString.h 2011-03-09 12:00:04 +08:00
minggo b5a99f90df issue #375: rename file names and object names 2011-03-07 17:11:57 +08:00
minggo 4379a1c96f Move ccxApplication to cocos2dx/platform on ios. 2011-03-02 17:05:22 +08:00
yangws 63cedd1317 Merge code of Platform_support for IOS. 2011-02-23 18:22:05 +08:00
natural-law 60e9ae873c Merge branch 'dev-retina' of https://github.com/yangws/cocos2d-x into iss316
Conflicts:
	HelloWorld/AppDelegate.cpp
	tests/AppDelegate.cpp
2011-02-19 10:19:14 +08:00
yangws 85b9c9ae21 Retina display support and scale with keep w/h rate ok on win32. 2011-02-18 18:30:22 +08:00
natural-law 8035fc366c [uphone]Support read image file from zip file. 2011-02-17 16:16:50 +08:00
natural-law e4063fd190 [uphone]issue #340.Refactor platform_support on uphone,and run HelloWorld successful on both simulator and device. 2011-02-17 14:31:52 +08:00
yangws 76ea63da7f Change prefix CCX to ccx. 2011-01-27 17:07:36 +08:00
yangws 333f0b5574 Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into upto-0.99.5
Conflicts:
	HelloWorld/AppDelegate.cpp
	cocos2dx/particle_nodes/CCParticleSystem.cpp
	cocos2dx/proj.win32/cocos2d-win32.vcproj
	tests/AppDelegate.cpp
2011-01-20 11:18:35 +08:00
yangws 804dc4ef7c Merge branch 'upto-0.99.5' of https://github.com/cocos2d/cocos2d-x into upto-0.99.5
Conflicts:
	cocos2dx/platform/CCArchOptimalParticleSystem.h
	cocos2dx/platform/win32/CCXBitmapDC.cpp
	cocos2dx/proj.win32/cocos2d-win32.vcproj
2011-01-19 15:29:08 +08:00
yangws 79b711a758 move CCXBitmapDC from cocos2d/platform to platform_support. 2011-01-19 14:23:26 +08:00
walzer 04c685b95a issue #289, fix some warnings 2011-01-17 21:16:25 +08:00
yangws 67c0ad6332 add platform support project on win32.
Move macros, CCXUIImage, ccxCommon, CCXCocos2dDefine, 3rd party libraries, glu, NSLock, ccxConfig from platform/win32 to platform_support.
2011-01-15 18:05:35 +08:00
natural-law 5155980ef9 fixed #309,optimize code. 2011-01-11 13:57:13 +08:00
natural-law 237042f7dd fixed #309,App will not crash any more when surface re-created. 2011-01-10 17:54:44 +08:00
minggo f3e8665387 remove the usage of YES and NO 2010-12-31 16:37:00 +08:00
minggo d0a16a246e fixed comipling error and link error of upto-0.99.5 2010-12-31 14:56:24 +08:00
minggo 942d0233cf fixed #290 2010-12-30 17:30:11 +08:00
yangws c142070c2c misc_node upto-0.99.5.
Signed-off-by: yangws <yangws@cocos2d-x.org>
2010-12-25 15:09:42 +08:00
Walzer 5c858b182c issue #243, fix warnings 2010-12-18 12:02:57 +08:00
Leon 96f4f5c9fd fix some compiling warning for iOS 2010-12-17 23:44:19 +08:00
minggo 22f7521cd3 fixed #215 2010-11-22 18:09:38 +08:00
Walzer 820c2f0714 issue #211 cocos2d-x back to cocos2dx 2010-11-18 15:01:42 +00:00
Walzer b4328354af issue #211 cocos2dx -> cocos2d-x 2010-11-18 14:07:17 +00:00
Ming 31809a3774 issue #208 2010-11-18 06:50:28 +00:00
yangws b181701039 change win32 porject name 2010-11-17 02:46:43 +00:00
natural-law d2006ec7a9 debug 2010-11-13 09:55:41 +00:00
Ming 416a319344 fixed #203 2010-11-13 03:34:49 +00:00
Ming 6062cf1558 issue #202 2010-11-12 09:26:01 +00:00
Walzer 200080aea0 fix #188 , make eglDestroyContext after glDeleteTexture 2010-11-03 06:47:23 +00:00
Ming 6853385c8d resolve compile error for android 2010-11-03 02:59:07 +00:00
Walzer 3224f8b9c5 issue 172 : fix the bug. In CCTextureCache::addImage and CCTextureCache::addUIImage, we will lock the texture cache array before we use it. So we must make sure that we unlock the texture cache array when we return in the function. 2010-10-12 03:23:47 +00:00
Ming 7a9b417248 2010-10-11 10:05:34 +00:00
yangws 8900e0644c helloworld-win32 vertical screen ok. 2010-10-09 09:41:42 +00:00
Walzer 01eb8da314 issue #171, modify object-c code in annotate. 2010-09-28 04:14:12 +00:00
Walzer a279e5dc9b issue 169, we should retain the new variable first, and then release the old one. assignment at last. 2010-09-27 10:19:10 +00:00
Walzer 3f233e2651 issue #161,support *.jpg,add texture to texture cache 2010-09-27 09:26:35 +00:00
Walzer 5b82f4d468 issue #161,support *.jpg 2010-09-26 02:09:05 +00:00
Walzer 8de5442c0e issue #161,update CCTMXLayer, CCTMXTiledMap, CCTextureCache 2010-09-25 02:28:27 +00:00
Ming b87fb419fb issue #151 2010-09-18 06:14:51 +00:00
natural-law 8c1c49bff0 issue #143
Clear memory leaks
2010-09-11 08:35:06 +00:00
Ming 9cab8be0ff issue #138 2010-09-09 09:24:55 +00:00
Walzer cba41dc44b issue #129, add obj->release when obj is inserted into NSDictionary 2010-09-08 06:52:56 +00:00
Walzer 64d0d7a7e1 fixed #134, fullPathFromRelativeFile, modify CCTextureCache::addImage 2010-09-08 01:28:28 +00:00
Walzer 4b86b49b08 fixed #134, fullPathFromRelativeFile, modify CCTextureCache::addImage 2010-09-07 10:04:57 +00:00
Ming 7b33c38e51 issue #61: 2010-09-06 10:10:41 +00:00
Walzer fce216a111 issue #126, initialize the pointer 2010-09-06 06:15:06 +00:00
Ming 6e9ca000e5 issue #61: 2010-09-06 03:53:41 +00:00
Ming ee75a8c033 issue #61: 2010-09-06 03:50:24 +00:00
Ming cee96f55a7 issue #61: 2010-09-04 07:24:26 +00:00
Walzer 5fd1bf85b6 issue #121, return bool in function init**** 2010-09-04 04:02:52 +00:00
Ming c549d497a6 issue #116: remove the using of sprintf_s, because it is VC specific 2010-09-03 03:50:04 +00:00
Ming 37ea7dd914 issue #116: remove the using of sprintf_s, because it is VC specific 2010-09-03 03:49:10 +00:00
Ming 03afc91007 issue #116: remove the using of sprintf_s, because it is VC specific 2010-09-03 03:47:35 +00:00
Walzer 820676ea28 issue #18, complete the implementation left. 2010-09-01 04:02:36 +00:00
Walzer 3d91d1e58d update to uphone-sdk-2010.08.26, which adds opengl headers 2010-08-31 08:53:25 +00:00
Ming 39c6ebf503 issue #85:remove the using of dynamic_cast() 2010-08-31 03:20:37 +00:00
Walzer daa63cebda issue #82: implement initWithDictionary 2010-08-26 09:22:23 +00:00
Walzer 2658199ead issue #82: debug 2010-08-26 06:06:41 +00:00
Ming 7291056154 fixed #86 2010-08-25 09:21:38 +00:00
Ming bfadb1371a fixed #83: 2010-08-25 06:14:31 +00:00
Ming ebab68a580 issue #81: remove including header of "platform/platform.h" 2010-08-25 03:38:08 +00:00
Walzer 8c88676d27 issue #18, debug 2010-08-24 01:49:38 +00:00
Walzer 05e2ce6a51 issue #7, implement transition 2010-08-18 03:06:48 +00:00
Walzer e7e0ff565b fixed #48, implement CCXBitmapDC 2010-08-17 08:12:46 +00:00
Walzer 55f01578ea issue $48, implement CCXBitmapDC 2010-08-17 04:04:25 +00:00
Walzer bb04891ccb issue $48, implement CCXBitmapDC 2010-08-16 07:02:17 +00:00
Walzer 3fa4d2dcc4 issue $48, implement CCXBitmapDC and implement CCTexture2D.cpp 2010-08-16 03:59:53 +00:00
Walzer 9510be1d72 fixed #41, complete label 2010-08-12 09:39:25 +00:00
Ming 3c658c27a5 issue #44: fix some bugs 2010-08-12 09:01:51 +00:00
Walzer c06cae617f issue #41, implement CCLabel,CCLabelAtlas 2010-08-11 10:09:10 +00:00
Walzer e08807083c issue #18, debug, change description 2010-08-06 08:05:19 +00:00
Walzer 324a9fac83 issue #18, debug 2010-08-06 06:32:32 +00:00
Walzer 5856419293 issue #18, debug 2010-08-04 09:19:37 +00:00
Ming 76f62adf62 fixed #30: change some header files to include 2010-08-04 08:45:00 +00:00
Walzer 14427a24d7 2010-08-04 07:46:12 +00:00
Walzer 9db3106303 issue #18, debug 2010-08-03 08:49:25 +00:00
natural-law e9f36ce744 fixed #25
添加一个简单的CCSprite单元测试,同时修正几个小的bug
2010-08-03 04:07:32 +00:00
Walzer 8e496d09d9 issue #18, debug 2010-08-02 09:38:42 +00:00
Ming a324e38cb2 issue #21: change INT32 to int, change UINT to unsigned int 2010-08-02 02:58:00 +00:00
Walzer b0f648bda7 issue #7, debug 2010-08-02 02:16:35 +00:00
Walzer 3f8bbaec24 issue #7, add assert for UIImage.initWithContentsOfFile() 2010-07-30 10:21:00 +00:00
Walzer 88ce1c8f83 issue #7, implement 2010-07-30 08:35:07 +00:00
Walzer d2f792363c issue #7, debug 2010-07-28 05:48:13 +00:00
Walzer 81f5f6cce3 issue #7, modify 2010-07-27 11:52:33 +00:00
Walzer fdf12330d0 issue #7, modify initPremultipliedATextureWithImage(), to be checked 2010-07-27 10:31:52 +00:00
Walzer 3c798a5c26 issue #7, add allKeys() and allKeysForObject() in NSMutableDictionary.h, implement initPremultipliedATextureWithImage() in CCTexture2D.cpp,but still some questions 2010-07-27 09:55:06 +00:00
Ming 5eede62659 fixed #16: fixed compile errors 2010-07-27 05:47:29 +00:00
Walzer 0783eddda4 issue #7, implementations 2010-07-26 09:32:23 +00:00
Walzer d2235ef1a3 issue 7#, add NSLock.h in platform/ 2010-07-23 07:39:24 +00:00
Walzer 2fdf9c0ef3 issue #7, add namespace to timeval in platform_uphone.h 2010-07-23 06:23:53 +00:00
Walzer b34c778e79 issue #7, remove unusable include in .h 2010-07-22 10:39:40 +00:00
Walzer e631a65d9f issue #7, correct an error 2010-07-22 03:20:52 +00:00
Walzer 9934149257 issue #7, change string to const char* 2010-07-22 03:15:25 +00:00
Walzer 59c7a734ba issue #7 , implement .cpp 2010-07-21 09:40:10 +00:00
Walzer adbf70a033 issue #7 , implement .cpp 2010-07-21 03:13:32 +00:00
Walzer 2e5357dc30 issue #7, change the include directory 2010-07-20 06:29:18 +00:00
Walzer 5d60c2ca0a issue #7, change the use of NSMutableArray 2010-07-20 05:49:13 +00:00
Walzer c61ceb8020 issue #7 : complete CCTextureAtlas, done CCTextureCache partly 2010-07-16 08:28:11 +00:00
Walzer aaf5b5859f issue #7 : add CCTextureAtlas.h and implement CCTextureAtlas.cpp partly, add CCTextureCache.h 2010-07-16 06:15:06 +00:00
Walzer 108e3b6d2b issue #7 : add CCPVRTexture.h and implement CCPVRTexture.cpp partly 2010-07-16 02:34:42 +00:00
Walzer 63b87af767 issue #7 : add CCTexture2D.h and implement CCTexture2D.cpp partly 2010-07-15 10:15:00 +00:00