2020-12-02 16:19:16 -05:00
|
|
|
#pragma once
|
|
|
|
class Game
|
|
|
|
{
|
2021-01-16 12:48:06 -05:00
|
|
|
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;
|
|
|
|
static bool init_done;
|
2021-01-19 05:02:33 -05:00
|
|
|
static CPed *ped;
|
|
|
|
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 ss_shotcut_timer;
|
|
|
|
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();
|
|
|
|
~Game();
|
|
|
|
static void Main();
|
2021-01-19 05:02:33 -05:00
|
|
|
static void FreeCam();
|
|
|
|
static void ClearFreecamStuff();
|
2020-12-02 16:19:16 -05:00
|
|
|
};
|
|
|
|
|