Topic: Simple question
I was reading the e_datafile.c's sourcecode and wondering, about that:
typedef struct
{
int type_and_id;
int size;
} DATAFILE_ITEM;
Why do you create an int "type_and_id", and mess with bitwise in the following of the code, instead of simply do:
typedef struct
{
short type;
short id;
int size;
} DATAFILE_ITEM;