Havok: Difference between revisions

m
Relative offsets tend to be relative to the provided absolute offset.
imported>Kreny
m (Fixed some typos)
m (Relative offsets tend to be relative to the provided absolute offset.)
 
(One intermediate revision by one other user not shown)
Line 212: Line 212:
|4
|4
|Int
|Int
|Unknown 18 (always 0; probably padding for alignment)
|Unknown (always 0; probably padding for alignment)
|}
|}


==Section Headers==
==Section Headers==
[[File:Havok-class-header-delimits.png|thumb|<code>FF</code> bytes indicate section header boundaries]]
[[File:Havok-class-header-delimits.png|thumb|<code>FF</code> bytes indicate section header boundaries]]
Each section has a 64-byte header which includes the section name, absolute offset to the section start and six relative offsets to segments within the section. All three section headers follow the file header and are delimited by 16 delimiter bytes (<code>0xFF</code>).
Each section has a 64-byte header which includes the section name, absolute offset to the section start and six relative offsets to segments within the section. These relative offsets are often relative to the absolute offset. {{check}} All three section headers follow the file header and are delimited by 16 delimiter bytes (<code>0xFF</code>).
{| class="wikitable"
{| class="wikitable"
|+Section Header Specification
|+Section Header Specification
Line 333: Line 333:
|EOF
|EOF
|}
|}


==Class Names Section==
==Class Names Section==
7

edits