Hi,
I hate to say this, but bitfields don't work with Lite-C.
typedef struct
{
int some_value;
unsigned int my_flag1 : 1;
}my_struct;
... won't compile in Lite-C (at least, not on my end here, commercial edition).
I will now try using the bitshifting stuff with defines.
Alan
EDIT: Bitshifting seems to work. I can set and re-set my boolean values now without trouble. The thing is... how do I READ them out of the int variable? For flags, there's the predefined "is()" function, unfortunately it applies to engine objects ONLY. I really can't figure out how to read a variable bit-whise...