2020-12-02 16:19:16 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class Menu
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
struct overlay
|
|
|
|
{
|
|
|
|
static bool coord;
|
|
|
|
static bool fps;
|
|
|
|
static bool loc_name;
|
|
|
|
static bool transparent;
|
|
|
|
static bool veh_health;
|
|
|
|
static bool veh_speed;
|
|
|
|
static std::vector<std::string> pos_names;
|
|
|
|
static int selected_pos;
|
|
|
|
static float posX;
|
|
|
|
static float posY;
|
|
|
|
};
|
|
|
|
public:
|
2021-01-16 12:48:06 -05:00
|
|
|
struct hotkeys
|
2020-12-02 16:19:16 -05:00
|
|
|
{
|
2021-01-18 04:53:24 -05:00
|
|
|
static HotKeyData aim_skin_changer;
|
2021-01-19 05:02:33 -05:00
|
|
|
static HotKeyData freecam;
|
2021-01-16 12:48:06 -05:00
|
|
|
static HotKeyData command_window;
|
2021-01-18 04:53:24 -05:00
|
|
|
static HotKeyData fix_veh;
|
|
|
|
static HotKeyData flip_veh;
|
|
|
|
static HotKeyData god_mode;
|
2021-01-16 12:48:06 -05:00
|
|
|
static HotKeyData menu_open;
|
|
|
|
static HotKeyData quick_ss;
|
|
|
|
static HotKeyData quick_tp;
|
2021-02-01 08:31:20 -05:00
|
|
|
static HotKeyData veh_engine;
|
2021-02-02 02:59:01 -05:00
|
|
|
static HotKeyData veh_instant_start;
|
|
|
|
static HotKeyData veh_instant_stop;
|
2020-12-02 16:19:16 -05:00
|
|
|
};
|
|
|
|
struct commands
|
|
|
|
{
|
|
|
|
static bool show_menu;
|
|
|
|
static char input_buffer[INPUT_BUFFER_SIZE];
|
|
|
|
};
|
|
|
|
|
|
|
|
Menu();
|
|
|
|
~Menu();
|
|
|
|
static void Main();
|
|
|
|
static void ProcessOverlay();
|
|
|
|
static void ProcessShortcutsWindow();
|
|
|
|
static void ProcessCommands();
|
|
|
|
|
|
|
|
};
|
|
|
|
|