messagedata#
For accessing and editing message strings. Load with Game->LoadMessageData().
Variables#
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
bool[] |
|
int[] |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
const int |
|
const int |
|
const int |
|
bool |
Transparent deprecated |
int |
Flag deprecated |
Functions#
void |
Get(char32[] str) |
void |
Set(char32[] str) |
int |
TextHeight() deprecated |
int |
TextWidth() deprecated |
Variable descriptions#
The βnextβ message, which will be automatically displayed when this message finishes.
The tile used for the background.
The CSet to draw the background in.
The font to display the message in. Use the FONT_
constants for this
value.
The X position of the message box.
The Y position of the message box.
The width of the message box, in pixels.
The height of the message box, in pixels.
The SFX to play when a new character is drawn (including spaces).
The list position of the messagedata as it is displayed in ZQ.
The spacing between lines/characters, in pixels.
The spacing between lines/characters, in pixels.
A set of flags for the messagedata.
The margins, in pixels, from each edge of the text box.
Valid indices: DIR_UP, DIR_DOWN, DIR_LEFT, DIR_RIGHT
The upper-left corner tile of the portrait. If set to 0, no portrait will be displayed.
The CSet to draw the portrait in
The X/Y position of the portrait.
The X/Y position of the portrait.
int PortraitTileWidth π Source
The tile width/height of the portrait. Max 16 and 14 respectively. If
either is 0
, no portrait will be displayed.
int PortraitTileHeight π Source
The tile width/height of the portrait. Max 16 and 14 respectively. If
either is 0
, no portrait will be displayed.
const int TextHeight π Source
Returns the height, in pixels, of the message text - not including line wrap / breaks.
const int TextWidth π Source
Returns the width, in pixels, of the message text - not including line wrap / breaks.
The length, in characters, of the message.
Warning
Deprecated! Unused! Does nothing!
Warning
Deprecated! Use Flags[] instead!
Function descriptions#
void Get(char32[] str) π Source
Loads the message into the provided string buffer.
void Set(char32[] str) π Source
Sets the message to the provided string.
Returns the width/height, in pixels, of the message text - not including line wrap / breaks.
Warning
Deprecated! Use TextHeight instead!
Returns the width/height, in pixels, of the message text - not including line wrap / breaks.
Warning
Deprecated! Use TextWidth instead!