Poke_Transporter_GB/include/select_menu.h
The Gears of Progress 22f7aaac26 Pre-saving space
2024-08-13 15:49:04 -04:00

31 lines
599 B
C++

#ifndef SELECT_MENU_H
#define SELECT_MENU_H
#include <tonc.h>
#include <vector>
#include <string>
#define LANG_MENU 1
#define CART_MENU 2
class Select_Menu
{
public:
Select_Menu(bool enable_cancel, int nMenu_type);
int select_menu_main();
void hide_menu();
void show_menu();
void clear_options();
void add_option(std::string option, int return_value);
void set_lang(int nLang);
private:
std::vector<std::string> menu_options;
std::vector<int> return_values;
unsigned int curr_selection;
bool cancel_enabled;
int menu_type;
int lang;
};
#endif