Merge pull request #565 from GriffinRichards/text-window
Document text window
This commit is contained in:
+1
-1
@@ -2875,7 +2875,7 @@ extern const u32 gTMCase_TMSpriteGfx[];
|
||||
extern const u32 gUnknown_8E84F20[];
|
||||
extern const u32 gUnknown_8E85068[];
|
||||
extern const u8 gUnknown_8E99118[];
|
||||
extern const u16 gTMCaseMainWindowPalette[];
|
||||
extern const u16 gStandardMenuPalette[];
|
||||
|
||||
// egg_hatch
|
||||
extern const u32 gBattleTextboxTiles[];
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef GUARD_HELP_MESSAGE_H
|
||||
#define GUARD_HELP_MESSAGE_H
|
||||
|
||||
extern const u8 gHelpMessageWindow_Gfx[];
|
||||
|
||||
void DestroyHelpMessageWindow(u8 a0);
|
||||
u8 CreateHelpMessageWindow(void);
|
||||
void PrintTextOnHelpMessageWindow(const u8 * text, u8 mode);
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
#include "text.h"
|
||||
#include "task.h"
|
||||
|
||||
extern const u16 gMenuMessageWindow_Gfx[];
|
||||
|
||||
void ClearScheduledBgCopiesToVram(void);
|
||||
void ScheduleBgCopyTilemapToVram(u8 bgId);
|
||||
void DoScheduledBgTilemapCopiesToVram(void);
|
||||
@@ -46,7 +48,7 @@ void RemoveStartMenuWindow(void);
|
||||
u16 GetStdWindowBaseTileNum(void);
|
||||
void DrawHelpMessageWindowWithText(const u8 * text);
|
||||
void DestroyHelpMessageWindow_(void);
|
||||
void LoadSignPostWindowFrameGfx(void);
|
||||
void LoadSignpostWindowFrameGfx(void);
|
||||
void SetDefaultFontsPointer(void);
|
||||
|
||||
#endif // GUARD_NEW_MENU_HELPERS_H
|
||||
|
||||
@@ -30,7 +30,6 @@ struct UnkStruct_203B044
|
||||
|
||||
extern u8 gQuestLogState;
|
||||
extern u8 gQuestLogPlaybackState;
|
||||
extern const u8 gUnknown_84566A8[];
|
||||
extern struct FieldInput gQuestLogFieldInput;
|
||||
extern struct UnkStruct_203B044 gUnknown_203B044;
|
||||
extern u16 *gUnknown_203AE04;
|
||||
|
||||
+4
-4
@@ -62,12 +62,12 @@ void ClearMsgBoxCancelableState(void);
|
||||
void SetQuestLogInputIsDpadFlag(void);
|
||||
void ClearQuestLogInput(void);
|
||||
void ClearQuestLogInputIsDpadFlag(void);
|
||||
void MsgSetSignPost(void);
|
||||
void MsgSetNotSignPost(void);
|
||||
bool8 IsMsgSignPost(void);
|
||||
void MsgSetSignpost(void);
|
||||
void MsgSetNotSignpost(void);
|
||||
bool8 IsMsgSignpost(void);
|
||||
bool8 IsQuestLogInputDpad(void);
|
||||
u8 GetRegisteredQuestLogInput(void);
|
||||
void ResetFacingNpcOrSignPostVars(void);
|
||||
void ResetFacingNpcOrSignpostVars(void);
|
||||
bool8 CanWalkAwayToCancelMsgBox(void);
|
||||
void SetWalkingIntoSignVars(void);
|
||||
bool8 IsMsgBoxWalkawayDisabled(void);
|
||||
|
||||
+10
-10
@@ -10,18 +10,18 @@ struct TilesPal
|
||||
};
|
||||
|
||||
void rbox_fill_rectangle(u8 windowId);
|
||||
const u16 *stdpal_get(u8 id);
|
||||
const u16 *GetTextWindowPalette(u8 id);
|
||||
const u16 *GetOverworldTextboxPalettePtr(void);
|
||||
void TextWindow_LoadResourcesStdFrame0(u8 windowId, u16 tileStart, u8 palette);
|
||||
void TextWindow_SetStdFrame0_WithPal(u8 windowId, u16 tileStart, u8 palette);
|
||||
void TextWindow_SetUserSelectedFrame(u8 windowId, u16 tileStart, u8 palette);
|
||||
void LoadUserWindowBorderGfx(u8 windowId, u16 tileStart, u8 palette);
|
||||
void DrawWindowBorderWithStdpal3(u8 bgId, u16 tileStart, u8 palette);
|
||||
void LoadMenuMessageWindowGfx(u8 windowId, u16 tileStart, u8 palette);
|
||||
void LoadStdWindowGfx(u8 windowId, u16 tileStart, u8 palette);
|
||||
void LoadUserWindowGfx(u8 windowId, u16 tileStart, u8 palette);
|
||||
void LoadUserWindowGfx2(u8 windowId, u16 tileStart, u8 palette);
|
||||
void LoadStdWindowGfxOnBg(u8 bgId, u16 tileStart, u8 palette);
|
||||
void DrawTextBorderOuter(u8 windowId, u16 tileStart, u8 palette);
|
||||
void DrawTextBorderInner(u8 windowId, u16 tileNum, u8 palNum);
|
||||
void TextWindow_LoadTilesStdFrame1(u8 windowId, u16 destOffset);
|
||||
void sub_814FE6C(u8 windowId, u16 destOffset, u8 palIdx);
|
||||
void sub_814FEEC(u8 windowId, u16 destOffset, u8 palIdx);
|
||||
void sub_814FF6C(u8 windowId, u16 destOffset);
|
||||
void LoadHelpMessageWindowGfx(u8 windowId, u16 destOffset, u8 palIdx);
|
||||
void LoadSignpostWindowGfx(u8 windowId, u16 destOffset, u8 palIdx);
|
||||
void LoadStdWindowTiles(u8 windowId, u16 destOffset);
|
||||
void LoadQuestLogWindowTiles(u8 windowId, u16 destOffset);
|
||||
|
||||
#endif // GUARD_TEXT_WINDOW_H
|
||||
|
||||
@@ -7,13 +7,13 @@ struct TextWindowGraphics
|
||||
const void *palette;
|
||||
};
|
||||
|
||||
extern const u16 gUnknown_8470B0C[];
|
||||
extern const u16 gStdFrame0[];
|
||||
extern const u16 gStdFrame1[];
|
||||
extern const u16 gUnknown_8471DEC[][16];
|
||||
extern const u16 gSignpostWindow_Gfx[];
|
||||
extern const u16 gStdTextWindow_Gfx[];
|
||||
extern const u16 gQuestLogWindow_Gfx[];
|
||||
extern const u16 gTextWindowPalettes[][16];
|
||||
|
||||
extern const struct TextWindowGraphics gUserFrames[];
|
||||
|
||||
const struct TextWindowGraphics *GetWindowFrameTilesPal(u8 idx);
|
||||
const struct TextWindowGraphics *GetUserWindowGraphics(u8 idx);
|
||||
|
||||
#endif //GUARD_TEXT_WINDOW_GRAPHICS_H
|
||||
|
||||
Reference in New Issue
Block a user