DQBputOver
SUB

Prototype

DECLARE SUB DQBputOver (BYVAL BackSeg, BYVAL BackOff, BYVAL x, BYVAL y,
                        BYVAL SpriteSeg, BYVAL SpriteOff)

Parameters

BackSeg - Segment of the array holding the 1st sprite data; use VARSEG

BackOff - Offset of the array holding the 1st sprite data; use VARPTR

x - X position of upper left corner of the sprite

y - Y position of upper left corner of the sprite

SpriteSeg - Segment of the array holding the 2nd sprite data; use VARSEG

SpriteOff - Offset of the array holding the 2nd sprite data; use VARPTR

Returns

none

Description

This function allows to draw a sprite over another one. The 1st sprite acts as the background, and the second one is drawn over it; DQBputOver supports transparency and the 2nd sprite is automatically clipped to the first one.

Notes:

none