mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-09-08 09:05:40 -05:00
30 lines
688 B
C++
30 lines
688 B
C++
#ifndef _DEBUG_MENU_ENTRIES_H
|
|
#define _DEBUG_MENU_ENTRIES_H
|
|
|
|
#include "typeDefs.h"
|
|
|
|
class vertical_menu;
|
|
|
|
enum class DebugMenuSection
|
|
{
|
|
MAIN,
|
|
INJECTION
|
|
};
|
|
|
|
/**
|
|
* @brief This function pointer is used to define a function filling a specifi DebugMenuSection
|
|
*/
|
|
typedef void (*fill_menu_entries_func)(vertical_menu &menu, u16 *charset);
|
|
|
|
typedef struct MenuSectionMapEntry
|
|
{
|
|
DebugMenuSection section;
|
|
fill_menu_entries_func fill_func;
|
|
} MenuSectionMapEntry;
|
|
|
|
/**
|
|
* @brief This function constructs the actual debug menu entries and fills the provided menu with them.
|
|
*/
|
|
void fill_debug_menu_with_entries(vertical_menu &menu, u16 *charset, DebugMenuSection section);
|
|
|
|
#endif |