mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Fix png export orientation
A quirk of the Decompressed class dissociated the orientation from the output attribute. The makefile no longer suppresses output since it's still relevant.
This commit is contained in:
parent
8b8f7200a9
commit
ad0578fda0
12
Makefile
12
Makefile
@ -38,18 +38,18 @@ pokecrystal.gbc: pokecrystal.o
|
|||||||
cmp baserom.gbc $@
|
cmp baserom.gbc $@
|
||||||
|
|
||||||
|
|
||||||
@lzs: ${VERTGFX} ${HORIZGFX}
|
lzs: ${VERTGFX} ${HORIZGFX}
|
||||||
|
|
||||||
@pngs:
|
pngs:
|
||||||
cd extras; python gfx.py mass-decompress; python gfx.py dump-pngs
|
cd extras; python gfx.py mass-decompress; python gfx.py dump-pngs
|
||||||
|
|
||||||
|
|
||||||
@front.png: tiles.png
|
front.png: tiles.png
|
||||||
cd extras; python gfx.py png-to-lz --front $@ $(OBJECT_DIRECTORY)/tiles.2bpp
|
cd extras; python gfx.py png-to-lz --front $@ $(OBJECT_DIRECTORY)/tiles.2bpp
|
||||||
@tiles.png:
|
tiles.png:
|
||||||
cd extras; python gfx.py png-to-2bpp $@
|
cd extras; python gfx.py png-to-2bpp $@
|
||||||
@.png: ${VERTGFX}
|
.png: ${VERTGFX}
|
||||||
cd extras; python gfx.py png-to-lz --vert $@
|
cd extras; python gfx.py png-to-lz --vert $@
|
||||||
@.png: ${HORIZGFX}
|
.png: ${HORIZGFX}
|
||||||
cd extras; python gfx.py png-to-lz $@
|
cd extras; python gfx.py png-to-lz $@
|
||||||
|
|
||||||
|
@ -610,6 +610,8 @@ class Decompressed:
|
|||||||
self.tiles = transpose(self.tiles)
|
self.tiles = transpose(self.tiles)
|
||||||
self.pic = connect(self.tiles)
|
self.pic = connect(self.tiles)
|
||||||
|
|
||||||
|
self.output = self.pic + self.animtiles
|
||||||
|
|
||||||
|
|
||||||
def decompress(self):
|
def decompress(self):
|
||||||
"""replica of crystal's decompression"""
|
"""replica of crystal's decompression"""
|
||||||
|
Loading…
Reference in New Issue
Block a user