summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-05-03 21:50:25 -0700
committerYamaArashi <shadow962@live.com>2017-05-03 21:54:43 -0700
commitf492004cb605a45b0b43e94121a0f504d7fb10cc (patch)
tree62d41cadc22ba145c6c72f2a4ad5f6239a77da05 /include
parent64ad31bd4a966cca34fe679c2ed775187d3d2978 (diff)
introduce YesNoFuncTable struct
Diffstat (limited to 'include')
-rw-r--r--include/global.h5
-rw-r--r--include/menu_helpers.h12
2 files changed, 12 insertions, 5 deletions
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