peasant: more moving files around

This commit is contained in:
Vince Weaver 2024-09-19 14:01:32 -04:00
parent 25b58940a6
commit 5ea8eedf2a
7 changed files with 89 additions and 128 deletions

View File

@ -36,7 +36,7 @@ peasant_disk1.dsk: QBOOT QLOAD \
peasant_disk2.dsk: QBOOT QLOAD \
PEASANT1 PEASANT2 PEASANT3 PEASANT4 \
SAVE1 SAVE2 SAVE3 INVENTORY PARSE_INPUT.ZX02
SAVE1 SAVE2 SAVE3 ./inventory/INVENTORY PARSE_INPUT.ZX02
cp $(EMPTY_DISK)/empty.dsk peasant_disk2.dsk
$(DOS33_RAW) peasant_disk2.dsk 0 0 QBOOT 0 1
$(DOS33_RAW) peasant_disk2.dsk 0 2 QBOOT 1 1
@ -46,7 +46,7 @@ peasant_disk2.dsk: QBOOT QLOAD \
$(DOS33_RAW) peasant_disk2.dsk 0 13 SAVE3 0 1
$(DOS33_RAW) peasant_disk2.dsk 1 0 QLOAD 0 0
$(DOS33_RAW) peasant_disk2.dsk 13 0 PARSE_INPUT.ZX02 0 0
$(DOS33_RAW) peasant_disk2.dsk 14 0 INVENTORY 0 0
$(DOS33_RAW) peasant_disk2.dsk 14 0 ./inventory/INVENTORY 0 0
$(DOS33_RAW) peasant_disk2.dsk 15 0 PEASANT1 0 0
$(DOS33_RAW) peasant_disk2.dsk 20 0 PEASANT2 0 0
$(DOS33_RAW) peasant_disk2.dsk 25 0 PEASANT3 0 0
@ -198,20 +198,13 @@ qload.inc: generate_common QLOAD
###
inventory.inc: generate_common INVENTORY
./generate_common -a 0xd000 -s show_inventory inventory.lst > inventory.inc
./inventory/inventory.inc: ./generate_common
cd inventory && make
###
INVENTORY: inventory.o
ld65 -o INVENTORY inventory.o -C $(LINKER_SCRIPTS)/apple2_d000.inc
inventory.o: inventory.s \
sprites/inventory_sprites.inc \
hgr_2x16_sprite.s
ca65 -o inventory.o inventory.s -l inventory.lst
###
inventory/INVENTORY:
cd inventory && make
./vid_logo/VID_LOGO:
cd vid_logo && make
@ -230,7 +223,7 @@ inventory.o: inventory.s \
CLIFF: cliff.o
ld65 -o CLIFF cliff.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
cliff.o: cliff.s zp.inc inventory.inc \
cliff.o: cliff.s zp.inc ./inventory/inventory.inc \
parse_input.inc \
cliff_actions.s DIALOG_CLIFF.ZX02 dialog_cliff.inc \
graphics_cliff/cliff_graphics.inc sprites/peasant_sprites.inc \
@ -247,7 +240,7 @@ cliff.o: cliff.s zp.inc inventory.inc \
ARCHERY: archery.o
ld65 -o ARCHERY archery.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
archery.o: archery.s zp.inc inventory.inc \
archery.o: archery.s zp.inc ./inventory/inventory.inc \
parse_input.inc \
graphics_archery/archery_graphics.inc \
draw_box.s hgr_rectangle.s hgr_font.s hgr_input.s \
@ -262,7 +255,7 @@ archery.o: archery.s zp.inc inventory.inc \
MAP: map.o
ld65 -o MAP map.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
map.o: map.s zp.inc inventory.inc \
map.o: map.s zp.inc ./inventory/inventory.inc \
parse_input.inc \
graphics_map/map_graphics.inc \
draw_box.s hgr_rectangle.s hgr_font.s hgr_input.s \
@ -298,12 +291,12 @@ game_over.o: game_over.s zp.inc \
PEASANT1: peasant1.o
ld65 -o PEASANT1 peasant1.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
peasant1.o: peasant1.s zp.inc inventory.inc \
peasant1.o: peasant1.s zp.inc ./inventory/inventory.inc \
parse_input.inc \
peasant1_actions.s DIALOG_PEASANT1.ZX02 dialog_peasant1.inc \
text/peasant1.inc text/kerrek.inc \
kerrek_actions.s peasant_common.s \
sprites/peasant_sprites.inc sprites/inventory_sprites.inc \
sprites/peasant_sprites.inc \
sprites/kerrek_sprites.inc \
sprites/gary_sprites.inc \
graphics_peasantry/graphics_peasant1.inc \
@ -320,7 +313,7 @@ peasant1.o: peasant1.s zp.inc inventory.inc \
PEASANT2: peasant2.o
ld65 -o PEASANT2 peasant2.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
peasant2.o: peasant2.s zp.inc inventory.inc \
peasant2.o: peasant2.s zp.inc ./inventory/inventory.inc \
parse_input.inc \
peasant2_actions.s DIALOG_PEASANT2.ZX02 dialog_peasant2.inc \
graphics_peasantry/graphics_peasant2.inc sprites/peasant_sprites.inc \
@ -332,7 +325,7 @@ peasant2.o: peasant2.s zp.inc inventory.inc \
hgr_1x28_sprite_mask.s hgr_save_restore.s \
wait_a_bit.s draw_peasant.s hgr_text_box.s \
keyboard.s new_map_location.s \
move_peasant.s score.s inventory.s loadsave_menu.s
move_peasant.s score.s loadsave_menu.s
ca65 -o peasant2.o peasant2.s -l peasant2.lst
###
@ -340,7 +333,7 @@ peasant2.o: peasant2.s zp.inc inventory.inc \
PEASANT3: peasant3.o
ld65 -o PEASANT3 peasant3.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
peasant3.o: peasant3.s zp.inc inventory.inc \
peasant3.o: peasant3.s zp.inc ./inventory/inventory.inc \
parse_input.inc \
peasant3_actions.s DIALOG_PEASANT3.ZX02 dialog_peasant3.inc \
graphics_peasantry/graphics_peasant3.inc sprites/peasant_sprites.inc \
@ -359,7 +352,7 @@ peasant3.o: peasant3.s zp.inc inventory.inc \
PEASANT4: peasant4.o
ld65 -o PEASANT4 peasant4.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
peasant4.o: peasant4.s zp.inc inventory.inc \
peasant4.o: peasant4.s zp.inc ./inventory/inventory.inc \
parse_input.inc \
sprites/ned_sprites.inc \
peasant4_actions.s DIALOG_PEASANT4.ZX02 dialog_peasant4.inc \
@ -390,17 +383,16 @@ peasant4.o: peasant4.s zp.inc inventory.inc \
INSIDE: inside.o
ld65 -o INSIDE inside.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
inside.o: inside.s zp.inc inventory.inc \
inside.o: inside.s zp.inc ./inventory/inventory.inc \
parse_input.inc \
inside_actions.s DIALOG_INSIDE.ZX02 dialog_inside.inc \
graphics_inside/graphics_inside.inc sprites/peasant_sprites.inc \
graphics_inside/priority_inside.inc \
sprites/inventory_sprites.inc \
draw_box.s hgr_rectangle.s hgr_font.s hgr_input.s \
hgr_1x28_sprite_mask.s hgr_save_restore.s \
wait_a_bit.s draw_peasant.s hgr_text_box.s \
keyboard.s new_map_location.s \
move_peasant.s score.s inventory.s loadsave_menu.s
move_peasant.s score.s loadsave_menu.s
ca65 -o inside.o inside.s -l inside.lst
###
@ -408,17 +400,16 @@ inside.o: inside.s zp.inc inventory.inc \
INN: inn.o
ld65 -o INN inn.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
inn.o: inn.s zp.inc inventory.inc \
inn.o: inn.s zp.inc ./inventory/inventory.inc \
parse_input.inc \
inn_actions.s DIALOG_INN.ZX02 dialog_inn.inc \
graphics_inn/graphics_inn.inc sprites/peasant_sprites.inc \
graphics_inn/priority_inn.inc \
sprites/inventory_sprites.inc \
draw_box.s hgr_rectangle.s hgr_font.s hgr_input.s \
hgr_1x28_sprite_mask.s hgr_save_restore.s \
wait_a_bit.s draw_peasant.s hgr_text_box.s \
keyboard.s new_map_location.s \
move_peasant.s score.s inventory.s loadsave_menu.s
move_peasant.s score.s loadsave_menu.s
ca65 -o inn.o inn.s -l inn.lst
@ -647,9 +638,6 @@ graphics_peasantry/graphics_peasant1.inc:
####
sprites/inventory_sprites.inc:
cd sprites && make
sprites/peasant_sprites.inc:
cd sprites && make

View File

@ -19,7 +19,7 @@ ending.o: ending.s \
../hgr_sprite.s ../hgr_save_restore.s \
../wait_a_bit.s ../draw_peasant.s ../hgr_text_box.s \
../keyboard.s ../new_map_location.s \
../move_peasant.s ../score.s ../inventory.s
../move_peasant.s ../score.s ../inventory/inventory.inc
ca65 -o ending.o ending.s -l ending.lst

View File

@ -0,0 +1,36 @@
include ../../../Makefile.inc
LINKER_SCRIPTS = ../../../linker_scripts
all: inventory.inc
###
inventory.inc: ../generate_common INVENTORY
../generate_common -a 0xd000 -s show_inventory inventory.lst > inventory.inc
###
INVENTORY: inventory.o
ld65 -o INVENTORY inventory.o -C $(LINKER_SCRIPTS)/apple2_d000.inc
inventory.o: inventory.s \
sprites/inventory_sprites.inc \
../hgr_2x16_sprite.s
ca65 -o inventory.o inventory.s -l inventory.lst
###
sprites/inventory_sprites.inc:
cd sprites && make
###
distclean:
make clean
cd sprites && make clean
###
clean:
rm -f *~ *.o *.lst INVENTORY inventory.inc

View File

@ -1,6 +1,6 @@
.include "zp.inc"
.include "hardware.inc"
.include "qload.inc"
.include "../zp.inc"
.include "../hardware.inc"
.include "../qload.inc"
;=====================
; show inventory
@ -656,8 +656,8 @@ descriptions_high:
.byte >map_description
.byte >tshirt_description
.include "text/lookup.inc"
.include "text/inventory.inc.lookup"
.include "../text/lookup.inc"
.include "../text/inventory.inc.lookup"
.if 0
@ -927,4 +927,4 @@ inv_sprite_table_high:
.include "sprites/inventory_sprites.inc"
.include "hgr_2x16_sprite.s"
.include "../hgr_2x16_sprite.s"

View File

@ -0,0 +1,26 @@
HGR_SPRITE = ../../../../utils/hgr-utils/hgr_make_sprite
all: inventory_sprites.inc
inventory_sprites.inc: inventory.png
$(HGR_SPRITE) -l arrow_sprite inventory.png 14 3 27 19 > inventory_sprites.inc
$(HGR_SPRITE) -l baby_sprite inventory.png 14 20 27 36 >> inventory_sprites.inc
$(HGR_SPRITE) -l kerrek_belt_sprite inventory.png 14 37 27 53 >> inventory_sprites.inc
$(HGR_SPRITE) -l chicken_feed_sprite inventory.png 14 54 27 70 >> inventory_sprites.inc
$(HGR_SPRITE) -l bow_sprite inventory.png 14 71 27 87 >> inventory_sprites.inc
$(HGR_SPRITE) -l mask_sprite inventory.png 14 88 27 104 >> inventory_sprites.inc
$(HGR_SPRITE) -l pebbles_sprite inventory.png 14 105 27 121 >> inventory_sprites.inc
$(HGR_SPRITE) -l pills_sprite inventory.png 14 122 27 138 >> inventory_sprites.inc
$(HGR_SPRITE) -l riches_sprite inventory.png 14 139 27 155 >> inventory_sprites.inc
$(HGR_SPRITE) -l robe_sprite inventory.png 42 3 55 19 >> inventory_sprites.inc
$(HGR_SPRITE) -l soda_sprite inventory.png 42 20 55 36 >> inventory_sprites.inc
$(HGR_SPRITE) -l sub_sprite inventory.png 42 37 55 53 >> inventory_sprites.inc
$(HGR_SPRITE) -l trinket_sprite inventory.png 42 54 55 70 >> inventory_sprites.inc
$(HGR_SPRITE) -l troghelm_sprite inventory.png 42 71 55 87 >> inventory_sprites.inc
$(HGR_SPRITE) -l trogshield_sprite inventory.png 42 88 55 104 >> inventory_sprites.inc
$(HGR_SPRITE) -l trogsword_sprite inventory.png 42 105 55 121 >> inventory_sprites.inc
# $(HGR_SPRITE) -l no_sprite inventory.png 42 122 55 138 >> inventory_sprites.inc
$(HGR_SPRITE) -l tshirt_sprite inventory.png 42 139 55 155 >> inventory_sprites.inc
clean:
rm -f *~ inventory_sprites.inc

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,7 +1,6 @@
HGR_SPRITE = ../../../utils/hgr-utils/hgr_make_sprite
all: inventory_sprites.inc ending_sprites.inc trogdor_sprites.inc \
boat_sprites.inc boat_sprites_fish.inc peasant_sprites.inc ned_sprites.inc \
all: boat_sprites.inc boat_sprites_fish.inc peasant_sprites.inc ned_sprites.inc \
peasant_robe_sprites.inc kerrek_sprites.inc \
waterfall_sprites.inc bubble_sprites_w.inc bubble_sprites_e.inc \
river_bubble_sprites.inc gary_sprites.inc archery_sprites.inc
@ -79,63 +78,6 @@ gary_sprites.inc: gary_sprites.png
$(HGR_SPRITE) -s -l gary_foot1_sprite gary_sprites.png 91 118 104 128 >> gary_sprites.inc
$(HGR_SPRITE) -s -l gary_foot2_sprite gary_sprites.png 119 118 132 128 >> gary_sprites.inc
inventory_sprites.inc: inventory.png
$(HGR_SPRITE) -l arrow_sprite inventory.png 14 3 27 19 > inventory_sprites.inc
$(HGR_SPRITE) -l baby_sprite inventory.png 14 20 27 36 >> inventory_sprites.inc
$(HGR_SPRITE) -l kerrek_belt_sprite inventory.png 14 37 27 53 >> inventory_sprites.inc
$(HGR_SPRITE) -l chicken_feed_sprite inventory.png 14 54 27 70 >> inventory_sprites.inc
$(HGR_SPRITE) -l bow_sprite inventory.png 14 71 27 87 >> inventory_sprites.inc
$(HGR_SPRITE) -l mask_sprite inventory.png 14 88 27 104 >> inventory_sprites.inc
$(HGR_SPRITE) -l pebbles_sprite inventory.png 14 105 27 121 >> inventory_sprites.inc
$(HGR_SPRITE) -l pills_sprite inventory.png 14 122 27 138 >> inventory_sprites.inc
$(HGR_SPRITE) -l riches_sprite inventory.png 14 139 27 155 >> inventory_sprites.inc
$(HGR_SPRITE) -l robe_sprite inventory.png 42 3 55 19 >> inventory_sprites.inc
$(HGR_SPRITE) -l soda_sprite inventory.png 42 20 55 36 >> inventory_sprites.inc
$(HGR_SPRITE) -l sub_sprite inventory.png 42 37 55 53 >> inventory_sprites.inc
$(HGR_SPRITE) -l trinket_sprite inventory.png 42 54 55 70 >> inventory_sprites.inc
$(HGR_SPRITE) -l troghelm_sprite inventory.png 42 71 55 87 >> inventory_sprites.inc
$(HGR_SPRITE) -l trogshield_sprite inventory.png 42 88 55 104 >> inventory_sprites.inc
$(HGR_SPRITE) -l trogsword_sprite inventory.png 42 105 55 121 >> inventory_sprites.inc
# $(HGR_SPRITE) -l no_sprite inventory.png 42 122 55 138 >> inventory_sprites.inc
$(HGR_SPRITE) -l tshirt_sprite inventory.png 42 139 55 155 >> inventory_sprites.inc
ending_sprites.inc: end_sprites.png end_boat_sprites.png
$(HGR_SPRITE) -l baby0_sprite end_sprites.png 14 3 27 17 > ending_sprites.inc
$(HGR_SPRITE) -l baby0_mask end_sprites.png 42 3 55 17 >> ending_sprites.inc
$(HGR_SPRITE) -l baby1_sprite end_sprites.png 14 20 27 34 >> ending_sprites.inc
$(HGR_SPRITE) -l baby1_mask end_sprites.png 42 20 55 34 >> ending_sprites.inc
$(HGR_SPRITE) -l baby2_sprite end_sprites.png 14 37 27 51 >> ending_sprites.inc
$(HGR_SPRITE) -l baby2_mask end_sprites.png 42 37 55 51 >> ending_sprites.inc
$(HGR_SPRITE) -l baby3_sprite end_sprites.png 14 54 27 68 >> ending_sprites.inc
$(HGR_SPRITE) -l baby3_mask end_sprites.png 42 54 55 68 >> ending_sprites.inc
$(HGR_SPRITE) -l baby4_sprite end_sprites.png 14 71 27 85 >> ending_sprites.inc
$(HGR_SPRITE) -l baby4_mask end_sprites.png 42 71 55 85 >> ending_sprites.inc
$(HGR_SPRITE) -l baby5_sprite end_sprites.png 14 88 27 102 >> ending_sprites.inc
$(HGR_SPRITE) -l baby5_mask end_sprites.png 42 88 55 102 >> ending_sprites.inc
$(HGR_SPRITE) -l baby6_sprite end_sprites.png 14 105 27 119 >> ending_sprites.inc
$(HGR_SPRITE) -l baby6_mask end_sprites.png 42 105 55 119 >> ending_sprites.inc
$(HGR_SPRITE) -l baby7_sprite end_sprites.png 14 122 27 136 >> ending_sprites.inc
$(HGR_SPRITE) -l baby7_mask end_sprites.png 42 122 55 136 >> ending_sprites.inc
$(HGR_SPRITE) -l baby8_sprite end_sprites.png 14 139 27 153 >> ending_sprites.inc
$(HGR_SPRITE) -l baby8_mask end_sprites.png 42 139 55 153 >> ending_sprites.inc
$(HGR_SPRITE) -l baby9_sprite end_sprites.png 14 156 27 170 >> ending_sprites.inc
$(HGR_SPRITE) -l baby9_mask end_sprites.png 42 156 55 170 >> ending_sprites.inc
$(HGR_SPRITE) -l baby10_sprite end_sprites.png 14 173 27 187 >> ending_sprites.inc
$(HGR_SPRITE) -l baby10_mask end_sprites.png 42 173 55 187 >> ending_sprites.inc
$(HGR_SPRITE) -s -l jhonka1 end_sprites.png 105 84 145 115 >> ending_sprites.inc
$(HGR_SPRITE) -s -l jhonka2 end_sprites.png 105 121 145 152 >> ending_sprites.inc
$(HGR_SPRITE) -s -l boat0 end_boat_sprites.png 7 1 81 45 >> ending_sprites.inc
$(HGR_SPRITE) -s -l boat1 end_boat_sprites.png 7 47 81 91 >> ending_sprites.inc
$(HGR_SPRITE) -s -l boat2 end_boat_sprites.png 7 93 81 137 >> ending_sprites.inc
$(HGR_SPRITE) -s -l boat3 end_boat_sprites.png 7 139 81 183 >> ending_sprites.inc
$(HGR_SPRITE) -s -l boat4 end_boat_sprites.png 91 1 165 45 >> ending_sprites.inc
$(HGR_SPRITE) -s -l boat5 end_boat_sprites.png 91 47 165 91 >> ending_sprites.inc
$(HGR_SPRITE) -s -l boat6 end_boat_sprites.png 91 93 165 137 >> ending_sprites.inc
$(HGR_SPRITE) -s -l boat7 end_boat_sprites.png 91 139 165 183 >> ending_sprites.inc
$(HGR_SPRITE) -s -l foam0 end_sprites.png 155 38 165 85 >> ending_sprites.inc
$(HGR_SPRITE) -s -l foam1 end_sprites.png 183 38 195 85 >> ending_sprites.inc
kerrek_sprites.inc: kerrek_sprites.png
$(HGR_SPRITE) -s -l kerrek_l1_sprite kerrek_sprites.png 14 2 27 53 > kerrek_sprites.inc
$(HGR_SPRITE) -s -l kerrek_l1_head_sprite kerrek_sprites.png 7 6 13 14 >> kerrek_sprites.inc
@ -154,37 +96,6 @@ kerrek_sprites.inc: kerrek_sprites.png
$(HGR_SPRITE) -s -l kerrek_r_hitting_arm_down_sprite kerrek_sprites.png 154 13 188 31 >> kerrek_sprites.inc
$(HGR_SPRITE) -s -l kerrek_peasant_ground_sprite kerrek_sprites.png 182 41 188 54 >> kerrek_sprites.inc
trogdor_sprites.inc: trogdor_sprites.png
$(HGR_SPRITE) -s -l dashing0_sprite trogdor_sprites.png 14 6 20 45 > trogdor_sprites.inc
$(HGR_SPRITE) -s -l dashing1_sprite trogdor_sprites.png 28 6 34 45 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l dashing2_sprite trogdor_sprites.png 42 6 48 45 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l dashing3_sprite trogdor_sprites.png 56 6 62 45 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l dashing4_sprite trogdor_sprites.png 70 6 76 45 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l dashing5_sprite trogdor_sprites.png 84 6 90 45 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l dashing6_sprite trogdor_sprites.png 98 6 104 45 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l dashing7_sprite trogdor_sprites.png 112 6 118 45 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l dashing8_sprite trogdor_sprites.png 126 6 132 45 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l tiny_r1_sprite trogdor_sprites.png 14 49 20 54 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l tiny_r2_sprite trogdor_sprites.png 28 49 34 54 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l tiny_l1_sprite trogdor_sprites.png 14 56 20 61 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l tiny_l2_sprite trogdor_sprites.png 28 56 34 61 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l sword1_sprite trogdor_sprites.png 42 48 48 53 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l sword2_sprite trogdor_sprites.png 49 48 55 53 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l sword3_sprite trogdor_sprites.png 56 48 62 53 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l sword4_sprite trogdor_sprites.png 63 48 69 53 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l sword5_sprite trogdor_sprites.png 70 48 76 53 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l sword6_sprite trogdor_sprites.png 77 48 83 53 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l smoke1_sprite trogdor_sprites.png 14 62 20 69 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l smoke2_sprite trogdor_sprites.png 28 62 34 69 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l smoke3_sprite trogdor_sprites.png 42 62 48 69 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l smoke4_sprite trogdor_sprites.png 56 62 62 69 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l smoke5_sprite trogdor_sprites.png 70 62 76 69 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l sleep1_sprite trogdor_sprites.png 14 70 27 79 >> trogdor_sprites.inc
$(HGR_SPRITE) -s -l sleep2_sprite trogdor_sprites.png 28 70 41 79 >> trogdor_sprites.inc
waterfall_sprites.inc: waterfall_sprites.png
$(HGR_SPRITE) -s -l waterfall_sprite waterfall_sprites.png 14 5 27 52 > waterfall_sprites.inc