Docs » Autodocs » graphics.library » SetCollision
SetCollision -- Set a pointer to a user collision routine.
SetCollision(num, routine, GInfo) D0 A0 A1 void SetCollision(ULONG, VOID (*)(), struct GelsInfo *);
Sets a specified entry (num) in the user's collision vectors table equal to the address of the specified collision routine.
num = collision vector number routine = pointer to the user's collision routine GInfo = pointer to a GelsInfo structure
InitGels(), <graphics/gels.h>, <graphics/rastport.h>
|