VG3_ofunc_mgmt_get_seed()
[added in version 1.5]
Return the address of the object-management's seed-value for an object-ID.
SYNTAX
unsigned int *
VG3_ofunc_mgmt_get_seed(struct vg3_ofunc *ofstruct,
const char *oid)
FUNCTION PARAMETERS
ofstruct | Common VgaGames3-object structure |
oid | Object-ID |
DESCRIPTION
Each object-management's object-ID has an individual seed,
which can be used for generating random numbers.
VG3_ofunc_mgmt_get_seed() returns the address of this seed
to pass it to VG3_nw_random_getnext().
Note that in the getofmgmt_*() function the seed is not yet available.
RETURN VALUE
Returns the address of the seed-value,
or NULL if oid does not exist.
SEE ALSO