CPOS ("SOPC") - (Character Position?)
This section does only exist, if the character image has a specified size. The purpose is not clear.
Table of Contents
Data Structure
Section Container
struct ContainerSectionCPOS
{
/* 0x0 */ struct NitroSectionHeader sectionHeader;
/* 0x8 */ struct ContainerCPOS sectionData;
}; // entry size = sectionHeader.lengthSection
| Field Name | Description | Data Type |
|---|---|---|
| sectionHeader | Header of this section. sectionHeader.signature = "SOPC". | NitroSectionHeader |
| sectionData | Content of this section. | ContainerCPOS |
CPOS Container
struct ContainerCPOS
{
// header
/* 0x0 */ uint32_t padding0;
/* 0x4 */ uint16_t widthInTiles;
/* 0x6 */ uint16_t heightInTiles;
// data
// ...empty
}; // entry size = 0x8
| Field Name | Description | Data Type |
|---|---|---|
| padding0 | Always 0. | uint32_t |
| widthInTiles | Same as ContainerCHAR::widthInTiles or next higher base-2 value. Size boundaries? | uint16_t |
| heightInTiles | Same as ContainerCHAR::heightInTiles or next higher base-2 value. Size boundaries? | uint16_t |