OBD:Data types: Difference between revisions

m
more...
m (string types)
m (more...)
Line 13: Line 13:
----
----
==Resource links==
==Resource links==
===DAT links===
===Level ID===
A few special mentions about the x2 thing and the IDs for _Tools files.
===Resource ID===
Those should certainly be typed: a different ID for every DAT-resource type.
Those should certainly be typed: a different ID for every DAT-resource type.
===RAW/SEP links===
===RAW/SEP links===
Line 121: Line 123:
===Axis-aligned bounding box===
===Axis-aligned bounding box===
2 vectors define a min corner and a max corner
2 vectors define a min corner and a max corner
:used in
*[[AGQC]]
*[[AKDA]]?
*[[AKEV]]
*[[AKVA]]
*VLME (in BINA/OBJC/SNDG)
*...
===Plane===
===Plane===
4 floats define an oriented plane in 3D
4 floats define an oriented plane in 3D
Line 130: Line 139:
*3 floats define a translation
*3 floats define a translation
*3 others define a rotation (Euler angles)
*3 others define a rotation (Euler angles)
:used in
*All [[OBJC]]
===Transformation matrix===
===Transformation matrix===
12 floats define a 4x4 transformation matrix
12 floats define a 4x4 transformation matrix
Line 147: Line 159:
===long with high bit===
===long with high bit===
The lower bits are used for an ID, the high bit is a flag
The lower bits are used for an ID, the high bit is a flag
:(used in ... )
:used in
*[[ABNA]]
*[[AGQC]]
*[[AKBA]]
*[[AKBP]]
 
*...
===long with high byte===
===long with high byte===
The lower bytes are used for an ID, the high byte is a group ID
The lower bytes are used for an ID, the high byte is a group ID
Line 167: Line 185:
----
----
==Misc==
==Misc==
===32-bit color===
Always RGBA?
:used in
*[[AGQG]]
*...
*[[ONWC]]
*...
===4-character codes===
===4-character codes===
In various BINA raw/sep parts
In various BINA raw/sep parts
===...===
===[[OBD:AKVA_0]]===
Pathfinding grids