IPutSprite

From Doors CS, Doors CSE, and Doors CE Wiki
Jump to navigationJump to search

Description

XORs an 8-pixel-wide sprite to the graph buffer, aligned or unaligned. Does not clip. The sprite can be any height 1-64 pixels.

Technical Details

Inputs

a = X-coordinate of upper-left of sprite
b = Sprite height, in pixels
l = Y-coordinate of upper-left of sprite
ix = Pointer to first byte of sprite

Outputs

Sprite XORed to graph buffer

Destroyed

All