home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMIGA PD 1
/
AMIGA-PD-1.iso
/
Programme_zum_Heft
/
Programmieren
/
Kurztests
/
PascalPCQ
/
Include
/
Graphics
/
Sprite.i
< prev
next >
Wrap
Text File
|
1990-08-28
|
605b
|
31 lines
{
Sprite.i for PCQ Pascal
}
const
SPRITE_ATTACHED = $80;
type
SimpleSprite = record
posctldata : Address;
height : Short;
x,y : Short; { current position }
num : Short;
end;
SimpleSpritePtr = ^SimpleSprite;
Procedure ChangeSprite(vp : Address; s : SimpleSpritePtr; newData : Address);
External; { vp is a ViewPortPtr }
Procedure FreeSprite(pick : Short);
External;
Function GetSprite(sprite : SimpleSpritePtr; pick : Short) : Short;
External;
Procedure MoveSprite(vp : Address; sprite : SimpleSpritePtr; x, y : Short);
External; { vp is a ViewPortPtr }