VgaGames4

VgaGames4 - object man-pages

[.. upper level ..]

# struct VG_ObjMgmt

Structure for management of game objects.

ELEMENTS

char objid[VG_OBJID_SIZE] | Object-ID of the object to manage
void (*f_free)(void) | free()-function: for individual freeing
void (*f_run)(void *vgame) | run()-function: managing object-instances - parameters: - vgame: private structure of the game, or NULL if not existing
int (*f_data)(void *vgame, void *vptr) | data()-function: getting/setting data of object-management - parameters: - vgame: private structure of the game, or NULL if not existing - vptr: arbitrary parameter for getting/setting - return value: arbitrary value, but should not be -255