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

Functions

 INCLUDE_IMG ("ui/msg/bubble_left.png", ui_msg_bubble_left_png)
 
 INCLUDE_IMG ("ui/msg/bubble_mid.png", ui_msg_bubble_mid_png)
 
 INCLUDE_IMG ("ui/msg/bubble_right.png", ui_msg_bubble_right_png)
 
 INCLUDE_IMG ("ui/msg/arrow.png", ui_msg_arrow_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_1_1.png", ui_msg_frame_a_1_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_1_2.png", ui_msg_frame_a_1_2_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_1_3.png", ui_msg_frame_a_1_3_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_1_4.png", ui_msg_frame_a_1_4_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_1_5.png", ui_msg_frame_a_1_5_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_2_1.png", ui_msg_frame_a_2_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_2_5.png", ui_msg_frame_a_2_5_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_3_1.png", ui_msg_frame_a_3_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_3_5.png", ui_msg_frame_a_3_5_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_4_1.png", ui_msg_frame_a_4_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_4_5.png", ui_msg_frame_a_4_5_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_5_1.png", ui_msg_frame_a_5_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_5_2.png", ui_msg_frame_a_5_2_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_5_3.png", ui_msg_frame_a_5_3_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_5_4.png", ui_msg_frame_a_5_4_png)
 
 INCLUDE_IMG ("ui/msg/frame_a_5_5.png", ui_msg_frame_a_5_5_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_1_1.png", ui_msg_frame_b_1_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_1_2.png", ui_msg_frame_b_1_2_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_1_3.png", ui_msg_frame_b_1_3_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_1_4.png", ui_msg_frame_b_1_4_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_1_5.png", ui_msg_frame_b_1_5_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_2_1.png", ui_msg_frame_b_2_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_2_5.png", ui_msg_frame_b_2_5_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_3_1.png", ui_msg_frame_b_3_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_3_5.png", ui_msg_frame_b_3_5_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_4_1.png", ui_msg_frame_b_4_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_4_5.png", ui_msg_frame_b_4_5_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_5_1.png", ui_msg_frame_b_5_1_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_5_2.png", ui_msg_frame_b_5_2_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_5_3.png", ui_msg_frame_b_5_3_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_5_4.png", ui_msg_frame_b_5_4_png)
 
 INCLUDE_IMG ("ui/msg/frame_b_5_5.png", ui_msg_frame_b_5_5_png)
 
 INCLUDE_IMG ("ui/msg/sign_corner_topleft.png", ui_msg_sign_corner_topleft_png)
 
 INCLUDE_IMG ("ui/msg/sign_corner_topright.png", ui_msg_sign_corner_topright_png)
 
 INCLUDE_IMG ("ui/msg/sign_corner_bottomleft.png", ui_msg_sign_corner_bottomleft_png)
 
 INCLUDE_IMG ("ui/msg/sign_corner_bottomright.png", ui_msg_sign_corner_bottomright_png)
 
 INCLUDE_IMG ("ui/msg/lamppost_corner_bottomright.png", ui_msg_lamppost_corner_bottomright_png)
 
 INCLUDE_IMG ("ui/msg/sign_side_top.png", ui_msg_sign_side_top_png)
 
 INCLUDE_IMG ("ui/msg/sign_side_left.png", ui_msg_sign_side_left_png)
 
 INCLUDE_IMG ("ui/msg/sign_side_right.png", ui_msg_sign_side_right_png)
 
 INCLUDE_IMG ("ui/msg/sign_side_bottom.png", ui_msg_sign_side_bottom_png)
 
 INCLUDE_IMG ("ui/msg/sign_fill.png", ui_msg_sign_fill_png)
 
 INCLUDE_PAL ("ui/msg/sign_corner_topleft.pal", ui_msg_sign_pal)
 
 INCLUDE_PAL ("ui/msg/lamppost_corner_bottomright.pal", ui_msg_lamppost_pal)
 
 INCLUDE_IMG ("ui/msg/background.png", ui_msg_background_png)
 
 INCLUDE_IMG ("ui/msg/rewind_arrow.png", ui_msg_rewind_arrow_png)
 
 INCLUDE_PAL ("ui/msg/rewind_arrow.pal", ui_msg_rewind_arrow_pal)
 
 INCLUDE_IMG ("ui/msg/star.png", ui_msg_star_png)
 
 INCLUDE_IMG ("ui/msg/star_silhouette.png", ui_msg_star_silhouette_png)
 
BSS PAL_BIN D_802F4560[80][8] ALIGNED (16)
 
 MATCHING_BSS (0x6DA0)
 

Variables

unsigned char ui_msg_palettes [16][32]
 
BSS IMG_BIN MsgCharImgTitle [0xF60]
 
BSS IMG_BIN MsgCharImgNormal [0x5100]
 
BSS IMG_BIN MsgCharImgSubtitle [0xB88]
 

Function Documentation

◆ ALIGNED()

BSS PAL_BIN D_802F4560[80][8] ALIGNED ( 16 )

◆ INCLUDE_IMG() [1/50]

INCLUDE_IMG ( "ui/msg/arrow.png" ,
ui_msg_arrow_png  )

◆ INCLUDE_IMG() [2/50]

INCLUDE_IMG ( "ui/msg/background.png" ,
ui_msg_background_png  )

◆ INCLUDE_IMG() [3/50]

INCLUDE_IMG ( "ui/msg/bubble_left.png" ,
ui_msg_bubble_left_png  )

◆ INCLUDE_IMG() [4/50]

INCLUDE_IMG ( "ui/msg/bubble_mid.png" ,
ui_msg_bubble_mid_png  )

◆ INCLUDE_IMG() [5/50]

INCLUDE_IMG ( "ui/msg/bubble_right.png" ,
ui_msg_bubble_right_png  )

◆ INCLUDE_IMG() [6/50]

INCLUDE_IMG ( "ui/msg/frame_a_1_1.png" ,
ui_msg_frame_a_1_1_png  )

◆ INCLUDE_IMG() [7/50]

INCLUDE_IMG ( "ui/msg/frame_a_1_2.png" ,
ui_msg_frame_a_1_2_png  )

◆ INCLUDE_IMG() [8/50]

INCLUDE_IMG ( "ui/msg/frame_a_1_3.png" ,
ui_msg_frame_a_1_3_png  )

◆ INCLUDE_IMG() [9/50]

INCLUDE_IMG ( "ui/msg/frame_a_1_4.png" ,
ui_msg_frame_a_1_4_png  )

◆ INCLUDE_IMG() [10/50]

INCLUDE_IMG ( "ui/msg/frame_a_1_5.png" ,
ui_msg_frame_a_1_5_png  )

◆ INCLUDE_IMG() [11/50]

INCLUDE_IMG ( "ui/msg/frame_a_2_1.png" ,
ui_msg_frame_a_2_1_png  )

◆ INCLUDE_IMG() [12/50]

INCLUDE_IMG ( "ui/msg/frame_a_2_5.png" ,
ui_msg_frame_a_2_5_png  )

◆ INCLUDE_IMG() [13/50]

INCLUDE_IMG ( "ui/msg/frame_a_3_1.png" ,
ui_msg_frame_a_3_1_png  )

◆ INCLUDE_IMG() [14/50]

INCLUDE_IMG ( "ui/msg/frame_a_3_5.png" ,
ui_msg_frame_a_3_5_png  )

◆ INCLUDE_IMG() [15/50]

INCLUDE_IMG ( "ui/msg/frame_a_4_1.png" ,
ui_msg_frame_a_4_1_png  )

◆ INCLUDE_IMG() [16/50]

INCLUDE_IMG ( "ui/msg/frame_a_4_5.png" ,
ui_msg_frame_a_4_5_png  )

◆ INCLUDE_IMG() [17/50]

INCLUDE_IMG ( "ui/msg/frame_a_5_1.png" ,
ui_msg_frame_a_5_1_png  )

◆ INCLUDE_IMG() [18/50]

INCLUDE_IMG ( "ui/msg/frame_a_5_2.png" ,
ui_msg_frame_a_5_2_png  )

◆ INCLUDE_IMG() [19/50]

INCLUDE_IMG ( "ui/msg/frame_a_5_3.png" ,
ui_msg_frame_a_5_3_png  )

◆ INCLUDE_IMG() [20/50]

INCLUDE_IMG ( "ui/msg/frame_a_5_4.png" ,
ui_msg_frame_a_5_4_png  )

◆ INCLUDE_IMG() [21/50]

INCLUDE_IMG ( "ui/msg/frame_a_5_5.png" ,
ui_msg_frame_a_5_5_png  )

◆ INCLUDE_IMG() [22/50]

INCLUDE_IMG ( "ui/msg/frame_b_1_1.png" ,
ui_msg_frame_b_1_1_png  )

◆ INCLUDE_IMG() [23/50]

INCLUDE_IMG ( "ui/msg/frame_b_1_2.png" ,
ui_msg_frame_b_1_2_png  )

◆ INCLUDE_IMG() [24/50]

INCLUDE_IMG ( "ui/msg/frame_b_1_3.png" ,
ui_msg_frame_b_1_3_png  )

◆ INCLUDE_IMG() [25/50]

INCLUDE_IMG ( "ui/msg/frame_b_1_4.png" ,
ui_msg_frame_b_1_4_png  )

◆ INCLUDE_IMG() [26/50]

INCLUDE_IMG ( "ui/msg/frame_b_1_5.png" ,
ui_msg_frame_b_1_5_png  )

◆ INCLUDE_IMG() [27/50]

INCLUDE_IMG ( "ui/msg/frame_b_2_1.png" ,
ui_msg_frame_b_2_1_png  )

◆ INCLUDE_IMG() [28/50]

INCLUDE_IMG ( "ui/msg/frame_b_2_5.png" ,
ui_msg_frame_b_2_5_png  )

◆ INCLUDE_IMG() [29/50]

INCLUDE_IMG ( "ui/msg/frame_b_3_1.png" ,
ui_msg_frame_b_3_1_png  )

◆ INCLUDE_IMG() [30/50]

INCLUDE_IMG ( "ui/msg/frame_b_3_5.png" ,
ui_msg_frame_b_3_5_png  )

◆ INCLUDE_IMG() [31/50]

INCLUDE_IMG ( "ui/msg/frame_b_4_1.png" ,
ui_msg_frame_b_4_1_png  )

◆ INCLUDE_IMG() [32/50]

INCLUDE_IMG ( "ui/msg/frame_b_4_5.png" ,
ui_msg_frame_b_4_5_png  )

◆ INCLUDE_IMG() [33/50]

INCLUDE_IMG ( "ui/msg/frame_b_5_1.png" ,
ui_msg_frame_b_5_1_png  )

◆ INCLUDE_IMG() [34/50]

INCLUDE_IMG ( "ui/msg/frame_b_5_2.png" ,
ui_msg_frame_b_5_2_png  )

◆ INCLUDE_IMG() [35/50]

INCLUDE_IMG ( "ui/msg/frame_b_5_3.png" ,
ui_msg_frame_b_5_3_png  )

◆ INCLUDE_IMG() [36/50]

INCLUDE_IMG ( "ui/msg/frame_b_5_4.png" ,
ui_msg_frame_b_5_4_png  )

◆ INCLUDE_IMG() [37/50]

INCLUDE_IMG ( "ui/msg/frame_b_5_5.png" ,
ui_msg_frame_b_5_5_png  )

◆ INCLUDE_IMG() [38/50]

INCLUDE_IMG ( "ui/msg/lamppost_corner_bottomright.png" ,
ui_msg_lamppost_corner_bottomright_png  )

◆ INCLUDE_IMG() [39/50]

INCLUDE_IMG ( "ui/msg/rewind_arrow.png" ,
ui_msg_rewind_arrow_png  )

◆ INCLUDE_IMG() [40/50]

INCLUDE_IMG ( "ui/msg/sign_corner_bottomleft.png" ,
ui_msg_sign_corner_bottomleft_png  )

◆ INCLUDE_IMG() [41/50]

INCLUDE_IMG ( "ui/msg/sign_corner_bottomright.png" ,
ui_msg_sign_corner_bottomright_png  )

◆ INCLUDE_IMG() [42/50]

INCLUDE_IMG ( "ui/msg/sign_corner_topleft.png" ,
ui_msg_sign_corner_topleft_png  )

◆ INCLUDE_IMG() [43/50]

INCLUDE_IMG ( "ui/msg/sign_corner_topright.png" ,
ui_msg_sign_corner_topright_png  )

◆ INCLUDE_IMG() [44/50]

INCLUDE_IMG ( "ui/msg/sign_fill.png" ,
ui_msg_sign_fill_png  )

◆ INCLUDE_IMG() [45/50]

INCLUDE_IMG ( "ui/msg/sign_side_bottom.png" ,
ui_msg_sign_side_bottom_png  )

◆ INCLUDE_IMG() [46/50]

INCLUDE_IMG ( "ui/msg/sign_side_left.png" ,
ui_msg_sign_side_left_png  )

◆ INCLUDE_IMG() [47/50]

INCLUDE_IMG ( "ui/msg/sign_side_right.png" ,
ui_msg_sign_side_right_png  )

◆ INCLUDE_IMG() [48/50]

INCLUDE_IMG ( "ui/msg/sign_side_top.png" ,
ui_msg_sign_side_top_png  )

◆ INCLUDE_IMG() [49/50]

INCLUDE_IMG ( "ui/msg/star.png" ,
ui_msg_star_png  )

◆ INCLUDE_IMG() [50/50]

INCLUDE_IMG ( "ui/msg/star_silhouette.png" ,
ui_msg_star_silhouette_png  )

◆ INCLUDE_PAL() [1/3]

INCLUDE_PAL ( "ui/msg/lamppost_corner_bottomright.pal" ,
ui_msg_lamppost_pal  )

◆ INCLUDE_PAL() [2/3]

INCLUDE_PAL ( "ui/msg/rewind_arrow.pal" ,
ui_msg_rewind_arrow_pal  )

◆ INCLUDE_PAL() [3/3]

INCLUDE_PAL ( "ui/msg/sign_corner_topleft.pal" ,
ui_msg_sign_pal  )

◆ MATCHING_BSS()

MATCHING_BSS ( 0x6DA0 )

Variable Documentation

◆ MsgCharImgNormal

BSS IMG_BIN MsgCharImgNormal[0x5100]

Referenced by load_font().

◆ MsgCharImgSubtitle

BSS IMG_BIN MsgCharImgSubtitle[0xB88]

Referenced by load_font().

◆ MsgCharImgTitle

BSS IMG_BIN MsgCharImgTitle[0xF60]

Referenced by load_font().

◆ ui_msg_palettes

unsigned char ui_msg_palettes[16][32]
Initial value:
= {
{115,158,255,255,247,187,231,57,222,245,198,47,156,229,123,221,189,239,222,247,156,229,115,157,0,1,0,1,0,1,0,1},
{115,158,231,59,222,249,214,183,206,117,181,175,140,101,107,93,173,109,206,117,140,101,99,27,0,1,0,1,0,1,0,1},
{115,158,255,255,246,245,246,113,245,171,204,229,172,97,131,155,197,173,230,181,164,163,115,157,0,1,0,1,0,1,0,1},
{115,158,255,255,214,189,198,63,181,191,156,245,140,107,115,161,181,177,214,185,148,169,115,157,0,1,0,1,0,1,0,1},
{115,158,255,255,247,179,247,169,247,95,206,29,165,29,123,219,198,43,231,51,165,35,115,157,0,1,0,1,0,1,0,1},
{115,158,231,57,246,159,139,79,171,207,180,85,213,89,171,209,168,63,168,63,168,63,168,63,168,63,122,3,65,1,0,1},
{115,158,231,57,246,159,188,81,168,63,180,85,213,89,168,63,168,63,168,63,168,63,168,63,168,63,122,3,65,1,0,1},
{115,158,231,57,246,159,131,13,168,63,180,19,213,89,168,63,168,63,168,63,168,63,168,63,168,63,122,3,65,1,0,1},
{115,158,255,255,247,187,231,57,222,245,198,47,156,229,123,221,189,239,222,247,156,229,115,157,0,1,0,1,0,1,0,1},
{115,158,66,15,132,29,181,171,214,179,181,171,123,221,66,15,66,15,66,15,66,15,115,157,0,1,0,1,0,1,0,1},
{115,158,255,255,247,57,238,247,230,115,197,107,172,97,131,155,197,173,230,181,164,163,115,157,0,1,0,1,0,1,0,1},
{115,158,255,255,231,61,214,187,206,121,173,113,140,107,115,161,181,177,214,185,148,169,115,157,0,1,0,1,0,1,0,1},
{115,158,255,255,247,183,239,115,231,45,198,39,165,31,123,219,198,43,231,51,165,35,115,157,0,1,0,1,0,1,0,1},
{115,158,231,57,230,29,147,143,188,21,196,79,213,87,171,209,168,63,168,63,168,63,168,63,168,63,130,137,65,1,0,1},
{115,158,231,57,230,29,172,83,172,19,196,79,213,87,163,141,168,63,168,63,168,63,168,63,168,63,130,137,65,1,0,1},
{115,158,231,57,230,29,155,75,168,63,196,79,205,23,168,63,168,63,168,63,168,63,168,63,168,63,130,137,65,1,0,1},
}

Referenced by msg_draw_frame(), and msg_draw_speech_bubble().