Commit Graph

7952 Commits

Author SHA1 Message Date
James Gregory 64222b20b8 Add resources to TestCpp makefile 2013-05-01 13:33:51 -07:00
James Gregory 905725184d Disable libcurl tests for Emscripten. 2013-05-01 13:33:51 -07:00
James Gregory dd9e82c068 Add pre-build dependencies for Emscripten libpng, libz. 2013-05-01 13:33:51 -07:00
James Gregory 17b3026724 Add index.html for SimpleGame and TestCpp. Set resolution on all canvases to 800x500 to match code. 2013-05-01 13:33:51 -07:00
James Gregory 934a21dcf1 Hack: use 800x500 resolution for window for emscripten so that mouse roughly lines up. 2013-05-01 13:33:50 -07:00
James Gregory 7fe614c1b4 Enable texture caching with emscripten. 2013-05-01 13:33:50 -07:00
James Gregory 20b7ea87ba Fix Motion streak client side buffers 2013-05-01 13:33:50 -07:00
James Gregory 85ac1bc42e Add platform files for Emscripten. 2013-05-01 13:33:50 -07:00
James Gregory a3f064983e Get CCGrid to work. 2013-05-01 13:33:50 -07:00
James Gregory 7a140c618e Add method to CCNode class to allow uploading data to GPU. Call it from CCSprite. 2013-05-01 13:33:50 -07:00
James Gregory c14773128e Update build process for HelloCpp to build .js and .data files separately, pulling both in from index.html 2013-05-01 13:33:50 -07:00
James Gregory 6417812802 Build fixes for emscripten, add linkage to libfreetype.a 2013-05-01 13:33:50 -07:00
James Gregory dc70cc0859 Instruct Emscripten to emit .html file for HelloCpp sample. 2013-05-01 13:33:50 -07:00
James Gregory e6c9fb79a0 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-01 13:33:50 -07:00
James Gregory e7df63c73d Revert "Add freetype 2.4.11 to repo"
This reverts commit 418906d2612b59ead6826d8395b69168bdff0ca4.
2013-05-01 13:33:49 -07:00
James Gregory 6ce6fa3917 Add freetype 2.4.11 to repo 2013-05-01 13:33:49 -07:00
James Gregory 0d9574066d ifdef tango around some symbols that aren't defined in Emscripten (nor a bunch of other platforms, it seems). 2013-05-01 13:33:48 -07:00
James Gregory 66174335fd bool x = NULL => bool x = false, to silence Clang. 2013-05-01 13:33:48 -07:00
James Gregory c798a34838 Add main.cpp files for app samples 2013-05-01 13:33:48 -07:00
James Gregory 5e85d27d96 Add #defines for Emscripten platform 2013-05-01 13:33:48 -07:00
James Gregory d062e88fe7 Set build config for Emscripten rather than Linux out of the box. 2013-05-01 13:33:48 -07:00
James Gregory 03836f3198 Add Makefiles for Emscripten + Emscripten external 2013-05-01 13:33:48 -07:00
James Gregory 13947c4c23 Add missing file from CocosDenshion. 2013-04-29 17:13:24 -07:00
James Gregory a6bf5a9e77 Add myself to authors so folks know who to blame :) 2013-04-24 13:00:07 -07:00
James Gregory fc52b246e1 Interval test working now also -- update TODO. 2013-04-24 12:12:38 -07:00
James Gregory 9ea2396884 Add missing fonts to TestCpp makefile, fixing layertest. 2013-04-24 12:11:10 -07:00
James Gregory 93a7b446b0 Updated TODO list 2013-04-23 22:45:53 -07:00
James Gregory c179939282 Add missing assets from TestCpp's Makefile 2013-04-23 22:45:27 -07:00
James Gregory 347eb1a603 Add libtiff to Emscripten builds, plus some build flags. 2013-04-23 22:45:05 -07:00
James Gregory f5b36f203e Add libtiff build -- build with straight emconfigure, emmake, with a troublesome assert removed (assert(sizeof(uint64) == 8)). 2013-04-23 22:43:40 -07:00
James Gregory b3aff98d69 Add missing assets from "Extentions" to TestCpp. 2013-04-23 19:03:57 -07:00
James Gregory 11cb6fbdd0 Set orientation to 0 for Emscripten, thus avoiding a segfault. 2013-04-23 19:01:35 -07:00
James Gregory bedc6e9314 Switch to O1 for now. 2013-04-23 14:45:30 -07:00
James Gregory ae19158da8 Remove LOG prefixes from emscripten makefiles 2013-04-23 14:43:59 -07:00
James Gregory b22fd3ea7b Remove lua samples from emscripten makefile 2013-04-23 14:43:15 -07:00
James Gregory d1f98fc79c Updates to my TODO list. 2013-04-23 13:11:17 -07:00
James Gregory 2e22848de5 Move to a separate Makefile for Emscripten. 2013-04-23 13:10:49 -07:00
James Gregory 8e9a8dce69 Fix the ordering of vertex attributes for CCProgressTimer. 2013-04-22 22:10:58 -07:00
James Gregory 3e85683ace Implement primitive drawing methods for Emscripten 2013-04-22 18:08:25 -07:00
James Gregory 172a96746d Move emscripten build to a separate Make target, remove Lua targets which I haven't tried to build. 2013-04-22 13:47:09 -07:00
James Gregory bb8dc433fc Enable -O2 optimization now that Emscripten seems to succeed. 2013-04-22 13:46:23 -07:00
James Gregory e92e70a450 Delete tmp directory after generating data file. 2013-04-22 13:46:03 -07:00
James Gregory 796152ad52 Bump Emscripten version 2013-04-22 13:01:45 -07:00
James Gregory 239f857b19 Rebuild libfreetype without references to my home dir in it. 2013-04-22 13:01:10 -07:00
James Gregory 7d499ce32a Correct the resolution in main.cpp for TestCpp for Emscripten 2013-04-19 18:17:53 -07:00
James Gregory c5baaa215a Remove -DLINUX from Emscripten chipmunk makefile 2013-04-19 18:17:28 -07:00
James Gregory 46542f96b0 Add note on origin of libxml binary. 2013-04-19 18:16:20 -07:00
James Gregory 4d6173af34 Don't set animation interval on emscripten builds since that is driven by the request frame API. 2013-04-19 18:15:54 -07:00
James Gregory 54fc4d8583 Add libxml2 build for Emscripten. 2013-04-15 14:59:39 -07:00
James Gregory b327d3fdbb Remove redundant -l flags from emscripten build -- it doesn't have fontconfig, and GL stuff is linked in automatically. 2013-04-12 14:52:53 -07:00