Jazz2::Scripting::Legacy::jjTEXTAPPEARANCE struct

Describes how text is rendered (spacing, animation and special-character handling).

Public types

enum align_ { align_DEFAULT, align_LEFT, align_CENTER, align_RIGHT }
enum ch_ { ch_HIDE, ch_DISPLAY, ch_SPECIAL }

Public static functions

static void constructor(void* self)
Constructs a default appearance in place.
static void constructorMode(std::uint32_t mode, void* self)
Constructs an appearance from a packed mode value.

Public functions

auto operator=(std::uint32_t other) -> jjTEXTAPPEARANCE&

Public variables

std::int32_t xAmp
Horizontal wave amplitude.
std::int32_t yAmp
Vertical wave amplitude.
std::int32_t spacing
Extra spacing between characters.
bool monospace
Whether characters use fixed (monospace) width.
bool skipInitialHash
Whether a leading hash character is skipped.
ch_ at
How the at () character is handled.
ch_ caret
How the caret (^) character is handled.
ch_ hash
How the hash (#) character is handled.
ch_ newline
How the newline character is handled.
ch_ pipe
How the pipe (|) character is handled.
ch_ section
How the section (§) character is handled.
ch_ tilde
How the tilde (~) character is handled.
align_ align
Horizontal text alignment.