From de5fd04033329658913079ed9451dc753d964020 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Mon, 27 Jan 2020 16:10:35 -0500 Subject: [PATCH] ootw: add placeholders for c6 and c12 --- ootw/Makefile | 6 ++-- ootw/ootw_c12.s | 6 ++-- ootw/ootw_c6.s | 8 ++--- ootw/ootw_graphics/l12room/Makefile | 18 ++++++++++++ ootw/ootw_graphics/l12room/house.png | Bin 0 -> 404 bytes ootw/ootw_graphics/l12room/ootw_c12_room.inc | 29 +++++++++++++++++++ ootw/ootw_graphics/l6cave/Makefile | 18 ++++++++++++ ootw/ootw_graphics/l6cave/cave.png | Bin 0 -> 297 bytes ootw/ootw_graphics/l6cave/ootw_c6_cave.inc | 15 ++++++++++ 9 files changed, 90 insertions(+), 10 deletions(-) create mode 100644 ootw/ootw_graphics/l12room/Makefile create mode 100644 ootw/ootw_graphics/l12room/house.png create mode 100644 ootw/ootw_graphics/l12room/ootw_c12_room.inc create mode 100644 ootw/ootw_graphics/l6cave/Makefile create mode 100644 ootw/ootw_graphics/l6cave/cave.png create mode 100644 ootw/ootw_graphics/l6cave/ootw_c6_cave.inc diff --git a/ootw/Makefile b/ootw/Makefile index af4d24a4..e7b3d8cd 100644 --- a/ootw/Makefile +++ b/ootw/Makefile @@ -150,7 +150,7 @@ ootw_c6.o: ootw_c6.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/l6cave/ootw_c6_cave.inc ca65 -o ootw_c6.o ootw_c6.s -l ootw_c6.lst ### @@ -232,7 +232,7 @@ ootw_c12.o: ootw_c12.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/l12room/ootw_c12_room.inc ca65 -o ootw_c12.o ootw_c12.s -l ootw_c12.lst ### @@ -246,7 +246,7 @@ ootw_c13.o: ootw_c13.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/l13room/ootw_c13_room.inc ca65 -o ootw_c13.o ootw_c13.s -l ootw_c13.lst diff --git a/ootw/ootw_c12.s b/ootw/ootw_c12.s index 3a0e2815..9b12c68e 100644 --- a/ootw/ootw_c12.s +++ b/ootw/ootw_c12.s @@ -169,9 +169,9 @@ room: sta PHYSICIST_Y ; load background - lda #>(arena_rle) + lda #>(house_rle) sta GBASH - lda #<(arena_rle) + lda #<(house_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/l12room/ootw_c12_room.inc" ; sprites .include "ootw_graphics/sprites/physicist.inc" .include "ootw_graphics/sprites/alien.inc" diff --git a/ootw/ootw_c6.s b/ootw/ootw_c6.s index b1d537ad..656a5dcb 100644 --- a/ootw/ootw_c6.s +++ b/ootw/ootw_c6.s @@ -165,13 +165,13 @@ room: lda #0 sta cel_smc+1 - lda #28 + lda #16 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/l6cave/ootw_c6_cave.inc" ; sprites .include "ootw_graphics/sprites/physicist.inc" .include "ootw_graphics/sprites/alien.inc" diff --git a/ootw/ootw_graphics/l12room/Makefile b/ootw/ootw_graphics/l12room/Makefile new file mode 100644 index 00000000..a6bc833f --- /dev/null +++ b/ootw/ootw_graphics/l12room/Makefile @@ -0,0 +1,18 @@ +include ../../../Makefile.inc + +PNG2RLE = ../../../gr-utils/png2rle +PNG2LZ4 = ../../../gr-utils/png2lz4 + +all: ootw_c12_room.inc + +##### + +ootw_c12_room.inc: $(PNG2RLE) \ + house.png + $(PNG2RLE) asm house.png house_rle > ootw_c12_room.inc + +##### + +clean: + rm -f *~ *.o *.lst *.lzz *.inc + diff --git a/ootw/ootw_graphics/l12room/house.png b/ootw/ootw_graphics/l12room/house.png new file mode 100644 index 0000000000000000000000000000000000000000..dcdc967a4ff47d273fb3ba6b5188685aa310ddd4 GIT binary patch literal 404 zcmeAS@N?(olHy`uVBq!ia0vp^0YGfP!VDx!PCqyT;sp4FxB}_NatR53d;h!qWmudr zXU-gv^M5ZK{-039{6EWP?%cWm7hDkeYIEUkZ_)n?|Ns9_WS?0J)Wcce5n0T@AiN%g z8Izy&9R>=rmw5WRvOi&z7SWcLaW*vu3Q3l@MwB?`=jNv7l`uFLr6!i7rYMwWmSiZn zd-?{1H}Z)C6 ootw_c6_cave.inc + +##### + +clean: + rm -f *~ *.o *.lst *.lzz *.inc + diff --git a/ootw/ootw_graphics/l6cave/cave.png b/ootw/ootw_graphics/l6cave/cave.png new file mode 100644 index 0000000000000000000000000000000000000000..691a7d2917d755735bf926e935db40045ebe8051 GIT binary patch literal 297 zcmeAS@N?(olHy`uVBq!ia0vp^0YGfP!VDx!PCqyT;sp4FxB}_NatR53d;h!qWmudr zXU-gv^M5ZK{-039{6EWP?%cWm7hDkeYIEUkZ_)n?|Ns9_WS?0J)Wcce5n0T@AiN%g z8Izy&9R>=rmw5WRvOi&z7G;%6Y)sn+6p}1)jVN)>&&^HED`9XhN=+^|1xhO8@lMpA4V28$_|b mynN>ApXrLzY>!^Onikp~FDjq