2021-08-09 05:21:58 +00:00
|
|
|
|
|
|
|
PNG2RLE = ../../../utils/gr-utils/png2rle
|
|
|
|
PNG2GR = ../../../utils/gr-utils/png2gr
|
|
|
|
PNG2HGR = ../../../utils/hgr-utils/png2hgr
|
|
|
|
LZSA = ~/research/lzsa/lzsa/lzsa
|
|
|
|
B2D = ../../../utils/bmp2dhr/b2d
|
|
|
|
|
|
|
|
all: graphics.inc
|
|
|
|
|
|
|
|
|
|
|
|
graphics.inc: \
|
|
|
|
peasant_title.lzsa \
|
|
|
|
tips.lzsa \
|
|
|
|
cottage.lzsa \
|
|
|
|
lake_e.lzsa \
|
|
|
|
lake_w.lzsa \
|
|
|
|
river.lzsa \
|
2021-08-11 23:29:47 +00:00
|
|
|
knight.lzsa \
|
|
|
|
trogdor.lzsa \
|
|
|
|
game_over.lzsa
|
2021-08-11 03:43:30 +00:00
|
|
|
echo "title_lzsa: .incbin \"peasant_title.lzsa\"" > graphics.inc
|
2021-08-09 05:21:58 +00:00
|
|
|
echo "tips_lzsa: .incbin \"tips.lzsa\"" >> graphics.inc
|
|
|
|
echo "cottage_lzsa: .incbin \"cottage.lzsa\"" >> graphics.inc
|
|
|
|
echo "lake_w_lzsa: .incbin \"lake_w.lzsa\"" >> graphics.inc
|
2021-08-10 19:30:02 +00:00
|
|
|
echo "lake_e_lzsa: .incbin \"lake_e.lzsa\"" >> graphics.inc
|
2021-08-10 20:03:31 +00:00
|
|
|
echo "river_lzsa: .incbin \"river.lzsa\"" >> graphics.inc
|
2021-08-10 22:49:37 +00:00
|
|
|
echo "knight_lzsa: .incbin \"knight.lzsa\"" >> graphics.inc
|
2021-08-11 23:29:47 +00:00
|
|
|
echo "trogdor_lzsa: .incbin \"trogdor.lzsa\"" >> graphics.inc
|
|
|
|
echo "game_over_lzsa: .incbin \"game_over.lzsa\"" >> graphics.inc
|
2021-08-09 05:21:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
videlectrix.lzsa: videlectrix.hgr
|
|
|
|
$(LZSA) -r -f2 videlectrix.hgr videlectrix.lzsa
|
|
|
|
|
|
|
|
videlectrix.hgr: videlectrix.png
|
|
|
|
$(PNG2HGR) videlectrix.png > videlectrix.hgr
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
peasant_title.lzsa: peasant_title.hgr
|
|
|
|
$(LZSA) -r -f2 peasant_title.hgr peasant_title.lzsa
|
|
|
|
|
|
|
|
peasant_title.hgr: peasant_title.png
|
|
|
|
$(PNG2HGR) peasant_title.png > peasant_title.hgr
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
tips.lzsa: tips.hgr
|
|
|
|
$(LZSA) -r -f2 tips.hgr tips.lzsa
|
|
|
|
|
|
|
|
tips.hgr: tips.png
|
|
|
|
$(PNG2HGR) tips.png > tips.hgr
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
cottage.lzsa: cottage.hgr
|
|
|
|
$(LZSA) -r -f2 cottage.hgr cottage.lzsa
|
|
|
|
|
|
|
|
cottage.hgr: cottage.png
|
|
|
|
$(PNG2HGR) cottage.png > cottage.hgr
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
lake_w.lzsa: lake_w.hgr
|
|
|
|
$(LZSA) -r -f2 lake_w.hgr lake_w.lzsa
|
|
|
|
|
|
|
|
lake_w.hgr: lake_w.png
|
|
|
|
$(PNG2HGR) lake_w.png > lake_w.hgr
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
lake_e.lzsa: lake_e.hgr
|
|
|
|
$(LZSA) -r -f2 lake_e.hgr lake_e.lzsa
|
|
|
|
|
|
|
|
lake_e.hgr: lake_e.png
|
|
|
|
$(PNG2HGR) lake_e.png > lake_e.hgr
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
river.lzsa: river.hgr
|
|
|
|
$(LZSA) -r -f2 river.hgr river.lzsa
|
|
|
|
|
|
|
|
river.hgr: river.png
|
|
|
|
$(PNG2HGR) river.png > river.hgr
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
knight.lzsa: knight.hgr
|
|
|
|
$(LZSA) -r -f2 knight.hgr knight.lzsa
|
|
|
|
|
|
|
|
knight.hgr: knight.png
|
|
|
|
$(PNG2HGR) knight.png > knight.hgr
|
|
|
|
|
2021-08-11 23:29:47 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
trogdor.lzsa: trogdor.hgr
|
|
|
|
$(LZSA) -r -f2 trogdor.hgr trogdor.lzsa
|
|
|
|
|
|
|
|
trogdor.hgr: trogdor.png
|
|
|
|
$(PNG2HGR) trogdor.png > trogdor.hgr
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
game_over.lzsa: game_over.hgr
|
|
|
|
$(LZSA) -r -f2 game_over.hgr game_over.lzsa
|
|
|
|
|
|
|
|
game_over.hgr: game_over.png
|
|
|
|
$(PNG2HGR) game_over.png > game_over.hgr
|
|
|
|
|
|
|
|
|
2021-08-09 05:21:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ outline.inc *.lzsa *.gr *.hgr
|
|
|
|
|