peasant: move some more things around

This commit is contained in:
Vince Weaver 2024-09-19 21:54:32 -04:00
parent dcc0a0ba1d
commit 8391455d46
16 changed files with 118 additions and 83 deletions

View File

@ -47,17 +47,18 @@ peasant_disk2.dsk: QBOOT QLOAD \
$(DOS33_RAW) peasant_disk2.dsk 30 0 PEASANT4 0 0
peasant_disk3.dsk: WBOOT2 ./trogdor/TROGDOR ./ending/ENDING \
CLIFF ./game_over/GAME_OVER INSIDE INN ARCHERY ./map/MAP
./cliff/CLIFF ./game_over/GAME_OVER INSIDE INN \
./archery/ARCHERY ./map/MAP
cp $(EMPTY_DISK)/empty.dsk peasant_disk3.dsk
$(DOS33_RAW) peasant_disk3.dsk 0 0 WBOOT2 0 1
$(DOS33_RAW) peasant_disk3.dsk 3 0 ./game_over/GAME_OVER 0 0
$(DOS33_RAW) peasant_disk3.dsk 4 0 ./map/MAP 0 0
$(DOS33_RAW) peasant_disk3.dsk 6 0 ARCHERY 0 0
$(DOS33_RAW) peasant_disk3.dsk 6 0 ./archery/ARCHERY 0 0
$(DOS33_RAW) peasant_disk3.dsk 9 0 INSIDE 0 0
$(DOS33_RAW) peasant_disk3.dsk 14 0 INN 0 0
$(DOS33_RAW) peasant_disk3.dsk 19 0 ./trogdor/TROGDOR 0 0
$(DOS33_RAW) peasant_disk3.dsk 24 0 ./ending/ENDING 0 0
$(DOS33_RAW) peasant_disk3.dsk 29 0 CLIFF 0 0
$(DOS33_RAW) peasant_disk3.dsk 29 0 ./cliff/CLIFF 0 0
@ -214,35 +215,11 @@ inventory/INVENTORY:
####
CLIFF: cliff.o
ld65 -o CLIFF cliff.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
./cliff/CLIFF: DIALOG_CLIFF.ZX02
cd cliff && make
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 \
graphics_cliff/priority_cliff.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
ca65 -o cliff.o cliff.s -l cliff.lst
###
ARCHERY: archery.o
ld65 -o ARCHERY archery.o -C $(LINKER_SCRIPTS)/apple2_6000.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 \
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
ca65 -o archery.o archery.s -l archery.lst
./archery/ARCHERY:
cd archery && make
###
@ -579,12 +556,6 @@ dialog_test.o: dialog_test.s
####
graphics_archery/archery_graphics.inc:
cd graphics_archery && make
graphics_cliff/cliff_graphics.inc:
cd graphics_cliff && make
graphics_inn/graphics_inn.inc:
cd graphics_inn && make
@ -620,6 +591,8 @@ distclean:
cd graphics_inside && make clean
cd graphics_peasantry && make clean
cd text && make clean
cd archery && make distclean
cd cliff && make distclean
cd copy && make distclean
cd ending && make distclean
cd game_over && make distclean
@ -635,6 +608,8 @@ clean:
PEASANT1 PEASANT2 PEASANT3 PEASANT4 \
*.ZX02 dialog_peasant2 \
generate_common generate_all_symbols
cd archery && make clean
cd cliff && make clean
cd copy && make clean
cd ending && make clean
cd game_over && make clean

View File

@ -0,0 +1,36 @@
include ../../../Makefile.inc
LINKER_SCRIPTS = ../../../linker_scripts
all: ARCHERY
###
ARCHERY: archery.o
ld65 -o ARCHERY archery.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
archery.o: archery.s \
../zp.inc ../hardware.inc ../qload.inc \
../inventory/inventory.inc \
../parse_input.inc \
graphics_archery/archery_graphics.inc \
../new_map_location.s \
../wait.s ../wait_a_bit.s
ca65 -o archery.o archery.s -l archery.lst
####
graphics_archery/archery_graphics.inc:
cd graphics_archery && make
###
distclean:
make clean
cd graphics_archery && make clean
###
clean:
rm -f *~ *.o *.lst ARCHERY

View File

@ -4,12 +4,12 @@
; by Vince `deater` Weaver vince@deater.net
.include "hardware.inc"
.include "zp.inc"
.include "../hardware.inc"
.include "../zp.inc"
.include "qload.inc"
.include "./inventory/inventory.inc"
.include "parse_input.inc"
.include "../qload.inc"
.include "../inventory/inventory.inc"
.include "../parse_input.inc"
LOCATION_BASE = LOCATION_ARCHERY ; (28)
@ -138,23 +138,10 @@ game_over:
rts
.include "../new_map_location.s"
;.include "draw_peasant.s"
;.include "gr_copy.s"
.include "new_map_location.s"
;.include "peasant_move.s"
;.include "score.s"
;.include "keyboard.s"
.include "wait.s"
.include "wait_a_bit.s"
.include "../wait.s"
.include "../wait_a_bit.s"
.include "graphics_archery/archery_graphics.inc"

View File

@ -1,9 +1,6 @@
PNG2RLE = ../../../utils/gr-utils/png2rle
PNG2GR = ../../../utils/gr-utils/png2gr
PNG2HGR = ../../../utils/hgr-utils/png2hgr
#LZSA = ~/research/lzsa/lzsa/lzsa
B2D = ../../../utils/bmp2dhr/b2d
PNG2GR = ../../../../utils/gr-utils/png2gr
PNG2HGR = ../../../../utils/hgr-utils/png2hgr
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
all: archery_graphics.inc

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,43 @@
include ../../../Makefile.inc
LINKER_SCRIPTS = ../../../linker_scripts
all: CLIFF
####
CLIFF: cliff.o
ld65 -o CLIFF cliff.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
cliff.o: cliff.s \
../zp.inc ../hardware.inc ../qload.inc ../version.inc \
../inventory/inventory.inc \
../parse_input.inc \
cliff_actions.s \
../DIALOG_CLIFF.ZX02 ../dialog_cliff.inc \
graphics_cliff/cliff_graphics.inc \
graphics_cliff/priority_cliff.inc \
../sprites/peasant_sprites.inc \
../draw_peasant.s ../move_peasant.s \
../gr_copy.s ../hgr_copy.s \
../new_map_location.s \
../keyboard.s \
../wait.s ../wait_a_bit.s
ca65 -o cliff.o cliff.s -l cliff.lst
###
graphics_cliff/cliff_graphics.inc:
cd graphics_cliff && make
###
distclean:
make clean
cd graphics_cliff && make clean
###
clean:
rm -f *~ *.o *.lst CLIFF

View File

@ -6,12 +6,12 @@
; by Vince `deater` Weaver vince@deater.net
.include "hardware.inc"
.include "zp.inc"
.include "../hardware.inc"
.include "../zp.inc"
.include "qload.inc"
.include "./inventory/inventory.inc"
.include "parse_input.inc"
.include "../qload.inc"
.include "../inventory/inventory.inc"
.include "../parse_input.inc"
LOCATION_BASE = LOCATION_CLIFF_BASE ; (20)
@ -236,23 +236,20 @@ exiting_cliff:
.include "draw_peasant.s"
.include "move_peasant.s"
.include "../draw_peasant.s"
.include "../move_peasant.s"
.include "gr_copy.s"
.include "hgr_copy.s"
.include "../gr_copy.s"
.include "../hgr_copy.s"
.include "new_map_location.s"
.include "../new_map_location.s"
.include "../keyboard.s"
.include "../wait.s"
.include "../wait_a_bit.s"
.include "keyboard.s"
.include "wait.s"
.include "wait_a_bit.s"
.include "version.inc"
.include "../version.inc"
.include "graphics_cliff/cliff_graphics.inc"
@ -291,6 +288,6 @@ verb_tables_hi:
cliff_text_zx02:
.incbin "DIALOG_CLIFF.ZX02"
.incbin "../DIALOG_CLIFF.ZX02"
.include "cliff_actions.s"

View File

@ -1,4 +1,4 @@
.include "tokens.inc"
.include "../tokens.inc"
;=======================
;=======================
@ -247,4 +247,4 @@ cave_outer_do_climb:
.include "dialog_cliff.inc"
.include "../dialog_cliff.inc"

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 973 B

After

Width:  |  Height:  |  Size: 973 B

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB