Category 7 is defined by the spec as either being a camera or light. Currently category 7 is not only ignored, but ends the current block. This fixes things so that category 7 is silently allowed so that other primitives in the block can be read.
Edit: It turns out category 6 also exists, and is well documented by PsyQ. Category 6, for the most part, is just another form of Non-Shared and Shared geometry, with extra attributes that can be attached to surfaces.
Added ProcessEnvmapData to read non-shared envmap polygons.
Added ProcessDeviceData to read device cameras and lights. HOWEVER, this data isn't used for anything yet, it's just reading for show.
Added ProcessDevicePrimitiveHeader.
Added ReadMappedPointer, which is shortcut for ReadMappedValue, then multiplying the value by 4.
Category 7 is defined by the spec as either being a camera or light. Currently category 7 is not only ignored, but ends the current block. This fixes things so that category 7 is silently allowed so that other primitives in the block can be read.
Edit: It turns out category 6 also exists, and is well documented by PsyQ. Category 6, for the most part, is just another form of Non-Shared and Shared geometry, with extra attributes that can be attached to surfaces.