VgaGames 3 - VgaGames3-object man-pages

[.. upper level ..]

VG3_ofunc_mgmt_activate()

Activate managing of object-instances for a given object, i.e. call f_activate().
SYNTAX
int VG3_ofunc_mgmt_activate(struct vg3_ofunc *ofstruct, void *vgame, const char *oid, ...)

FUNCTION PARAMETERS
ofstruct Common VgaGames3-object structure
vgame Individual game structure
oid Object-ID
... Arbitrary indivdual paramters to pass

DESCRIPTION
Call the function f_activate() of the object-managing for object-instances with object-ID oid. This activates managing of the object-instances with VG3_ofunc_mgmt_run(). Refer to struct vg3_ofunc_ofmgmt.

RETURN VALUE
Returns 0 if ok, or the error return value of f_activate().

SEE ALSO
VG3_ofunc_mgmt_deactivate() VG3_ofunc_mgmt_run() VG3_ofunc_mgmt_data()