mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-29 00:31:52 +00:00
riven: add stained glass drawing
This commit is contained in:
parent
f53cee9340
commit
1866619d48
@ -6,3 +6,4 @@ LOAD_INSIDE = 1
|
||||
|
||||
; INSIDE
|
||||
RIVEN_INSIDE = 0
|
||||
RIVEN_STAINED3 = 1
|
||||
|
24
games/riven_hgr/disk10_files/graphics_stained/Makefile
Normal file
24
games/riven_hgr/disk10_files/graphics_stained/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
include ../../../../Makefile.inc
|
||||
|
||||
ZX02 = ~/research/6502_compression/zx02.git/build/zx02 -f
|
||||
PNG_TO_HGR = ../../../../utils/hgr-utils/png2hgr
|
||||
|
||||
all: stained_graphics.inc
|
||||
|
||||
stained_graphics.inc: \
|
||||
stained03.hgr.zx02
|
||||
echo "stained03_zx02: .incbin \"stained03.hgr.zx02\"" > stained_graphics.inc
|
||||
|
||||
####
|
||||
|
||||
%.hgr: %.png
|
||||
$(PNG_TO_HGR) $< > $@
|
||||
|
||||
%.hgr.zx02: %.hgr
|
||||
$(ZX02) -f $< $@
|
||||
|
||||
####
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o *.lst *.zx02 *.hgr stained_graphics.inc
|
||||
|
BIN
games/riven_hgr/disk10_files/graphics_stained/stained03.png
Normal file
BIN
games/riven_hgr/disk10_files/graphics_stained/stained03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.2 KiB |
@ -109,5 +109,6 @@ really_exit:
|
||||
|
||||
|
||||
.include "graphics_inside/inside_graphics.inc"
|
||||
.include "graphics_stained/stained_graphics.inc"
|
||||
|
||||
.include "leveldata_inside.inc"
|
||||
|
@ -3,7 +3,7 @@
|
||||
;===============================================
|
||||
|
||||
locations:
|
||||
.word location0
|
||||
.word location0,location1
|
||||
|
||||
; RIVEN_INSIDE -- part way across the bridge
|
||||
|
||||
@ -11,7 +11,7 @@ location0:
|
||||
.byte $ff ; north exit
|
||||
.byte $ff ; south exit
|
||||
.byte $E0 ; east exit
|
||||
.byte $ff ; west exit
|
||||
.byte RIVEN_STAINED3 ; west exit
|
||||
.byte $FF ; north exit_dir
|
||||
.byte $FF ; south exit_dir
|
||||
.byte DIRECTION_E ; east exit_dir
|
||||
@ -23,3 +23,22 @@ location0:
|
||||
.byte BG_EAST|BG_WEST
|
||||
.byte $ff ; special exit
|
||||
|
||||
; RIVEN_STAINED3 -- stained glass image
|
||||
|
||||
location1:
|
||||
.byte $ff ; north exit
|
||||
.byte $ff ; south exit
|
||||
.byte $ff ; east exit
|
||||
.byte RIVEN_INSIDE ; west exit
|
||||
.byte $FF ; north exit_dir
|
||||
.byte $FF ; south exit_dir
|
||||
.byte $ff ; east exit_dir
|
||||
.byte DIRECTION_W ; west exit_dir
|
||||
.word $0000 ; north bg
|
||||
.word $0000 ; south bg
|
||||
.word $0000 ; east bg
|
||||
.word stained03_zx02 ; west bg
|
||||
.byte BG_WEST
|
||||
.byte $ff ; special exit
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user