Commit Graph

9481 Commits

Author SHA1 Message Date
James Gregory 235b80e7f8 Get CCGrid to work. 2013-05-06 21:22:34 -07:00
James Gregory 9370c11444 Revert "Add freetype 2.4.11 to repo"
This reverts commit 418906d2612b59ead6826d8395b69168bdff0ca4.
2013-05-06 21:19:36 -07:00
James Gregory 91ba2fe325 Add freetype 2.4.11 to repo 2013-05-06 21:19:35 -07:00
James Chen 363550167a Update AUTHORS 2013-05-06 21:17:53 -07:00
James Gregory cd166c789f Add missing files to testcpp makefile 2013-05-06 21:17:22 -07:00
James Gregory 7a3875b99d Point Emscripten root to be the external referenced by the tree. 2013-05-06 21:17:22 -07:00
James Gregory 2b8efda0f4 Use floats instead of doubles for Chipmunk. 2013-05-06 21:17:22 -07:00
James Gregory de9df010c3 Enable texture cache on Emscripten. Not sure yet if this is the best balance, since we're both short on memory *and* compute time. 2013-05-06 21:17:22 -07:00
James Gregory 9b68a65fee Compile Chipmunk as C++ rather than C so that calling from C++ code works under Emscripten. 2013-05-06 21:17:22 -07:00
James Gregory a2a394ebf4 Add myself to authors so folks know who to blame :) 2013-05-06 21:17:22 -07:00
sunzhuoshi a1011cecbc Fixed issue when non-ascii string used in script 2013-05-07 12:15:22 +08:00
James Gregory 062a5eefd8 Move GL server-side buffer code into a separate class and use multiple inheritance to deploy only to classes that need it. 2013-05-06 21:13:21 -07:00
James Gregory 6c828bbe4f Switch to using GL_DYNAMIC_DRAW. 2013-05-06 21:13:21 -07:00
James Gregory 809b77d632 Get CCGrid to work. 2013-05-06 21:08:28 -07:00
James Gregory 4581fa7309 Instruct Emscripten to emit .html file for HelloCpp sample. 2013-05-06 21:06:07 -07:00
James Gregory d47a1befd5 Revert "Add freetype 2.4.11 to repo"
This reverts commit 418906d2612b59ead6826d8395b69168bdff0ca4.
2013-05-06 21:05:39 -07:00
James Gregory 75b21eea92 Add freetype 2.4.11 to repo 2013-05-06 21:05:38 -07:00
James Gregory cc0724aed0 Add Makefiles for Emscripten + Emscripten external 2013-05-06 21:05:01 -07:00
James Gregory 041fdac48a Add missing file from CocosDenshion. 2013-05-06 21:00:39 -07:00
James Gregory 45c832e550 Add myself to authors so folks know who to blame :) 2013-05-06 21:00:39 -07:00
James Gregory 9bdca5c9b3 Interval test working now also -- update TODO. 2013-05-06 21:00:39 -07:00
James Gregory 6bbd6ddf6c Add missing fonts to TestCpp makefile, fixing layertest. 2013-05-06 21:00:39 -07:00
James Gregory 34c58aac3c Updated TODO list 2013-05-06 21:00:39 -07:00
James Gregory 83612c98f9 Add missing assets from TestCpp's Makefile 2013-05-06 21:00:39 -07:00
James Gregory 4fb6b406ce Add libtiff to Emscripten builds, plus some build flags. 2013-05-06 21:00:39 -07:00
James Gregory 735280572a Add libtiff build -- build with straight emconfigure, emmake, with a troublesome assert removed (assert(sizeof(uint64) == 8)). 2013-05-06 21:00:39 -07:00
James Gregory 7cb51f4eb4 Add missing assets from "Extentions" to TestCpp. 2013-05-06 21:00:39 -07:00
James Gregory 82c6f68593 Set orientation to 0 for Emscripten, thus avoiding a segfault. 2013-05-06 21:00:38 -07:00
James Gregory 4d4b638531 Switch to O1 for now. 2013-05-06 21:00:38 -07:00
James Gregory d529287cfa Remove LOG prefixes from emscripten makefiles 2013-05-06 21:00:38 -07:00
James Gregory 16612a06e1 Remove lua samples from emscripten makefile 2013-05-06 21:00:38 -07:00
James Gregory c126a09c27 Updates to my TODO list. 2013-05-06 21:00:38 -07:00
James Gregory be0bea4a01 Move to a separate Makefile for Emscripten. 2013-05-06 21:00:38 -07:00
James Gregory 3829a5741b Fix the ordering of vertex attributes for CCProgressTimer. 2013-05-06 21:00:38 -07:00
James Gregory 130647d97f Implement primitive drawing methods for Emscripten 2013-05-06 21:00:38 -07:00
James Gregory 16e9598a54 Enable -O2 optimization now that Emscripten seems to succeed. 2013-05-06 20:59:50 -07:00
James Gregory 5bd1ea9d41 Delete tmp directory after generating data file. 2013-05-06 20:59:50 -07:00
James Gregory 0a96f77a4c Bump Emscripten version 2013-05-06 20:59:50 -07:00
James Gregory 5b8494199e Rebuild libfreetype without references to my home dir in it. 2013-05-06 20:59:50 -07:00
James Gregory 6994d451fe Correct the resolution in main.cpp for TestCpp for Emscripten 2013-05-06 20:59:49 -07:00
James Gregory a79326c0ac Remove -DLINUX from Emscripten chipmunk makefile 2013-05-06 20:59:49 -07:00
James Gregory 3077190e29 Add note on origin of libxml binary. 2013-05-06 20:59:49 -07:00
James Gregory 81ded66016 Don't set animation interval on emscripten builds since that is driven by the request frame API. 2013-05-06 20:59:49 -07:00
James Gregory 9d775d136b Add libxml2 build for Emscripten. 2013-05-06 20:59:49 -07:00
James Gregory e3dc808a7c Remove redundant -l flags from emscripten build -- it doesn't have fontconfig, and GL stuff is linked in automatically. 2013-05-06 20:59:48 -07:00
James Gregory 5bac7b52ac Move GL server-side buffer code into a separate class and use multiple inheritance to deploy only to classes that need it. 2013-05-06 20:59:48 -07:00
James Gregory a9c8d99a4c Switch to using GL_DYNAMIC_DRAW. 2013-05-06 20:59:48 -07:00
James Gregory 872df86f84 Remove debug print statement 2013-05-06 20:59:48 -07:00
James Gregory 3546534a66 Switch makefile over to using Emscripten headers for freetype. 2013-05-06 20:59:48 -07:00
James Gregory e4ebc5e65d List of things left to do to get Emscripten working 100%. Living document. 2013-05-06 20:59:48 -07:00