Model.blob: Difference between revisions
Jump to navigation
Jump to search
m (→MBFN) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:SectionBox/VersionRange|min_expansionlevel=4}} | {{Template:SectionBox/VersionRange|min_expansionlevel=4}} | ||
This is storing bounding boxes for all models. It was added in Cataclysm to help with streaming data. | This is storing bounding boxes for all models (m2). It was added in Cataclysm to help with streaming data. | ||
=MBVR= | =MBVR= | ||
uint32_t version; | uint32_t version; // even though format has changed, this is still at 0 in {{Template:Sandbox/PrettyVersion|expansionlevel=7}} | ||
=MBBB= | =MBBB= | ||
struct { | struct { | ||
Line 10: | Line 11: | ||
uint32_t fileDataId; | uint32_t fileDataId; | ||
#endif | #endif | ||
{{Template:Type|CAaBox}} boundingBox; // | {{Template:Type|CAaBox}} boundingBox; // Collision bounding box. | ||
} entries[]; | } entries[]; | ||
=MBFN= | =MBFN= | ||
{{Template:SectionBox/VersionRange|max_expansionlevel=7|max_exclusive}} | {{Template:SectionBox/VersionRange|max_expansionlevel=7|max_exclusive=1}} | ||
char filenames[]; // zero-terminated, no file extensions. | char filenames[]; // zero-terminated, no file extensions. |
Latest revision as of 13:53, 21 March 2020
This is storing bounding boxes for all models (m2). It was added in Cataclysm to help with streaming data.
MBVR
uint32_t version; // even though format has changed, this is still at 0 in
MBBB
struct { #if < uint32_t filenameOffset; // into MBFN chunk #else uint32_t fileDataId; #endif CAaBoxⁱ boundingBox; // Collision bounding box. } entries[];
MBFN
char filenames[]; // zero-terminated, no file extensions.