Added TexturePacker console tool and updated to a new version of the Texture Atlas format.

More premake5 project refactor.
Fixed some Stysheet Properties types and fixed some StyleSheetProperty transitions.
This commit is contained in:
Martín Lucas Golini
2020-01-19 17:17:09 -03:00
parent 57c31ffcb4
commit 9d32e29ffb
30 changed files with 746 additions and 437 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/sh
# Currently latest emsdk tested and working version: 1.38.33
# Currently latest emsdk tested and working version: latest-fastcomp
# remember to first set the environment
# source /path/to/emsdk/emsdk_env.sh
cd $(dirname "$0")
premake4 --file=../../premake4.lua --with-gles1 --with-gles2 --with-static-eepp --platform=emscripten --with-backend=SDL2 gmake
cd ../../make/emscripten/
@@ -7,4 +9,4 @@ ln -sf ../../bin/assets/ ./
sed -i 's/-rcs/rcs/g' *.make
emmake make -j`nproc` $@
# Fix a bug in emscripten, see my patch: https://github.com/emscripten-core/emscripten/pull/10208
sed 's/function _alGetSource3f(source,/function _alGetSource3f(sourceId,/' ../../bin/*.js
sed -i 's/function _alGetSource3f(source,/function _alGetSource3f(sourceId,/' ../../bin/*.js