CheatMenuSA/src/Game.h

68 lines
1.3 KiB
C
Raw Normal View History

2020-12-02 16:19:16 -05:00
#pragma once
class Game
{
public:
2020-12-02 16:19:16 -05:00
static CJson json;
static ImGuiTextFilter filter;
static std::vector<std::string> search_categories;
static std::string selected_item;
static std::vector<std::string> day_names;
static char save_game_name[22];
struct random_cheats
{
static bool enable;
static int enable_wait_time;
static CJson name_json;
static uint timer;
static std::string enabled_cheats[92][2];
};
2021-01-19 05:02:33 -05:00
struct freecam
2020-12-02 16:19:16 -05:00
{
static bool enable;
static float speed;
2021-02-08 05:25:06 -05:00
static float fov;
2020-12-02 16:19:16 -05:00
static bool init_done;
2021-02-24 16:54:45 -05:00
static CPed* ped;
2021-01-19 05:02:33 -05:00
static int hped;
static float mouseX, mouseY, tmouseX, tmouseY;
2020-12-02 16:19:16 -05:00
};
2021-02-02 02:59:01 -05:00
struct hard_mode
{
static bool state;
static float prev_health;
static float prev_max_health;
static float prev_armour;
static float prev_stamina;
};
2020-12-02 16:19:16 -05:00
static bool disable_cheats;
static bool disable_replay;
static bool forbidden_area_wl;
static bool freeze_mission_timer;
static bool freeze_time;
static bool keep_stuff;
static bool solid_water;
static bool ss_shortcut;
static bool sync_time;
static uint sync_time_timer;
static uint solid_water_object;
struct stat
{
static CJson json;
static ImGuiTextFilter filter;
static std::vector<std::string> search_categories;
static std::string selected_item;
};
Game();
2021-02-24 16:54:45 -05:00
static void Draw();
2021-01-19 05:02:33 -05:00
static void FreeCam();
static void ClearFreecamStuff();
2020-12-02 16:19:16 -05:00
};