From c7f6e87e10b0b7e43b3781dee0e12e18f39a55d8 Mon Sep 17 00:00:00 2001 From: karri Date: Sat, 1 Dec 2012 13:32:24 +0000 Subject: [PATCH] Add collision indices to all sprites jsut in case git-svn-id: svn://svn.cc65.org/cc65/trunk@5943 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/lynx/lynx-160-102-16.s | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libsrc/lynx/lynx-160-102-16.s b/libsrc/lynx/lynx-160-102-16.s index a5688ef84..6923ed678 100644 --- a/libsrc/lynx/lynx-160-102-16.s +++ b/libsrc/lynx/lynx-160-102-16.s @@ -387,6 +387,8 @@ draw_sprite: ; Draw it in render buffer pixel_bitmap: .byte 2,%00010000, 0 ; A pixel bitmap .data +collindex: + .byte 0 cls_sprite: .byte %11000001 ; A pixel sprite .byte %10010000 @@ -554,6 +556,8 @@ GETDEFPALETTE: ; .data +pixel_coll: + .byte 0 pixel_sprite: .byte %00000001 ; A pixel sprite .byte %00010000 @@ -630,6 +634,8 @@ GETPIXEL: ; .data +line_coll: + .byte 0 line_sprite: .byte 0 ; Will be replaced by the code .byte %00110000 @@ -762,6 +768,8 @@ LINE: ; .data +bar_coll: + .byte 0 bar_sprite: .byte %00000001 ; A pixel sprite .byte %00010000 @@ -928,6 +936,8 @@ OUTTEXT: jmp draw_sprite .data +text_coll: + .byte 0 text_sprite: .byte $00,$90,$20 .addr 0, text_bitmap