sh-dave / haxe-format-vox

Reader for MagicaVoxel files - ephtracy.github.io
zlib License
25 stars 6 forks source link

Support version 200 (magica 0.99.7) #2

Closed Benjythebee closed 2 years ago

Benjythebee commented 2 years ago

Changes relevant to this PR:

-       if (version != 150) {
+       if (version != 150 && version != 200) {

Also I assume @sh-dave had haxe in his global environment, cause I noted it wasn't in the devDependencies;

Also could not run haxe with version 42fc222 as it apparently does not exist. So I ran npm i haxe --save-dev to add haxe to devDependencies. My suggestion is to do a cleanup of .haxerc but I'm not a haxe expert so don't quote me.

npx haxe build-js.hxml ran perfectly after doing so.

Other non-relevant Changes:

Closes issue #1 ;

sh-dave commented 2 years ago

Thanks! I don't use global haxe but lix for dependency management. So i reverted the added haxe dependency in package.json. I also updated haxe to the latest 4.2.5.