VgaGames4 - object man-pages

[.. upper level ..]

vg4->object->call_data()

Call object-function f_data() for an object-instance.

SYNTAX
int vg4->object->call_data(void *vgame, unsigned int instanceid, void *vptr)

FUNCTION PARAMETERS
vgame Private structure of the game, or NULL if not existing
instanceid Instance-ID
vptr Arbitrary parameter for getting/setting data of the object-instance

RETURN VALUE
Returns return-value from f_data(), or -255 = could not call f_data()

DESCRIPTION
Call object-function f_data() for an object-instance.

SEE ALSO
vg4->object->call_run() vg4->object->call_draw()