1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-03 22:29:31 +00:00

Add collision indices to all sprites jsut in case

git-svn-id: svn://svn.cc65.org/cc65/trunk@5943 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
karri 2012-12-01 13:32:24 +00:00
parent 39438c19f1
commit c7f6e87e10

View File

@ -387,6 +387,8 @@ draw_sprite: ; Draw it in render buffer
pixel_bitmap: pixel_bitmap:
.byte 2,%00010000, 0 ; A pixel bitmap .byte 2,%00010000, 0 ; A pixel bitmap
.data .data
collindex:
.byte 0
cls_sprite: cls_sprite:
.byte %11000001 ; A pixel sprite .byte %11000001 ; A pixel sprite
.byte %10010000 .byte %10010000
@ -554,6 +556,8 @@ GETDEFPALETTE:
; ;
.data .data
pixel_coll:
.byte 0
pixel_sprite: pixel_sprite:
.byte %00000001 ; A pixel sprite .byte %00000001 ; A pixel sprite
.byte %00010000 .byte %00010000
@ -630,6 +634,8 @@ GETPIXEL:
; ;
.data .data
line_coll:
.byte 0
line_sprite: line_sprite:
.byte 0 ; Will be replaced by the code .byte 0 ; Will be replaced by the code
.byte %00110000 .byte %00110000
@ -762,6 +768,8 @@ LINE:
; ;
.data .data
bar_coll:
.byte 0
bar_sprite: bar_sprite:
.byte %00000001 ; A pixel sprite .byte %00000001 ; A pixel sprite
.byte %00010000 .byte %00010000
@ -928,6 +936,8 @@ OUTTEXT:
jmp draw_sprite jmp draw_sprite
.data .data
text_coll:
.byte 0
text_sprite: text_sprite:
.byte $00,$90,$20 .byte $00,$90,$20
.addr 0, text_bitmap .addr 0, text_bitmap