Is there a better way of getting the size of an enum ?
Code:
enum modes
{
? ??MODE_fgrs,
? ? MODE_gdsrg,
? ? MODE_lol,
? ? MODE_third
};
new Modes [modes];
new size = sizeof (Modes);