tfv: add animation

This commit is contained in:
Vince Weaver 2020-09-23 01:32:31 -04:00
parent 3c4f5d5b26
commit 5602b6fae0
16 changed files with 45 additions and 1 deletions

View File

@ -9,13 +9,16 @@ all: graphics.inc
####
graphics.inc: \
lookout.lzsa poster.lzsa dock.lzsa bar.lzsa town.lzsa map.lzsa
lookout.lzsa poster.lzsa dock.lzsa bar.lzsa town.lzsa map.lzsa \
bar_inside1.lzsa bar_inside2.lzsa
echo "lookout_lzsa: .incbin \"lookout.lzsa\"" > graphics.inc
echo "poster_lzsa: .incbin \"poster.lzsa\"" >> graphics.inc
echo "dock_lzsa: .incbin \"dock.lzsa\"" >> graphics.inc
echo "bar_lzsa: .incbin \"bar.lzsa\"" >> graphics.inc
echo "town_lzsa: .incbin \"town.lzsa\"" >> graphics.inc
echo "map_lzsa: .incbin \"map.lzsa\"" >> graphics.inc
echo "bar_inside1_lzsa: .incbin \"bar_inside1.lzsa\"" >> graphics.inc
echo "bar_inside2_lzsa: .incbin \"bar_inside2.lzsa\"" >> graphics.inc
%.gr: %.png
$(PNG2GR) $< $@

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 975 B

After

Width:  |  Height:  |  Size: 973 B

View File

@ -0,0 +1,41 @@
#include ../Makefile.inc
PNG2RLE = ../../gr-utils/png2rle
PNG2GR = ../../gr-utils/png2gr
LZSA = ~/research/lzsa/lzsa/lzsa
all: battle_graphics.inc
####
battle_graphics.inc: \
plains_battle.lzsa \
plains_anim01.lzsa plains_anim02.lzsa plains_anim03.lzsa \
plains_anim04.lzsa plains_anim05.lzsa plains_anim06.lzsa \
plains_anim07.lzsa plains_anim08.lzsa plains_anim09.lzsa \
plains_anim10.lzsa
echo "plains_battle: .incbin \"plains_battle.lzsa\"" > battle_graphics.inc
echo "plains_anim01: .incbin \"plains_anim01.lzsa\"" >> battle_graphics.inc
echo "plains_anim02: .incbin \"plains_anim02.lzsa\"" >> battle_graphics.inc
echo "plains_anim03: .incbin \"plains_anim03.lzsa\"" >> battle_graphics.inc
echo "plains_anim04: .incbin \"plains_anim04.lzsa\"" >> battle_graphics.inc
echo "plains_anim05: .incbin \"plains_anim05.lzsa\"" >> battle_graphics.inc
echo "plains_anim06: .incbin \"plains_anim06.lzsa\"" >> battle_graphics.inc
echo "plains_anim07: .incbin \"plains_anim07.lzsa\"" >> battle_graphics.inc
echo "plains_anim08: .incbin \"plains_anim08.lzsa\"" >> battle_graphics.inc
echo "plains_anim09: .incbin \"plains_anim09.lzsa\"" >> battle_graphics.inc
echo "plains_anim10: .incbin \"plains_anim10.lzsa\"" >> battle_graphics.inc
%.gr: %.png
$(PNG2GR) $< $@
%.lzsa: %.gr
$(LZSA) -r -f2 $< $@
####
clean:
rm -f *~ *.o *.lst *.gr *.lzsa battle_graphics.inc

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 873 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 873 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB