CheatMenuSA/CheatMenu/Menu.h

49 lines
1.3 KiB
C
Raw Normal View History

2020-12-02 16:19:16 -05:00
#pragma once
class Menu
{
private:
struct overlay
{
2021-03-02 14:18:37 -05:00
inline static bool coord = false;
inline static bool fps = false;
inline static bool loc_name = false;
inline static bool transparent = false;
inline static bool veh_health = false;
inline static bool veh_speed = false;
inline static std::vector<std::string> pos_names = { "Custom", "Top left", "Top right", "Bottom left", "Bottom right" };
inline static int selected_pos = 4; // TODO: Create Enum
inline static float posX = 0.0f;
inline static float posY = 0.0f;
2020-12-02 16:19:16 -05:00
};
public:
struct hotkeys
2020-12-02 16:19:16 -05:00
{
2021-03-02 14:18:37 -05:00
inline static HotKeyData aim_skin_changer;
inline static HotKeyData freecam;
inline static HotKeyData command_window;
inline static HotKeyData fix_veh;
inline static HotKeyData flip_veh;
inline static HotKeyData free_cam_tp_player{VK_RETURN,VK_RETURN};
inline static HotKeyData god_mode;
inline static HotKeyData menu_open;
inline static HotKeyData quick_ss;
inline static HotKeyData quick_tp;
inline static HotKeyData veh_engine;
inline static HotKeyData veh_instant_start;
inline static HotKeyData veh_instant_stop;
2020-12-02 16:19:16 -05:00
};
struct commands
{
2021-03-02 14:18:37 -05:00
inline static bool show_menu = false;
inline static char input_buffer[INPUT_BUFFER_SIZE] = "";
2020-12-02 16:19:16 -05:00
};
Menu();
2021-02-24 16:54:45 -05:00
static void Draw();
2021-02-25 17:45:41 -05:00
static void DrawOverlay();
2021-02-24 16:54:45 -05:00
static void DrawShortcutsWindow();
2020-12-02 16:19:16 -05:00
static void ProcessCommands();
};