typedef struct doesn't work?
Posted: Wed Oct 12, 2011 9:16 pm
Why doesn't this code work? Is it just not allowed in the script?
This crashes gE:
- Code: Select all
typedef struct Object(
char o_Name[30];
int o_nID;
int o_nX;
int o_nY;
int o_Anim;
) Object;
This crashes gE:
- Code: Select all
struct Object(
char o_Name[30];
int o_nID;
int o_nX;
int o_nY;
int o_Anim;
);