Commit Graph

9266 Commits

Author SHA1 Message Date
James Gregory e7077af4f9 Get CCGrid to work. 2013-05-06 13:23:44 -07:00
James Gregory 6ae68248c1 Add method to CCNode class to allow uploading data to GPU. Call it from CCSprite. 2013-05-06 13:23:44 -07:00
James Gregory d26492af71 Update build process for HelloCpp to build .js and .data files separately, pulling both in from index.html 2013-05-06 13:23:43 -07:00
James Gregory c71dff8c41 Build fixes for emscripten, add linkage to libfreetype.a 2013-05-06 13:23:43 -07:00
James Gregory d7dd9a24b7 Instruct Emscripten to emit .html file for HelloCpp sample. 2013-05-06 13:23:43 -07:00
James Gregory eb2f918418 Remove freetype source and add libfreetype.a as built by the Emscripten test-suite.
Revert "Add freetype 2.4.11 to repo"

This reverts commit 418906d2612b59ead6826d8395b69168bdff0ca4.
2013-05-06 13:23:43 -07:00
James Gregory 5d34490126 Revert "Add freetype 2.4.11 to repo"
This reverts commit 418906d2612b59ead6826d8395b69168bdff0ca4.
2013-05-06 13:23:43 -07:00
James Gregory 7d9d9bbaaa Add freetype 2.4.11 to repo 2013-05-06 13:23:42 -07:00
James Gregory 61c171c321 ifdef tango around some symbols that aren't defined in Emscripten (nor a bunch of other platforms, it seems). 2013-05-06 13:23:42 -07:00
James Gregory a6e42f20df bool x = NULL => bool x = false, to silence Clang. 2013-05-06 13:23:41 -07:00
James Gregory 719203f6d5 Add main.cpp files for app samples 2013-05-06 13:23:41 -07:00
James Gregory d89c050003 Add #defines for Emscripten platform 2013-05-06 13:23:41 -07:00
James Gregory 53340557f2 Add Makefiles for Emscripten + Emscripten external 2013-05-06 13:18:37 -07:00
James Chen c8a8a7b6c9 Update AUTHORS 2013-05-06 13:18:37 -07:00
Sam Clegg 4f6de1bcad Rename CCScriptSupport::executeAssert -> CCScriptSupport::handleAssert
Also remove the first "cond" argument, since it is always false.
2013-05-06 12:25:13 -07:00
Sam Clegg e699919bc6 Log assert messages
Now, assert messages as visible in the trace output
as well as the line number of condition that failed.
2013-05-06 12:25:13 -07:00
Adrien Béraud 6a5559da7f Check for 0 length in CCPoint::normalize() 2013-05-07 03:15:28 +10:00
Adrien Béraud f71798a35b Check for 0 length in CCPoint::normalize() 2013-05-07 02:59:38 +10:00
Adrien Béraud 49474f5194 documentation 2013-05-07 02:53:13 +10:00
Ed Bartley 040e6fc5b9 Promote global functions and variables for PVR decryption to ZipUtils class.
Rename PVR decryption functions and variables to better fit in the Cocos2DX framework.
Improve log error notes.
Update TextureAtlasEncryptionTest to match revised function call in ZipUtils.
Update ccSetPvrEncryptionKeyPart documentation to clarify that encryption is never 100% secure.
2013-05-06 10:04:45 -04:00
sunzhuoshi fa39c41136 Fixed bad commit 2013-05-06 19:06:16 +08:00
James Chen 9a63b39974 Merge branch 'master' of https://github.com/sunzhuoshi/cocos2d-x into iss2106-js-bytecode 2013-05-06 18:13:26 +08:00
sunzhuoshi 3da5a7d5cd Removed redundant code 2013-05-06 18:06:18 +08:00
minggo e6afc9a180 Update AUTHORS 2013-05-06 18:03:35 +08:00
minggo d395d26e1d Merge pull request #2417 from sergey-shambir/disable_copy
Added CC_DISABLE_COPY macro
2013-05-06 03:02:48 -07:00
sunzhuoshi cbb7824941 Modified jsbcc to use "-p" option to turn on pipe mode 2013-05-06 16:20:13 +08:00
samuele3 20e802f1bc issue #2103: Add more lua test case 2013-05-06 16:05:20 +08:00
sunzhuoshi 6e70884853 Removed redundant code 2013-05-06 15:43:33 +08:00
minggo 265168dac2 Update AUTHORS 2013-05-06 14:57:51 +08:00
minggo bbf0f9d1bd Merge pull request #2513 from savdalion/const-methods
Added const methods for classes - purer code!
2013-05-05 23:55:37 -07:00
minggo 2c9c5a02e5 Update AUTHORS 2013-05-06 14:54:12 +08:00
minggo 73dba9ef2c Merge pull request #2514 from savdalion/extend-tests
Added example for russian language in TestCpp / LabelTest / BMFontUnicode
2013-05-05 23:52:30 -07:00
minggo 9c1dfa12c8 Update AUTHORS 2013-05-06 14:46:22 +08:00
minggo 6f1eefea31 Merge pull request #2483 from Weeds/fix-HttpClient
Fixed crash in HttpClient request on 64Bit
2013-05-05 23:44:34 -07:00
James Chen f86a843c8b Merge branch 'master' of https://github.com/sunzhuoshi/cocos2d-x into iss2106-js-bytecode 2013-05-06 12:55:44 +08:00
sunzhuoshi d4c4170368 Removed bad comment 2013-05-06 12:02:17 +08:00
James Chen 4657ef716c Merge branch 'master' of https://github.com/sunzhuoshi/cocos2d-x into iss2106-js-bytecode 2013-05-06 11:43:40 +08:00
sunzhuoshi de27f1137a Changed byte code file ext to ".jsc"
Modified loading logic to load js file first
2013-05-06 11:32:23 +08:00
James Chen 0718e6cf70 Merge branch 'master' of https://github.com/sunzhuoshi/cocos2d-x into iss2106-js-bytecode 2013-05-06 11:15:19 +08:00
James Chen 0868a18751 Update AUTHORS 2013-05-06 11:04:42 +08:00
James Chen 407998619a Merge pull request #2517 from dumganhar/iss2105-travis
fixed #2105: Adding Travis build support for linux and NaCl.
2013-05-05 19:58:47 -07:00
James Chen fead37eab3 fixed #2105: Adding Travis build support for linux and NaCl. 2013-05-06 10:55:39 +08:00
James Chen f12d118cb9 Merge branch 'travis' of https://github.com/sbc100/cocos2d-x into sbc100-travis 2013-05-06 10:24:28 +08:00
minggo 26081961c4 Update AUTHORS 2013-05-06 10:20:20 +08:00
minggo cc3f75c789 Merge pull request #2516 from rtissera/ios43_jpeg_fix
Fix iOS 4.3 JPEG loading (darken picture, alpha issue)
2013-05-05 19:18:50 -07:00
Adrien Béraud 3661e34695 Bug fix: width and height reversed in CCSize operators 2013-05-05 19:51:44 +10:00
Romain Tisserand d2690d8942 Fix iOS 4.3 JPEG loading (darken picture, alpha issue) 2013-05-04 19:14:23 +02:00
Adrien Béraud 637cc1a9ed CCPoint::getDistance() implemented, CCPoint::length() renamed to getLength(), bug fixes 2013-05-05 02:58:46 +10:00
minggo 587dfb8e9f Update AUTHORS 2013-05-04 23:56:29 +08:00
minggo 1a0db3749e Merge pull request #2496 from mchinen/mchinensedit
Fix missing protocol method warning for iOS 6.0 addition
2013-05-04 08:55:07 -07:00