ootw: c7: add placeholder graphic

This commit is contained in:
Vince Weaver 2020-01-28 13:19:42 -05:00
parent 3834c5d51a
commit 8a7069db13
5 changed files with 52 additions and 4 deletions

View File

@ -163,7 +163,7 @@ ootw_c7.o: ootw_c7.s \
keyboard.s gr_run_sequence.s physicist.s \
collision.s door.s gun.s blast.s shield.s \
ootw_graphics/sprites/physicist.inc \
ootw_graphics/l14arena/ootw_c14_arena.inc
ootw_graphics/l7cave/ootw_c7_cave.inc
ca65 -o ootw_c7.o ootw_c7.s -l ootw_c7.lst
###

View File

@ -169,9 +169,9 @@ room:
sta PHYSICIST_Y
; load background
lda #>(arena_rle)
lda #>(cave_rle)
sta GBASH
lda #<(arena_rle)
lda #<(cave_rle)
jmp room_setup_done
@ -518,7 +518,7 @@ end_message:
.include "collision.s"
; room backgrounds
.include "ootw_graphics/l14arena/ootw_c14_arena.inc"
.include "ootw_graphics/l7cave/ootw_c7_cave.inc"
; sprites
.include "ootw_graphics/sprites/physicist.inc"
.include "ootw_graphics/sprites/alien.inc"

View File

@ -0,0 +1,18 @@
include ../../../Makefile.inc
PNG2RLE = ../../../gr-utils/png2rle
PNG2LZ4 = ../../../gr-utils/png2lz4
all: ootw_c7_cave.inc
#####
ootw_c7_cave.inc: $(PNG2RLE) \
cave.png
$(PNG2RLE) asm cave.png cave_rle > ootw_c7_cave.inc
#####
clean:
rm -f *~ *.o *.lst *.lzz *.inc

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

View File

@ -0,0 +1,30 @@
cave_rle: .byte $28 ; ysize=48
.byte $AD,$00, $02, $20, $00, $05, $20, $A7,$00
.byte $22, $A4,$00, $20, $02, $A0,$16,$00, $22, $00,$00
.byte $52, $A7,$00, $22, $A4,$00, $55, $A4,$00, $20
.byte $A0,$12,$00, $22, $00,$00, $25, $AC,$00, $55, $00,$00
.byte $20, $02, $A0,$13,$00, $55, $A3,$00, $02,$02, $50,$50
.byte $A8,$00, $55, $00, $20, $02, $A0,$14,$00, $55
.byte $A6,$00, $A4,$02, $A5,$00, $02, $AA,$00, $20,$20, $25,$25
.byte $00, $50, $20, $A3,$00, $20, $50, $25
.byte $02, $A0,$19,$00, $55, $22, $A4,$00, $55, $02
.byte $20,$20, $02, $A0,$1D,$00, $55, $22, $A3,$00, $02
.byte $22, $00, $55, $22, $A0,$1E,$00, $05, $22
.byte $A4,$00, $22, $00, $55, $22, $A0,$1E,$00, $20
.byte $02, $A4,$00, $22, $00, $25, $22, $A0,$12,$00
.byte $A6,$20, $A6,$00, $52, $A5,$00, $02, $00, $22
.byte $02, $AB,$00, $A4,$20, $A3,$02, $A5,$00, $02, $22
.byte $20, $A4,$00, $55, $A4,$00, $AC,$20, $A4,$02, $AE,$00
.byte $02, $22, $A3,$00, $25, $A0,$27,$00, $22, $A0,$1B,$00
.byte $20, $AB,$00, $55, $A0,$1A,$00, $22, $AC,$00, $55
.byte $A0,$18,$00, $20, $02, $AD,$00, $22, $A0,$16,$00, $20
.byte $02, $AF,$00, $52, $A0,$14,$00, $20, $22, $A0,$11,$00
.byte $55, $A0,$13,$00, $20, $22, $A0,$12,$00, $25, $A0,$12,$00
.byte $20, $02, $A0,$13,$00, $22, $A0,$12,$00, $22, $AA,$00
.byte $50, $00, $05, $20, $00,$00, $20, $00
.byte $20,$20, $22, $AB,$00, $A3,$20, $A4,$00, $22, $A3,$00
.byte $20,$20, $00, $A3,$20, $52, $00, $05, $00
.byte $A3,$02, $00, $02, $00,$00, $22, $A5,$20, $02,$02
.byte $00, $A3,$02, $A8,$00, $A4,$02, $00,$00, $05,$05, $AC,$00
.byte $02,$02, $A0,$26,$00
.byte $A1