This PR adds support for png carts in addition to p8 text carts. This required a couple of refactors. Audio structs now reflect memory compatibility with pico 8. Parsing of audio from text carts moved to the cart. This also adds a new library for getting data from the png: lodepng.
Audio refactor as well as PXA decompression adapted from Zepto 8.
Other possible things to tackle later:
rewrite PXA decompression to make sure I understand it.
Use memcpy or some other more elegant way to copy data from the png cart instead of current manual way.
Move lodepng into a git submodule (along with utf8util)
This PR adds support for png carts in addition to p8 text carts. This required a couple of refactors. Audio structs now reflect memory compatibility with pico 8. Parsing of audio from text carts moved to the cart. This also adds a new library for getting data from the png: lodepng.
Audio refactor as well as PXA decompression adapted from Zepto 8.
Other possible things to tackle later: