This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;------------------------------------------------------------------------------- | |
_ShiftDown: | |
; Shifts whatever is in the clip down by some pixels | |
; Arguments: | |
; arg0 : Amount to shift by | |
; Returns: | |
; None | |
ld hl,3 | |
add hl,sp | |
ld c,(hl) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;------------------------------------------------------------------------------- | |
_Line: | |
; Draws an arbitrarily clipped line | |
; Arguments: | |
; arg0: x0 | |
; arg0: y0 | |
; arg0: x1 | |
; arg0: y1 | |
; Returns: | |
; true if drawn, false if offscreen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_lighten: | |
pop de | |
pop bc | |
pop hl | |
push hl | |
push bc | |
push de | |
ld a,b | |
cpl | |
ld b,a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ld hl,relocate_start | |
ld de,relocated | |
ld bc,relocate_end-relocate_start | |
ldir | |
jp executeapp | |
relocate_start: | |
relocate(cursorimage) | |
relocated: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert: myimages | |
palette: xlibc | |
images: | |
- fun.png | |
- funner.png | |
output: | |
c-source: myimages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output: c | |
converts: | |
- myimages | |
convert: myimages | |
images: | |
- image.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output: c | |
include-file: gfx.h | |
palettes: | |
- mypalette | |
converts: | |
- myimages | |
generate-palette: mypalette | |
images: automatic |