ootw: intro: move last intro stuff to graphics dir

This commit is contained in:
Vince Weaver 2019-02-24 01:38:01 -05:00
parent 8c2d46761e
commit 5714f35c2f
9 changed files with 38 additions and 6 deletions

View File

@ -55,7 +55,6 @@ intro.o: intro.s \
gr_copy.s gr_fast_clear.s gr_pageflip.s gr_unrle.s gr_putsprite.s \
gr_overlay.s \
keyboard.s random16.s text_print.s \
intro_tunnel1.inc intro_tunnel2.inc intro_gone.inc \
intro_graphics/01_building/intro_car.inc \
intro_graphics/01_building/intro_building_car.inc \
intro_graphics/01_building/intro_building.inc \
@ -78,7 +77,10 @@ intro.o: intro.s \
intro_graphics/06_console/intro_collider.inc \
intro_graphics/07_soda/intro_open_soda.inc \
intro_graphics/07_soda/intro_drinking.inc \
intro_graphics/08_lightning/lightning.inc
intro_graphics/08_lightning/lightning.inc \
intro_graphics/09_tunnel/intro_tunnel1.inc \
intro_graphics/09_tunnel/intro_tunnel2.inc \
intro_graphics/09_tunnel/intro_gone.inc
ca65 -o intro.o intro.s -l intro.lst
####

View File

@ -1641,10 +1641,9 @@ gone_loop:
.include "intro_graphics/08_lightning/lightning.inc"
.include "intro_tunnel1.inc"
.include "intro_tunnel2.inc"
.include "intro_gone.inc"
.include "intro_graphics/09_tunnel/intro_tunnel1.inc"
.include "intro_graphics/09_tunnel/intro_tunnel2.inc"
.include "intro_graphics/09_tunnel/intro_gone.inc"
;=================================

View File

@ -0,0 +1,31 @@
include ../../../Makefile.inc
PNG2RLE = ../../../gr-utils/png2rle
all: intro_tunnel1.inc intro_tunnel2.inc intro_gone.inc
#####
intro_tunnel1.inc: $(PNG2RLE) \
intro_tunnel1.png
$(PNG2RLE) asm intro_tunnel1.png tunnel1_rle > intro_tunnel1.inc
#####
intro_tunnel2.inc: $(PNG2RLE) \
intro_tunnel2.png
$(PNG2RLE) asm intro_tunnel2.png tunnel2_rle > intro_tunnel2.inc
#####
intro_gone.inc: $(PNG2RLE) \
intro_gone.png
$(PNG2RLE) asm intro_gone.png gone_rle > intro_gone.inc
#####
clean:
rm -f *~ *.inc

View File

Before

Width:  |  Height:  |  Size: 555 B

After

Width:  |  Height:  |  Size: 555 B

View File

Before

Width:  |  Height:  |  Size: 532 B

After

Width:  |  Height:  |  Size: 532 B

View File

Before

Width:  |  Height:  |  Size: 576 B

After

Width:  |  Height:  |  Size: 576 B