COIString

What is a COIString?

COIString is a object loader format used to store data related to Strings.

Structure

Size Type Name Description
... COICommon Common Variables common to multiple object loaders
4 Int32 Width The width of the string
4 Int32 Height The height of the string
4 UInt32 Font Handle The handle of the string's font in the font bank
4 RGBA Color The color of the string
4 UInt32 Flags Definitions
4   Unknown Possibly flags? If 1, then Relief is true
... CParagraphs Paragraphs The paragraphs attached to this object

Flag Definitions

Flags

Value Name Description
0x001 Horizontally Centered Alignment Horizontal: Center
0x002 Horizontally Right-Aligned Alignment Horizontal: Right
0x004 Vertically Centered Alignment Vertical: Center
0x008 Vertically Bottom-Aligned Alignment Vertical: Bottom
0x100 Correct Unused on strings
0x200 Relief Unused on strings
0x400 Right-To-Left Right-to-left reading