2017-10-13 03:05:36 +00:00
|
|
|
#ifndef GUARD_MENU_HELPERS_H
|
|
|
|
#define GUARD_MENU_HELPERS_H
|
|
|
|
|
2018-02-07 06:07:42 +00:00
|
|
|
#include "task.h"
|
|
|
|
|
2017-10-13 03:05:36 +00:00
|
|
|
// Exported type declarations
|
|
|
|
|
2017-12-15 23:08:23 +00:00
|
|
|
struct YesNoFuncTable
|
|
|
|
{
|
2017-10-22 22:55:07 +00:00
|
|
|
TaskFunc yesFunc;
|
|
|
|
TaskFunc noFunc;
|
|
|
|
};
|
|
|
|
|
2017-10-13 03:05:36 +00:00
|
|
|
// Exported RAM declarations
|
|
|
|
|
|
|
|
// Exported ROM declarations
|
2018-03-19 10:27:33 +00:00
|
|
|
void sub_812220C(struct ItemSlot *, u8, u8 *, u8 *, u8);
|
2017-10-22 22:55:07 +00:00
|
|
|
void sub_812225C(u16 *, u16 *, u8, u8);
|
|
|
|
void sub_8122298(u16 *, u16 *, u8, u8, u8);
|
|
|
|
void sub_8121F68(u8 taskId, const struct YesNoFuncTable *data);
|
2017-10-13 03:05:36 +00:00
|
|
|
bool8 sub_81221AC(void);
|
2018-02-02 11:32:12 +00:00
|
|
|
bool8 sub_81221EC(void);
|
2017-12-09 20:23:40 +00:00
|
|
|
void ResetVramOamAndBgCntRegs(void);
|
|
|
|
void SetVBlankHBlankCallbacksToNull(void);
|
|
|
|
void ResetAllBgsCoordinates(void);
|
|
|
|
bool16 RunTextPrintersRetIsActive(u8 textPrinterId);
|
2018-03-15 10:37:24 +00:00
|
|
|
void sub_8122344(u8 *arg0, u8 arg1);
|
|
|
|
void sub_81223B0(u8 *arg0, u8 arg1);
|
2017-12-15 23:08:23 +00:00
|
|
|
void LoadListMenuArrowsGfx(void);
|
|
|
|
void sub_81223FC(u8 *a0, u8 count, u8 a2);
|
|
|
|
void sub_8122448(u8 *a0, u8 count, u16 x, u16 y);
|
2017-12-16 14:10:29 +00:00
|
|
|
void DisplayMessageAndContinueTask(u8 taskId, u8 arg1, u16 arg2, u8 arg3, u8 arg4, u8 textSpeed, const u8 *string, void *taskFunc);
|
|
|
|
void CreateYesNoMenuWithCallbacks(u8 taskId, const struct WindowTemplate *template, u8 arg2, u8 arg3, u8 arg4, u16 tileStart, u8 palette, const struct YesNoFuncTable *yesNo);
|
2018-01-27 23:46:32 +00:00
|
|
|
u8 GetLRKeysState(void);
|
|
|
|
u8 sub_812210C(void);
|
2018-02-09 02:00:28 +00:00
|
|
|
bool8 sub_81221EC(void);
|
|
|
|
bool8 sub_81221AC(void);
|
|
|
|
bool8 sub_8122148(u16);
|
|
|
|
bool8 AdjustQuantityAccordingToDPadInput(s16*, u16);
|
|
|
|
bool8 itemid_80BF6D8_mail_related(u16);
|
2017-10-13 03:05:36 +00:00
|
|
|
|
|
|
|
#endif //GUARD_MENU_HELPERS_H
|