papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
msg_data.c File Reference

Variables

IMG_BIN MsgCharImgTitle []
 
IMG_BIN MsgCharImgSubtitle []
 
IMG_BIN MsgCharImgNormal []
 
IMG_BIN MsgCharImgMenuLatin []
 
IMG_BIN MsgCharImgMenuKana []
 
IMG_BIN MsgCharImgKana []
 
IMG_BIN MsgCharImgLatin []
 
u8 MsgCharWidthNormal []
 
MessageCharData MsgCharDataNormal []
 
MessageCharData MsgCharDataMenu []
 
MessageCharset MsgCharsetNormal
 
MessageCharset MsgCharsetMenu
 
u8 MsgCharWidthTitle []
 
u8 MsgCharWidthSubtitle []
 
MessageCharData MsgCharDataTitle []
 
MessageCharData MsgCharDataSubtitle []
 
MessageCharset MsgCharsetTitle
 
MessageCharset MsgCharsetSubtitle
 
MessageCharsetMsgCharsets []
 
IMG_PTR MsgLetterRasterOffsets []
 
PAL_PTR MsgLetterPaletteOffsets []
 
MsgVoice MsgVoices []
 
s16 MsgStyleVerticalLineOffsets []
 

Variable Documentation

◆ MsgCharDataMenu

MessageCharData MsgCharDataMenu[]
Initial value:
= {
{
.raster = MsgCharImgNormal,
.charWidthTable = MsgCharWidthNormal,
.monospaceWidth = 9,
.baseHeightOffset = -2,
},
{
.raster = MsgCharImgNormal,
.charWidthTable = MsgCharWidthNormal,
.monospaceWidth = 9,
.baseHeightOffset = 0,
},
{
.raster = MsgCharImgNormal,
.charWidthTable = MsgCharWidthNormal,
.monospaceWidth = 9,
.baseHeightOffset = 0,
},
{
.raster = MsgCharImgNormal,
.charWidthTable = MsgCharWidthNormal,
.monospaceWidth = 9,
.baseHeightOffset = 0,
},
{}
}
IMG_BIN MsgCharImgNormal[]
Definition msg_img.c:91
u8 MsgCharWidthNormal[]
Definition msg_data.c:565

◆ MsgCharDataNormal

MessageCharData MsgCharDataNormal[]
Initial value:
= {
{
.raster = MsgCharImgNormal,
.charWidthTable = MsgCharWidthNormal,
.monospaceWidth = 10,
.baseHeightOffset = 0,
},
{
.raster = MsgCharImgNormal,
.charWidthTable = MsgCharWidthNormal,
.monospaceWidth = 10,
.baseHeightOffset = -2,
},
{
.raster = MsgCharImgNormal,
.charWidthTable = MsgCharWidthNormal,
.monospaceWidth = 10,
.baseHeightOffset = 0,
},
{
.raster = MsgCharImgNormal,
.charWidthTable = MsgCharWidthNormal,
.monospaceWidth = 10,
.baseHeightOffset = 0,
},
{}
}

◆ MsgCharDataSubtitle

MessageCharData MsgCharDataSubtitle[]
Initial value:
= {
{
.raster = MsgCharImgSubtitle,
.charWidthTable = MsgCharWidthSubtitle,
.monospaceWidth = 10,
.baseHeightOffset = 0,
},
{}
}
u8 MsgCharWidthSubtitle[]
Definition msg_data.c:826
IMG_BIN MsgCharImgSubtitle[]
Definition msg_img.c:92

◆ MsgCharDataTitle

MessageCharData MsgCharDataTitle[]
Initial value:
= {
{
.raster = MsgCharImgTitle,
.charWidthTable = MsgCharWidthTitle,
.monospaceWidth = 14,
.baseHeightOffset = 0,
},
{}
}
IMG_BIN MsgCharImgTitle[]
Definition msg_img.c:90
u8 MsgCharWidthTitle[]
Definition msg_data.c:817

◆ MsgCharImgKana

IMG_BIN MsgCharImgKana[]
extern

Referenced by load_font().

◆ MsgCharImgLatin

IMG_BIN MsgCharImgLatin[]
extern

Referenced by load_font().

◆ MsgCharImgMenuKana

IMG_BIN MsgCharImgMenuKana[]
extern

Referenced by load_font().

◆ MsgCharImgMenuLatin

IMG_BIN MsgCharImgMenuLatin[]
extern

Referenced by load_font().

◆ MsgCharImgNormal

IMG_BIN MsgCharImgNormal[]
extern

◆ MsgCharImgSubtitle

IMG_BIN MsgCharImgSubtitle[]
extern

◆ MsgCharImgTitle

IMG_BIN MsgCharImgTitle[]
extern

◆ MsgCharsetMenu

MessageCharset MsgCharsetMenu
Initial value:
= {
.texSize = { 16, 16 },
.unk_02 = 14,
.newLineY = 16,
.charRasterSize = 128,
.rasters = MsgCharDataMenu
}
MessageCharData MsgCharDataMenu[]
Definition msg_data.c:772

◆ MsgCharsetNormal

MessageCharset MsgCharsetNormal
Initial value:
= {
.texSize = { 16, 16 },
.unk_02 = 14,
.newLineY = 16,
.charRasterSize = 128,
.rasters = MsgCharDataNormal
}
MessageCharData MsgCharDataNormal[]
Definition msg_data.c:744

◆ MsgCharsets

MessageCharset* MsgCharsets[]
Initial value:
= {
NULL
}
@ MSG_FONT_MENU
Definition enums.h:6228
@ MSG_FONT_TITLE
Definition enums.h:6230
@ MSG_FONT_2
Definition enums.h:6229
@ MSG_FONT_NORMAL
Definition enums.h:6227
@ MSG_FONT_SUBTITLE
Definition enums.h:6231
MessageCharset MsgCharsetTitle
Definition msg_data.c:855
MessageCharset MsgCharsetNormal
Definition msg_data.c:800
MessageCharset MsgCharsetSubtitle
Definition msg_data.c:863
MessageCharset MsgCharsetMenu
Definition msg_data.c:808

Referenced by appendGfx_message(), filemenu_draw_char(), get_msg_properties(), msg_copy_to_print_buffer(), msg_draw_char(), msg_get_draw_char_width(), msg_get_glyph(), and msg_get_print_char_width().

◆ MsgCharsetSubtitle

MessageCharset MsgCharsetSubtitle
Initial value:
= {
.texSize = { 12, 12 },
.unk_02 = 10,
.newLineY = 10,
.charRasterSize = 72,
}
MessageCharData MsgCharDataSubtitle[]
Definition msg_data.c:845

◆ MsgCharsetTitle

MessageCharset MsgCharsetTitle
Initial value:
= {
.texSize = { 12, 15 },
.unk_02 = 14,
.newLineY = 16,
.charRasterSize = 96,
.rasters = MsgCharDataTitle
}
MessageCharData MsgCharDataTitle[]
Definition msg_data.c:835

◆ MsgCharWidthNormal

u8 MsgCharWidthNormal[]

◆ MsgCharWidthSubtitle

u8 MsgCharWidthSubtitle[]
Initial value:
= {
9, 9, 8, 8, 7, 7, 8, 7,
3, 7, 7, 7, 8, 7, 8, 8,
8, 7, 7, 8, 7, 7, 8, 8,
8, 7, 4, 3, 4, 8, 8, 8,
8, 8, 8, 8, 8, 8, 8, 8,
8
}

◆ MsgCharWidthTitle

u8 MsgCharWidthTitle[]
Initial value:
= {
8, 8, 8, 9, 8, 8, 8, 8,
5, 8, 9, 8,10, 8, 8, 9,
8, 9, 8, 8, 8, 8,10, 9,
9, 8, 4, 3, 4, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9,10,
10
}

◆ MsgLetterPaletteOffsets

PAL_PTR MsgLetterPaletteOffsets[]
Initial value:
= {
}
unsigned short charset_letter_content_2_pal_OFFSET[]
unsigned short charset_letter_content_12_pal_OFFSET[]
unsigned short charset_letter_content_5_pal_OFFSET[]
unsigned short charset_letter_content_10_pal_OFFSET[]
unsigned short charset_letter_content_4_pal_OFFSET[]
unsigned short charset_letter_content_11_pal_OFFSET[]
unsigned short charset_letter_content_7_pal_OFFSET[]
unsigned short charset_letter_content_1_pal_OFFSET[]
unsigned short charset_letter_content_6_pal_OFFSET[]
unsigned short charset_letter_content_3_pal_OFFSET[]
unsigned short charset_letter_content_8_pal_OFFSET[]
unsigned short charset_letter_content_9_pal_OFFSET[]

Referenced by msg_copy_to_print_buffer().

◆ MsgLetterRasterOffsets

IMG_PTR MsgLetterRasterOffsets[]
Initial value:
= {
}
unsigned char charset_letter_content_3_OFFSET[]
unsigned char charset_letter_content_9_OFFSET[]
unsigned char charset_letter_content_8_OFFSET[]
unsigned char charset_letter_content_7_OFFSET[]
unsigned char charset_letter_content_4_OFFSET[]
unsigned char charset_letter_content_6_OFFSET[]
unsigned char charset_letter_content_11_OFFSET[]
unsigned char charset_letter_content_5_OFFSET[]
unsigned char charset_letter_content_10_OFFSET[]
unsigned char charset_letter_content_2_OFFSET[]
unsigned char charset_letter_content_1_OFFSET[]
unsigned char charset_letter_content_12_OFFSET[]

Referenced by msg_copy_to_print_buffer().

◆ MsgStyleVerticalLineOffsets

s16 MsgStyleVerticalLineOffsets[]
Initial value:
= {
}
@ MSG_STYLE_POSTCARD
Definition enums.h:6217
@ MSG_STYLE_CENTER
Definition enums.h:6211
@ MSG_STYLE_LEFT
Definition enums.h:6210
@ MSG_STYLE_UPGRADE
Definition enums.h:6220
@ MSG_STYLE_SIGN
Definition enums.h:6215
@ MSG_STYLE_F
Definition enums.h:6223
@ MSG_STYLE_B
Definition enums.h:6219
@ MSG_STYLE_NONE
Definition enums.h:6208
@ MSG_STYLE_NARRATE
Definition enums.h:6221
@ MSG_STYLE_INSPECT
Definition enums.h:6214
@ MSG_STYLE_LAMPPOST
Definition enums.h:6216
@ MSG_STYLE_POPUP
Definition enums.h:6218
@ MSG_STYLE_RIGHT
Definition enums.h:6209
@ MSG_STYLE_EPILOGUE
Definition enums.h:6222
@ MSG_STYLE_TATTLE
Definition enums.h:6212
@ MSG_STYLE_CHOICE
Definition enums.h:6213

Referenced by appendGfx_message(), and msg_copy_to_print_buffer().

◆ MsgVoices

Initial value:
= {
.voiceA = SOUND_MSG_VOICE_1A,
.voiceB = SOUND_MSG_VOICE_1B,
.pitchShift = 0
},
.voiceA = SOUND_MSG_VOICE_4A,
.voiceB = SOUND_MSG_VOICE_4B,
.pitchShift = -50
},
.pitchShift = 0
},
}
@ MSG_VOICE_STAR
Definition enums.h:6237
@ MSG_VOICE_NORMAL
Definition enums.h:6235
@ MSG_VOICE_BOWSER
Definition enums.h:6236
@ SOUND_MSG_VOICE_1A
Definition enums.h:562
@ SOUND_MSG_VOICE_4A
Definition enums.h:568
@ SOUND_MSG_VOICE_4B
Definition enums.h:569
@ SOUND_MSG_VOICE_STAR
Definition enums.h:572
@ SOUND_MSG_VOICE_1B
Definition enums.h:563