VgaGames4 - collision man-pages

[.. upper level ..]

vg4->collision->mark()

Mark object-instance-IDs in the collision-tag by drawing a rectangle around them.

SYNTAX
void vg4->collision->mark(unsigned int ctag, struct VG_Image *imgp, int color, const char *objid)

FUNCTION PARAMETERS
ctag Collision-tag
imgp Draw onto image or NULL = window
color Rectangle color: one of VG_COLORS or from VG_COLOR_RGB()
objid Restriction to a specific object-ID, or NULL = all

DESCRIPTION
Mark object-instance-IDs in the collision-tag by drawing a rectangle around them. If imgp is NULL, vg4->misc->bgposition_getobj() will be called. This is only a function for debugging to show inserted object-instances.