Go to the source code of this file.
Macros | |
#define | MSG_NORMAL_WIDTH 218 |
#define | MSG_NORMAL_X 22 |
#define | MSG_NORMAL_WIN_WIDTH 296 |
#define | MSG_NORMAL_WIN_HEIGHT 68 |
#define | MSG_NORMAL_TEXT_Y 6 |
#define | MSG_NORMAL_ARROW_X 276 |
#define | MSG_NORMAL_ARROW_Y 57 |
#define | MSG_NORMAL_HEIGHT_CAP 68 |
#define | MSG_NORMAL_PAGE_HT 14 |
#define | MSG_INSPECT_TEXT_Y 3 |
#define | MSG_SIGN_TEXT_Y 11 |
#define | MSG_SIGN_WIDTH 280 |
#define | MSG_SIGN_OFFSET_X 0 |
#define | MSG_POPUP_TEXT_Y 4 |
#define | MSG_EPILOGUE_TEXT_Y -2 |
Typedefs | |
typedef MessageImageData * | MessageImageDataList[1] |
Functions | |
s32 | my_ceil (f32 f) |
void | appendGfx_message (MessagePrintState *, s16, s16, u16, u16, u16, u8) |
void | appendGfx_msg_prim_rect (u8 r, u8 g, u8 b, u8 a, u16 ulX, u16 ulY, u16 lrX, u16 lrY) |
void | msg_reset_gfx_state (void) |
void | msg_draw_char (MessagePrintState *printer, MessageDrawState *drawState, s32 charIndex, s32 palette, s32 posX, s32 posY) |
void | msg_draw_prim_rect (u8 r, u8 g, u8 b, u8 a, u16 posX, u16 posY, u16 sizeX, u16 sizeY) |
void | msg_draw_speech_arrow (MessagePrintState *printer) |
void | msg_draw_frame (s32 posX, s32 posY, s32 sizeX, s32 sizeY, s32 style, s32 palette, s32 fading, s32 bgAlpha, s32 frameAlpha) |
void | msg_draw_speech_bubble (MessagePrintState *printer, s16 posX, s16 posY, s16 straightWidth, s16 curveWidth, s16 height, f32 scaleX, f32 scaleY, u8 opacity, s32 arg9) |
s32 | msg_get_draw_char_width (s32 character, s32 charset, s32 variation, f32 msgScale, s32 overrideCharWidth, u16 flags) |
void | drawbox_message_delegate (s32 data, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) |
void | draw_message_window (MessagePrintState *printer) |
void | msg_get_glyph (s32 font, s32 variation, s32 charIndex, s32 palette, MesasgeFontGlyphData *out) |
#define MSG_NORMAL_WIDTH 218 |
Definition at line 193 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_NORMAL_X 22 |
Definition at line 194 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_NORMAL_WIN_WIDTH 296 |
Definition at line 195 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_NORMAL_WIN_HEIGHT 68 |
Definition at line 196 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_NORMAL_TEXT_Y 6 |
Definition at line 197 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_NORMAL_ARROW_X 276 |
Definition at line 198 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_NORMAL_ARROW_Y 57 |
Definition at line 199 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_NORMAL_HEIGHT_CAP 68 |
Definition at line 200 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_NORMAL_PAGE_HT 14 |
Definition at line 201 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_INSPECT_TEXT_Y 3 |
Definition at line 202 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_SIGN_TEXT_Y 11 |
Definition at line 203 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_SIGN_WIDTH 280 |
Definition at line 204 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_SIGN_OFFSET_X 0 |
Definition at line 205 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_POPUP_TEXT_Y 4 |
Definition at line 206 of file msg_draw.c.
Referenced by appendGfx_message().
#define MSG_EPILOGUE_TEXT_Y -2 |
Definition at line 207 of file msg_draw.c.
Referenced by appendGfx_message().
typedef MessageImageData* MessageImageDataList[1] |
Definition at line 34 of file msg_draw.c.
s32 my_ceil | ( | f32 | f | ) |
Definition at line 11 of file msg_draw.c.
Referenced by msg_draw_frame().
void appendGfx_message | ( | MessagePrintState * | printer, |
s16 | posX, | ||
s16 | posY, | ||
u16 | additionalOffsetX, | ||
u16 | additionalOffsetY, | ||
u16 | flag, | ||
u8 | alpha ) |
Definition at line 213 of file msg_draw.c.
Referenced by draw_message_window(), draw_msg(), and drawbox_message_delegate().
void appendGfx_msg_prim_rect | ( | u8 | r, |
u8 | g, | ||
u8 | b, | ||
u8 | a, | ||
u16 | ulX, | ||
u16 | ulY, | ||
u16 | lrX, | ||
u16 | lrY ) |
Definition at line 1795 of file msg_draw.c.
Referenced by msg_draw_prim_rect().
void msg_reset_gfx_state | ( | void | ) |
Definition at line 1642 of file msg_draw.c.
Referenced by appendGfx_message().
void msg_draw_char | ( | MessagePrintState * | printer, |
MessageDrawState * | drawState, | ||
s32 | charIndex, | ||
s32 | palette, | ||
s32 | posX, | ||
s32 | posY ) |
Definition at line 1647 of file msg_draw.c.
Referenced by appendGfx_message().
void msg_draw_prim_rect | ( | u8 | r, |
u8 | g, | ||
u8 | b, | ||
u8 | a, | ||
u16 | posX, | ||
u16 | posY, | ||
u16 | sizeX, | ||
u16 | sizeY ) |
Definition at line 1788 of file msg_draw.c.
Referenced by appendGfx_message(), and msg_draw_speech_bubble().
void msg_draw_speech_arrow | ( | MessagePrintState * | printer | ) |
Definition at line 1928 of file msg_draw.c.
Referenced by appendGfx_message().
void msg_draw_frame | ( | s32 | posX, |
s32 | posY, | ||
s32 | sizeX, | ||
s32 | sizeY, | ||
s32 | style, | ||
s32 | palette, | ||
s32 | fading, | ||
s32 | bgAlpha, | ||
s32 | frameAlpha ) |
Definition at line 2043 of file msg_draw.c.
Referenced by appendGfx_message().
void msg_draw_speech_bubble | ( | MessagePrintState * | printer, |
s16 | posX, | ||
s16 | posY, | ||
s16 | straightWidth, | ||
s16 | curveWidth, | ||
s16 | height, | ||
f32 | scaleX, | ||
f32 | scaleY, | ||
u8 | opacity, | ||
s32 | arg9 ) |
Definition at line 1823 of file msg_draw.c.
Referenced by appendGfx_message().
s32 msg_get_draw_char_width | ( | s32 | character, |
s32 | charset, | ||
s32 | variation, | ||
f32 | msgScale, | ||
s32 | overrideCharWidth, | ||
u16 | flags ) |
Definition at line 1628 of file msg.c.
Referenced by appendGfx_message(), and msg_get_glyph().
void drawbox_message_delegate | ( | s32 | data, |
s32 | baseX, | ||
s32 | baseY, | ||
s32 | width, | ||
s32 | height, | ||
s32 | opacity, | ||
s32 | darkening ) |
Definition at line 131 of file msg_draw.c.
Referenced by draw_message_window().
void draw_message_window | ( | MessagePrintState * | printer | ) |
Definition at line 137 of file msg_draw.c.
Referenced by render_messages().
void msg_get_glyph | ( | s32 | font, |
s32 | variation, | ||
s32 | charIndex, | ||
s32 | palette, | ||
MesasgeFontGlyphData * | out ) |
Definition at line 2279 of file msg_draw.c.
|
extern |
Referenced by msg_draw_speech_bubble().
|
extern |
Referenced by msg_draw_speech_bubble().
|
extern |
Referenced by msg_draw_speech_bubble().
|
extern |
Referenced by msg_draw_speech_arrow().
|
extern |
Definition at line 42 of file msg_img.c.
Referenced by msg_draw_frame(), and msg_draw_speech_bubble().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by appendGfx_message().
|
extern |
Referenced by msg_draw_frame().
|
extern |
Definition at line 88 of file msg.c.
Referenced by clear_printers(), msg_draw_frame(), and update_messages().
|
extern |
Definition at line 89 of file msg.c.
Referenced by appendGfx_message(), clear_printers(), and update_messages().
|
extern |
Definition at line 90 of file msg.c.
Referenced by set_message_images().
|
extern |
Definition at line 91 of file msg.c.
Referenced by clear_printers(), msg_draw_frame(), and update_messages().
|
extern |
Definition at line 92 of file msg.c.
Referenced by appendGfx_message(), and msg_copy_to_print_buffer().
|
extern |
Definition at line 93 of file msg.c.
Referenced by appendGfx_message(), and clear_printers().
|
extern |
Definition at line 104 of file msg.c.
Referenced by appendGfx_message(), and msg_copy_to_print_buffer().
|
extern |
Definition at line 105 of file msg.c.
Referenced by appendGfx_message(), and msg_copy_to_print_buffer().
|
extern |
Definition at line 927 of file msg_data.c.
Referenced by appendGfx_message().
|
extern |
Definition at line 865 of file msg_data.c.
Referenced by appendGfx_message(), msg_draw_char(), and msg_get_glyph().
|
extern |
Referenced by msg_draw_char(), and msg_get_glyph().
|
extern |
Definition at line 492 of file 5B320.c.
Referenced by msg_draw_frame().
Vtx gMsgSpeechBoxLQuad[4] |
Definition at line 59 of file msg_draw.c.
Referenced by msg_draw_speech_bubble().
Vtx gMsgSpeechBoxMQuad[] |
Definition at line 66 of file msg_draw.c.
Referenced by msg_draw_speech_bubble().
Vtx gMsgSpeechBoxRQuad[] |
Definition at line 73 of file msg_draw.c.
Referenced by msg_draw_speech_bubble().
Vtx gMsgArrowQuad1[] |
Definition at line 80 of file msg_draw.c.
Referenced by msg_draw_speech_arrow().
Vtx gMsgArrowQuad2[] |
Definition at line 87 of file msg_draw.c.
Referenced by msg_draw_speech_arrow().
Gfx D_8014C500[] |
Definition at line 94 of file msg_draw.c.
Referenced by appendGfx_message(), and msg_reset_gfx_state().
u8 D_8014C580[] = { 50, 80, 100, 105, 100, 0, 0, 0 } |
Definition at line 113 of file msg_draw.c.
Referenced by draw_message_window().
u8 D_8014C588[] = { 105, 100, 77, 57, 40, 27, 16, 8, 3, 0, 0, 0} |
Definition at line 114 of file msg_draw.c.
Referenced by draw_message_window().