From f492004cb605a45b0b43e94121a0f504d7fb10cc Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Wed, 3 May 2017 21:50:25 -0700 Subject: introduce YesNoFuncTable struct --- include/global.h | 5 ----- include/menu_helpers.h | 12 ++++++++++++ 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 include/menu_helpers.h (limited to 'include') diff --git a/include/global.h b/include/global.h index 59cbd3b89..f4f9f0048 100644 --- a/include/global.h +++ b/include/global.h @@ -76,11 +76,6 @@ struct TextStruct const u8 *text; }; -struct FuncStruct -{ - void *func; -}; - struct Coords16 { s16 x; diff --git a/include/menu_helpers.h b/include/menu_helpers.h new file mode 100644 index 000000000..f55a90615 --- /dev/null +++ b/include/menu_helpers.h @@ -0,0 +1,12 @@ +#ifndef GUARD_MENU_HELPERS_H +#define GUARD_MENU_HELPERS_H + +struct YesNoFuncTable +{ + void (*yesFunc)(u8); + void (*noFunc)(u8); +}; + +void sub_80F914C(u8, const struct YesNoFuncTable *); + +#endif // GUARD_MENU_HELPERS_H -- cgit v1.2.3