To create your own custom objects, use structs.
Something like...
typedef struct
{
int XVEL;
int YVEL;
int ZVEL;
string* model;
} ball;
Then create them like so...
ball my_ball;
my_ball.XVEL = 15;
my.ball.model = "sphere.mdl";
Hope you get the idea. When lite-c supports classes it should be easier.
Last edited by DJBMASTER; 09/07/08 21:06.