DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
ClsMes Class Reference

Public Member Functions

s16 GetGaijiW (int code)
 
int GetNameLen (int chara)
 
int GetNameWidth (int chara)
 
void AutoSetSub (CCharacter *first, CCharacter *second, int *out_pos)
 
void AutoSet (int *pos)
 
void AbsFukidashiIn ()
 
 ClsMes ()
 
void SetBuff (short *buff)
 
void SetBuff_system (short *buff)
 
void Preset (int style)
 
void SetMesFukidashi (int style)
 
void Step ()
 
int State ()
 
void MyTextureMake_InitAll ()
 
void GoNextPage ()
 
int MyTextureMake_sub ()
 
void MyTextureMake ()
 
void MakeMesWinTbl_value (int *x, int *y)
 
void MakeMesWinTbl_value (int which, int *x, int *y)
 
int MakeMesWinTbl_system (int code, int *x, int *y)
 
int GetMesLen_system (int mes_no)
 
int GetMesWidth_system (int mes_no)
 
short * GetTextLineDataTop (int line)
 
short * GetTextLineDataTop_system (int line)
 
void InitMesWinTbl ()
 
int SetMesWinTbl (int code, int mode, short x, short y)
 
int CalcSpaceW (int width, int glyph_width, short *text)
 
int MakeMesWinTbl (int mes_no)
 
void NeedMesWinWH (int mes_no, int *out)
 
int MakeMesWin (int mes_no)
 
void MakeMesTexture (int mes_no)
 
void Myset2DSprite_Fuchi (sceVif1Packet *packet, CTexture *texture, int x, int y, int width, int height, int u, int v, int u_width, int v_height)
 
void MakeFukidashi_sub (sceVif1Packet *packet, int prim)
 
void MakeFukidashi (sceVif1Packet *packet)
 
void DrawMesWin_sub (CTexture *texture, int dx, int dy, int frame)
 
void DrawGaijiFont (CTexture *texture, int index, const CRect_i_ &texel, const CRect_i_ &screen, int wide, int dark)
 
void DrawMesWin ()
 

Public Attributes

s32 text_x
 
s32 text_y
 
s32 char_width
 
s32 char_height
 
s32 columns
 
s32 rows
 
s32 text_columns
 
s32 text_rows
 
s32 text_len
 
s32 text_width
 
s32 text_height
 
s32 unk_02C
 
s32 init_030
 
s32 fukidashi
 
s32 fukidashi_shape
 
s32 grow_x
 
s32 grow_y
 
s32 win_x
 
s32 win_y
 
s32 win_width
 
s32 win_height
 
s32 auto_pos
 
s32 tail_on
 
s32 tail_to_x
 
s32 tail_to_y
 
s32 tail_x
 
s32 tail_y
 
s32 tail_half_width
 
s32 tail_length
 
s32 tail_left_x
 
s32 tail_left_y
 
s32 tail_right_x
 
s32 tail_right_y
 
s32 tail_tip_x
 
s32 tail_tip_y
 
float fade_speed
 
float fade
 
s32 fade_in
 
s32 stay_frame
 
s32 stay_width
 
s32 stay_height
 
float text_rate
 
float text_rate_set
 
s32 waiting
 
s32 auto_page
 
float text_at
 
s32 text_no
 
s32 text_from
 
s32 page_from
 
MES_WIN_LINE win_line [MES_WIN_LINE_MAX]
 
s32 win_line_num
 
s32 clut_default
 
s32 clut_now
 
s32 wait
 
s32 blink
 
s32 auto_page_wait
 
s32 mes_made
 
s32 style
 
s32 page_arrow
 
s32 end_mark
 
s32 centre_rows
 
s32 page_mark_style
 
s32 edge_alpha
 
s32 narrow_gaiji_set
 
s32 narrow_gaiji
 
s32 mes_no [10]
 
s32 values [8]
 
s32 value
 
s32 value_signed
 
s32 value_show
 
s32 value_narrow
 
s32 space_width
 
s32 space_area
 
s32 cursor_row
 
s32 cursor_y
 
s32 cursor_lit
 
s32 tex_block
 
MES_LINE_POS line_pos [10]
 
short * buff
 
short * buff_system
 
char * text
 
char * text_system
 
void * tex_buff
 
u32 * clut
 

Detailed Description

Definition at line 149 of file clsmes.hpp.

Constructor & Destructor Documentation

◆ ClsMes()

ClsMes::ClsMes ( )

Starts a window with nothing to say and every setting at its default.

Mangled name:
__ct__6ClsMesFv
Address:
0x14D7C0
Size:
0x234

Definition at line 365 of file clsmes.cpp.

Member Function Documentation

◆ GetGaijiW()

s16 ClsMes::GetGaijiW ( int  code)

Gives back how wide one external character of the font draws, in pixels.

Mangled name:
GetGaijiW__6ClsMesFi
Address:
0x14CB30
Size:
0xA0

Definition at line 63 of file clsmes.cpp.

◆ GetNameLen()

int ClsMes::GetNameLen ( int  chara)

Gives back how many characters one character's registered name has, or -1 where there is no such name.

Mangled name:
GetNameLen__6ClsMesFi
Address:
0x14CBD0
Size:
0x90

Definition at line 93 of file clsmes.cpp.

◆ GetNameWidth()

int ClsMes::GetNameWidth ( int  chara)

Adds up how wide a character's registered name draws, in pixels.

Mangled name:
GetNameWidth__6ClsMesFi
Address:
0x14CC60
Size:
0x118

Definition at line 113 of file clsmes.cpp.

◆ AutoSetSub()

void ClsMes::AutoSetSub ( CCharacter *  first,
CCharacter *  second,
int *  out_pos 
)

Reads where two characters stand on screen, so that AutoSet can place the window clear of both of them.

Mangled name:
AutoSetSub__6ClsMesFP10CCharacterP10CCharacterPi
Address:
0x14CFE0
Size:
0x50

Definition at line 168 of file clsmes.cpp.

◆ AutoSet()

void ClsMes::AutoSet ( int *  pos)

Puts the window at whichever of nine screen positions lies furthest from the two points pos names, and works out where its tail leaves it.

Mangled name:
AutoSet__6ClsMesFPi
Address:
0x14D030
Size:
0x628

Definition at line 173 of file clsmes.cpp.

◆ AbsFukidashiIn()

void ClsMes::AbsFukidashiIn ( )

Pulls the window back inside the screen's margins, and moves its text along with it.

Mangled name:
AbsFukidashiIn__6ClsMesFv
Address:
0x14D660
Size:
0x154

Definition at line 339 of file clsmes.cpp.

◆ SetBuff()

void ClsMes::SetBuff ( short *  buff)

Gives the window the message file it reads its text out of.

Mangled name:
SetBuff__6ClsMesFPs
Address:
0x14DA00
Size:
0x28

Definition at line 456 of file clsmes.cpp.

◆ SetBuff_system()

void ClsMes::SetBuff_system ( short *  buff)

The same, for the file the system messages come out of.

Mangled name:
SetBuff_system__6ClsMesFPs
Address:
0x14DA30
Size:
0x28

Definition at line 462 of file clsmes.cpp.

◆ Preset()

void ClsMes::Preset ( int  style)

Sets the frame, colours and text speed that one of the window's styles asks for.

Mangled name:
Preset__6ClsMesFi
Address:
0x14DA60
Size:
0x14C

Definition at line 468 of file clsmes.cpp.

◆ SetMesFukidashi()

void ClsMes::SetMesFukidashi ( int  style)

Sets the font size, frame and colours that one of the speech-bubble styles asks for.

Mangled name:
SetMesFukidashi__6ClsMesFi
Address:
0x14DBB0
Size:
0x1D8

Definition at line 511 of file clsmes.cpp.

◆ Step()

void ClsMes::Step ( )

Carries the window's fade on by one step, and works out where its tail stands now.

Mangled name:
Step__6ClsMesFv
Address:
0x14DD90
Size:
0x2F0

Definition at line 575 of file clsmes.cpp.

◆ State()

int ClsMes::State ( )

Gives back what the window is doing: closed, fading in or out, revealing its text, stopped on a page, or done.

Mangled name:
State__6ClsMesFv
Address:
0x14E080
Size:
0xB0

Definition at line 637 of file clsmes.cpp.

◆ MyTextureMake_InitAll()

void ClsMes::MyTextureMake_InitAll ( )

Forgets which characters of the text the window has already drawn.

Mangled name:
MyTextureMake_InitAll__6ClsMesFv
Address:
0x14E130
Size:
0x34

Definition at line 657 of file clsmes.cpp.

◆ GoNextPage()

void ClsMes::GoNextPage ( )

Carries the window on to the page that follows the one it stopped at.

Mangled name:
GoNextPage__6ClsMesFv
Address:
0x14E170
Size:
0x48

Definition at line 663 of file clsmes.cpp.

◆ MyTextureMake_sub()

int ClsMes::MyTextureMake_sub ( )

Steps the window's text on by one laid-out character and gives back what the caller has to do about it.

Mangled name:
MyTextureMake_sub__6ClsMesFv
Address:
0x14E1C0
Size:
0x1B8

Definition at line 672 of file clsmes.cpp.

◆ MyTextureMake()

void ClsMes::MyTextureMake ( )

Reveals as much of the text as this step's rate allows.

Mangled name:
MyTextureMake__6ClsMesFv
Address:
0x14E380
Size:
0x1FC

Definition at line 716 of file clsmes.cpp.

◆ MakeMesWinTbl_value() [1/2]

void ClsMes::MakeMesWinTbl_value ( int *  x,
int *  y 
)

Lays out the number that a bare value code prints, and moves the pen past it.

Mangled name:
MakeMesWinTbl_value__6ClsMesFPiPi
Address:
0x14E700
Size:
0x224

Definition at line 790 of file clsmes.cpp.

◆ MakeMesWinTbl_value() [2/2]

void ClsMes::MakeMesWinTbl_value ( int  which,
int *  x,
int *  y 
)

The same, for the number one of the window's value slots holds.

Mangled name:
MakeMesWinTbl_value__6ClsMesFiPiPi
Address:
0x14E930
Size:
0x23C

Definition at line 871 of file clsmes.cpp.

◆ MakeMesWinTbl_system()

int ClsMes::MakeMesWinTbl_system ( int  code,
int *  x,
int *  y 
)

Lays out the system message that a code names, and gives back whether there was one to lay out.

Mangled name:
MakeMesWinTbl_system__6ClsMesFiPiPi
Address:
0x14EB70
Size:
0x478

Definition at line 952 of file clsmes.cpp.

◆ GetMesLen_system()

int ClsMes::GetMesLen_system ( int  mes_no)

Gives back how many characters the longest line of one system message has, or -1 where there is no such message.

Mangled name:
GetMesLen_system__6ClsMesFi
Address:
0x14EFF0
Size:
0x32C

Definition at line 1089 of file clsmes.cpp.

◆ GetMesWidth_system()

int ClsMes::GetMesWidth_system ( int  mes_no)

Gives back how wide the widest line of one system message draws.

Mangled name:
GetMesWidth_system__6ClsMesFi
Address:
0x14F320
Size:
0x184

Definition at line 1193 of file clsmes.cpp.

◆ GetTextLineDataTop()

short * ClsMes::GetTextLineDataTop ( int  line)

Gives back where one message of the window's file starts.

Mangled name:
GetTextLineDataTop__6ClsMesFi
Address:
0x14F4B0
Size:
0x64

Definition at line 1239 of file clsmes.cpp.

◆ GetTextLineDataTop_system()

short * ClsMes::GetTextLineDataTop_system ( int  line)

The same, for the system messages.

Mangled name:
GetTextLineDataTop_system__6ClsMesFi
Address:
0x14F520
Size:
0x64

Definition at line 1252 of file clsmes.cpp.

◆ InitMesWinTbl()

void ClsMes::InitMesWinTbl ( )

Empties the window's line table so that a message can be laid out into it.

Mangled name:
InitMesWinTbl__6ClsMesFv
Address:
0x14F590
Size:
0x44

Definition at line 1265 of file clsmes.cpp.

◆ SetMesWinTbl()

int ClsMes::SetMesWinTbl ( int  code,
int  mode,
short  x,
short  y 
)

Enters one laid-out character into the window's line table, or applies the control code it stands for; gives back whether a line was entered.

Mangled name:
SetMesWinTbl__6ClsMesFiiss
Address:
0x14F5E0
Size:
0x19C

Definition at line 1277 of file clsmes.cpp.

◆ CalcSpaceW()

int ClsMes::CalcSpaceW ( int  width,
int  glyph_width,
short *  text 
)

Works out how wide each space of one justified line has to draw.

Mangled name:
CalcSpaceW__6ClsMesFiiPs
Address:
0x14F780
Size:
0x14C

Definition at line 1320 of file clsmes.cpp.

◆ MakeMesWinTbl()

int ClsMes::MakeMesWinTbl ( int  mes_no)

Lays one message out into the window's line table, and gives back whether it ran as far as a page break.

Mangled name:
MakeMesWinTbl__6ClsMesFi
Address:
0x14F8D0
Size:
0x428

Definition at line 1356 of file clsmes.cpp.

◆ NeedMesWinWH()

void ClsMes::NeedMesWinWH ( int  mes_no,
int *  out 
)

Works out the characters, lines, width and height that a message needs, and writes the largest of each into the four slots of out.

Mangled name:
NeedMesWinWH__6ClsMesFiPi
Address:
0x14FD60
Size:
0x6A8

Definition at line 1476 of file clsmes.cpp.

◆ MakeMesWin()

int ClsMes::MakeMesWin ( int  mes_no)

Opens the window on one message: lays the text out, sizes the frame around it and places it on screen.

Mangled name:
MakeMesWin__6ClsMesFi
Address:
0x150550
Size:
0x100

Definition at line 1669 of file clsmes.cpp.

◆ MakeMesTexture()

void ClsMes::MakeMesTexture ( int  mes_no)

Lays one message out and works out the frame it needs, unless the window already holds that message.

Mangled name:
MakeMesTexture__6ClsMesFi
Address:
0x150650
Size:
0x1BC

Definition at line 1699 of file clsmes.cpp.

◆ Myset2DSprite_Fuchi()

void ClsMes::Myset2DSprite_Fuchi ( sceVif1Packet *  packet,
CTexture *  texture,
int  x,
int  y,
int  width,
int  height,
int  u,
int  v,
int  u_width,
int  v_height 
)

Draws the outline that stands behind one character of the text.

Mangled name:
Myset2DSprite_Fuchi__6ClsMesFP13sceVif1PacketP8CTextureiiiiiiii
Address:
0x150810
Size:
0x39C

Definition at line 1748 of file clsmes.cpp.

◆ MakeFukidashi_sub()

void ClsMes::MakeFukidashi_sub ( sceVif1Packet *  packet,
int  prim 
)

Writes the points that the speech bubble's outline is drawn from into the packet.

Mangled name:
MakeFukidashi_sub__6ClsMesFP13sceVif1Packeti
Address:
0x150F50
Size:
0xB80

Definition at line 1847 of file clsmes.cpp.

◆ MakeFukidashi()

void ClsMes::MakeFukidashi ( sceVif1Packet *  packet)

Draws the speech bubble into the texture that the text is laid over.

Mangled name:
MakeFukidashi__6ClsMesFP13sceVif1Packet
Address:
0x151AD0
Size:
0x540

Definition at line 2051 of file clsmes.cpp.

◆ DrawMesWin_sub()

void ClsMes::DrawMesWin_sub ( CTexture *  texture,
int  dx,
int  dy,
int  frame 
)

Draws the window's frame once, offset by dx and dy; frame asks for the nine-slice frame rather than one plain sprite.

Mangled name:
DrawMesWin_sub__6ClsMesFP8CTextureiii
Address:
0x152030
Size:
0x8F4

Definition at line 2143 of file clsmes.cpp.

◆ DrawGaijiFont()

void ClsMes::DrawGaijiFont ( CTexture *  texture,
int  index,
const CRect_i_ &  texel,
const CRect_i_ &  screen,
int  wide,
int  dark 
)

Draws one external character of the text at the colour its palette entry asks for.

Mangled name:
DrawGaijiFont__6ClsMesFP8CTextureiRC8CRect_i_RC8CRect_i_ii
Address:
0x152EE0
Size:
0x430

Definition at line 2364 of file clsmes.cpp.

◆ DrawMesWin()

void ClsMes::DrawMesWin ( )

Draws the window: its frame, the text revealed so far, and the marks that go alongside them.

Mangled name:
DrawMesWin__6ClsMesFv
Address:
0x153310
Size:
0xC24

Definition at line 2619 of file clsmes.cpp.

Member Data Documentation

◆ text_x

s32 ClsMes::text_x

Distance of the text from the left of the screen.

Definition at line 151 of file clsmes.hpp.

◆ text_y

s32 ClsMes::text_y

Distance of the text from the top of the screen.

Definition at line 152 of file clsmes.hpp.

◆ char_width

s32 ClsMes::char_width

How wide one character of the font draws.

Definition at line 153 of file clsmes.hpp.

◆ char_height

s32 ClsMes::char_height

How tall one character of the font draws.

Definition at line 154 of file clsmes.hpp.

◆ columns

s32 ClsMes::columns

Characters one line of the window holds.

Definition at line 155 of file clsmes.hpp.

◆ rows

s32 ClsMes::rows

Lines the window holds.

Definition at line 156 of file clsmes.hpp.

◆ text_columns

s32 ClsMes::text_columns

Characters the widest line of the text takes.

Definition at line 157 of file clsmes.hpp.

◆ text_rows

s32 ClsMes::text_rows

Lines the text takes.

Definition at line 158 of file clsmes.hpp.

◆ text_len

s32 ClsMes::text_len

Characters the window has laid out to draw.

Definition at line 159 of file clsmes.hpp.

◆ text_width

s32 ClsMes::text_width

How wide the laid-out text is, in pixels.

Definition at line 160 of file clsmes.hpp.

◆ text_height

s32 ClsMes::text_height

How tall the laid-out text is, in pixels.

Definition at line 161 of file clsmes.hpp.

◆ unk_02C

s32 ClsMes::unk_02C

Definition at line 162 of file clsmes.hpp.

◆ init_030

s32 ClsMes::init_030

Set to 16 by the constructor and never read.

Definition at line 163 of file clsmes.hpp.

◆ fukidashi

s32 ClsMes::fukidashi

Whether the window draws as a speech bubble, not a frame.

Definition at line 164 of file clsmes.hpp.

◆ fukidashi_shape

s32 ClsMes::fukidashi_shape

Which shape the bubble takes, as the text asks for.

Definition at line 165 of file clsmes.hpp.

◆ grow_x

s32 ClsMes::grow_x

Point the window grows out of and shrinks back into, from the left.

Definition at line 166 of file clsmes.hpp.

◆ grow_y

s32 ClsMes::grow_y

Point the window grows out of and shrinks back into, from the top.

Definition at line 167 of file clsmes.hpp.

◆ win_x

s32 ClsMes::win_x

Distance of the window from the left of the screen.

Definition at line 168 of file clsmes.hpp.

◆ win_y

s32 ClsMes::win_y

Distance of the window from the top of the screen.

Definition at line 169 of file clsmes.hpp.

◆ win_width

s32 ClsMes::win_width

How wide the window draws.

Definition at line 170 of file clsmes.hpp.

◆ win_height

s32 ClsMes::win_height

How tall the window draws.

Definition at line 171 of file clsmes.hpp.

◆ auto_pos

s32 ClsMes::auto_pos

Position the window is forced to take.

See also
MesAutoPos.

Definition at line 172 of file clsmes.hpp.

◆ tail_on

s32 ClsMes::tail_on

Whether the window draws a tail pointing at its speaker.

Definition at line 173 of file clsmes.hpp.

◆ tail_to_x

s32 ClsMes::tail_to_x

Where the tail points, from the left of the screen.

Definition at line 174 of file clsmes.hpp.

◆ tail_to_y

s32 ClsMes::tail_to_y

Where the tail points, from the top of the screen.

Definition at line 175 of file clsmes.hpp.

◆ tail_x

s32 ClsMes::tail_x

Where the tail leaves the window, from the left.

Definition at line 176 of file clsmes.hpp.

◆ tail_y

s32 ClsMes::tail_y

Where the tail leaves the window, from the top.

Definition at line 177 of file clsmes.hpp.

◆ tail_half_width

s32 ClsMes::tail_half_width

Half the width of the tail where it meets the window.

Definition at line 178 of file clsmes.hpp.

◆ tail_length

s32 ClsMes::tail_length

How far the tail reaches towards what it points at.

Definition at line 179 of file clsmes.hpp.

◆ tail_left_x

s32 ClsMes::tail_left_x

Left corner of the tail's base, worked out by Step.

Definition at line 180 of file clsmes.hpp.

◆ tail_left_y

s32 ClsMes::tail_left_y

Left corner of the tail's base, worked out by Step.

Definition at line 181 of file clsmes.hpp.

◆ tail_right_x

s32 ClsMes::tail_right_x

Right corner of the tail's base, worked out by Step.

Definition at line 182 of file clsmes.hpp.

◆ tail_right_y

s32 ClsMes::tail_right_y

Right corner of the tail's base, worked out by Step.

Definition at line 183 of file clsmes.hpp.

◆ tail_tip_x

s32 ClsMes::tail_tip_x

Point of the tail, worked out by Step.

Definition at line 184 of file clsmes.hpp.

◆ tail_tip_y

s32 ClsMes::tail_tip_y

Point of the tail, worked out by Step.

Definition at line 185 of file clsmes.hpp.

◆ fade_speed

float ClsMes::fade_speed

How much of the fade one step covers.

Definition at line 186 of file clsmes.hpp.

◆ fade

float ClsMes::fade

How far the window has faded in, from zero to one.

Definition at line 187 of file clsmes.hpp.

◆ fade_in

s32 ClsMes::fade_in

Whether the window is fading in rather than out.

Definition at line 188 of file clsmes.hpp.

◆ stay_frame

s32 ClsMes::stay_frame

Whether the window draws a plain frame behind its text.

Definition at line 189 of file clsmes.hpp.

◆ stay_width

s32 ClsMes::stay_width

Width that frame takes; zero or less follows the text.

Definition at line 190 of file clsmes.hpp.

◆ stay_height

s32 ClsMes::stay_height

Height that frame takes; zero or less follows the text.

Definition at line 191 of file clsmes.hpp.

◆ text_rate

float ClsMes::text_rate

Characters the text reveals each step, now.

Definition at line 192 of file clsmes.hpp.

◆ text_rate_set

float ClsMes::text_rate_set

Characters the text reveals each step, as configured.

Definition at line 193 of file clsmes.hpp.

◆ waiting

s32 ClsMes::waiting

Whether the text has stopped on a wait code.

Definition at line 194 of file clsmes.hpp.

◆ auto_page

s32 ClsMes::auto_page

Whether the window turns its own pages.

Definition at line 195 of file clsmes.hpp.

◆ text_at

float ClsMes::text_at

How far through the laid-out characters the text has revealed.

Definition at line 196 of file clsmes.hpp.

◆ text_no

s32 ClsMes::text_no

The laid-out character the text has revealed up to.

Definition at line 197 of file clsmes.hpp.

◆ text_from

s32 ClsMes::text_from

The laid-out character the text starts drawing at.

Definition at line 198 of file clsmes.hpp.

◆ page_from

s32 ClsMes::page_from

The laid-out character the next page begins at.

Definition at line 199 of file clsmes.hpp.

◆ win_line

MES_WIN_LINE ClsMes::win_line[MES_WIN_LINE_MAX]

Every line the window lays out.

Definition at line 200 of file clsmes.hpp.

◆ win_line_num

s32 ClsMes::win_line_num

Lines the window has laid out.

Definition at line 201 of file clsmes.hpp.

◆ clut_default

s32 ClsMes::clut_default

Palette entry the text draws with unless a code changes it.

Definition at line 202 of file clsmes.hpp.

◆ clut_now

s32 ClsMes::clut_now

Palette entry the text draws with now.

Definition at line 203 of file clsmes.hpp.

◆ wait

s32 ClsMes::wait

Steps left before the text reveals its next character.

Definition at line 204 of file clsmes.hpp.

◆ blink

s32 ClsMes::blink

Steps the window has drawn for, which drives what flashes.

Definition at line 205 of file clsmes.hpp.

◆ auto_page_wait

s32 ClsMes::auto_page_wait

Steps the window holds a full page before turning it by itself.

Definition at line 206 of file clsmes.hpp.

◆ mes_made

s32 ClsMes::mes_made

The message the window has laid out; negative where it has none.

Definition at line 207 of file clsmes.hpp.

◆ style

s32 ClsMes::style

Which of the window's frames and colours to draw.

See also
MesEdgeStyle.

Definition at line 208 of file clsmes.hpp.

◆ page_arrow

s32 ClsMes::page_arrow

Whether the window draws the mark that says more text follows.

Definition at line 209 of file clsmes.hpp.

◆ end_mark

s32 ClsMes::end_mark

Whether the window always draws that mark, wherever the text is.

Definition at line 210 of file clsmes.hpp.

◆ centre_rows

s32 ClsMes::centre_rows

Whether the text sits in the middle of the window's rows.

Definition at line 211 of file clsmes.hpp.

◆ page_mark_style

s32 ClsMes::page_mark_style

Whether the window's style asks for the more-text mark; set with the style and never read.

Definition at line 212 of file clsmes.hpp.

◆ edge_alpha

s32 ClsMes::edge_alpha

How solid the outline behind the text draws.

Definition at line 213 of file clsmes.hpp.

◆ narrow_gaiji_set

s32 ClsMes::narrow_gaiji_set

Forces the narrow gaiji page on (2) or off (1); 0 by width.

Definition at line 214 of file clsmes.hpp.

◆ narrow_gaiji

s32 ClsMes::narrow_gaiji

Whether the editor's external characters draw narrowed.

Definition at line 215 of file clsmes.hpp.

◆ mes_no

s32 ClsMes::mes_no[10]

The message each of the window's slots names.

Definition at line 216 of file clsmes.hpp.

◆ values

s32 ClsMes::values[8]

The number each of the window's value slots prints.

Definition at line 217 of file clsmes.hpp.

◆ value

s32 ClsMes::value

The number the window prints for a bare value code.

Definition at line 218 of file clsmes.hpp.

◆ value_signed

s32 ClsMes::value_signed

Whether a positive value prints with a leading plus.

Definition at line 219 of file clsmes.hpp.

◆ value_show

s32 ClsMes::value_show

Whether a value prints even when it is zero.

Definition at line 220 of file clsmes.hpp.

◆ value_narrow

s32 ClsMes::value_narrow

Whether a value's digits draw at three quarters width.

Definition at line 221 of file clsmes.hpp.

◆ space_width

s32 ClsMes::space_width

Width one space takes on a justified line; -1 where it is not.

Definition at line 222 of file clsmes.hpp.

◆ space_area

s32 ClsMes::space_area

Width a justified line spreads across; -1 where it is not.

Definition at line 223 of file clsmes.hpp.

◆ cursor_row

s32 ClsMes::cursor_row

Line the choice cursor stands on; negative where there is none.

Definition at line 224 of file clsmes.hpp.

◆ cursor_y

s32 ClsMes::cursor_y

Where the cursor has eased to, from the top of the text.

Definition at line 225 of file clsmes.hpp.

◆ cursor_lit

s32 ClsMes::cursor_lit

Whether the line the cursor stands on is the one drawn wide.

Definition at line 226 of file clsmes.hpp.

◆ tex_block

s32 ClsMes::tex_block

Texture block the window's font is loaded into.

Definition at line 227 of file clsmes.hpp.

◆ line_pos

MES_LINE_POS ClsMes::line_pos[10]

Where each line draws, where the window says so.

Definition at line 228 of file clsmes.hpp.

◆ buff

short* ClsMes::buff

The message file the window reads its text out of.

Definition at line 229 of file clsmes.hpp.

◆ buff_system

short* ClsMes::buff_system

The same, for the system messages.

Definition at line 230 of file clsmes.hpp.

◆ text

char* ClsMes::text

Where the text of that file starts.

Definition at line 231 of file clsmes.hpp.

◆ text_system

char* ClsMes::text_system

The same, for the system messages.

Definition at line 232 of file clsmes.hpp.

◆ tex_buff

void* ClsMes::tex_buff

Buffer the window builds its text texture in, cleared to start over; null where there is none.

Definition at line 233 of file clsmes.hpp.

◆ clut

u32* ClsMes::clut

The palette the window's font draws out of.

Definition at line 234 of file clsmes.hpp.