peasant: start adding lightning to cliff heights

This commit is contained in:
Vince Weaver 2024-10-08 01:10:02 -04:00
parent cee8057a85
commit c6d5b96a4f
3 changed files with 24 additions and 0 deletions

View File

@ -17,6 +17,7 @@ cliff_heights.o: cliff_heights.s \
../text/DIALOG_CLIFF_HEIGHTS.ZX02 ../text/dialog_cliff_heights.inc \
graphics_heights/ciff_heights_graphics.inc \
graphics_heights/priority_cliff_heights.inc \
sprites_heights/lightning_sprites.inc \
../sprites_peasant/robe_sprites.zx02 \
../draw_peasant.s ../move_peasant.s \
../gr_copy.s ../hgr_copy.s \
@ -32,9 +33,15 @@ graphics_heights/ciff_heights_graphics.inc:
###
sprites_heights/lightning_sprites.inc:
cd sprites_heights && make
###
distclean:
make clean
cd graphics_heights && make clean
cd sprites_heights && make clean
###

View File

@ -401,3 +401,5 @@ cliff_text_zx02:
robe_sprite_data:
.incbin "../sprites_peasant/robe_sprites.zx02"
.include "sprites_heights/lightning_sprites.inc"

View File

@ -0,0 +1,15 @@
HGR_SPRITE = ../../../../utils/hgr-utils/hgr_make_sprite
all: lightning_sprites.inc
lightning_sprites.inc: lightning.png
$(HGR_SPRITE) -s -l small_lightning0 lightning.png 14 3 27 15 > lightning_sprites.inc
$(HGR_SPRITE) -s -l small_lightning1 lightning.png 42 3 62 21 >> lightning_sprites.inc
$(HGR_SPRITE) -s -l small_lightning2 lightning.png 77 3 104 29 >> lightning_sprites.inc
$(HGR_SPRITE) -s -l big_lightning0 lightning.png 7 51 27 91 >> lightning_sprites.inc
$(HGR_SPRITE) -s -l big_lightning1 lightning.png 35 51 69 103 >> lightning_sprites.inc
$(HGR_SPRITE) -s -l big_lightning2 lightning.png 84 51 132 118 >> lightning_sprites.inc
clean:
rm -f *~ lightning_sprites.inc