User talk:Ssg
Let's see what we have:
file id = res_id
level id = lev_id
unsigned integer = uint + lenght in bits
signed integer = int + lenght in bits
high bit = hb
float = float
link = link
raw offset = offset
string = char[lenght in bytes]
boolean = bool color = color
bitset = bitset (In my interpretation a bitset has a lenght of one byte. "Bool" for bitsets is a bit confusing in my opinion. If I recall correctly Oni uses only "bitset collections", which are 4 bitsets in a row (so always 4 bytes are used, even if there's no need for 4 bytes).
>>I'd strongly suggest vectors, quaternions, planes and matrices.
IMO that's not a good idea. It turns "type" more into a "description". F.e. a vector is stored as a float (column "type"). The information that this float is a vector should be placed in the column "description".