CheatMenuSA/CheatMenu/Game.h
2021-06-18 22:49:11 +06:00

58 lines
1.6 KiB
C++

#pragma once
class CGame
{
public:
inline static SSearchData m_MissionData{"mission"};
inline static std::vector<std::string> m_DayNames =
{
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
};
static struct
{
inline static bool m_bEnabled;
inline static std::string m_EnabledCheats[92][2];
inline static int m_nInterval = 10;
inline static CJson m_Json = CJson("cheat name");
inline static uint m_nTimer;
} m_RandomCheats;
static struct
{
inline static bool m_bEnabled;
inline static float m_fSpeed = 0.08f;
inline static float m_fFOV = -1;
inline static bool m_bInitDone;
inline static CPed* m_pPed;
inline static int m_nPed = -1;
inline static CVector m_fMouse;
inline static CVector m_fTotalMouse;
} m_Freecam;
static struct
{
inline static bool m_bEnabled;
inline static float m_fBacHealth = 0.0f;
inline static float m_fBacMaxHealth = 0.0f;
inline static float m_fBacArmour = 0.0f;
inline static float m_fBacStamina = 0.0f;
} m_HardMode;
inline static bool m_bDisableCheats;
inline static bool m_bDisableReplay;
inline static bool m_bForbiddenArea = true;
inline static bool m_bMissionTimer;
inline static bool m_bFreezeTime;
inline static bool m_bKeepStuff;
inline static bool m_bSolidWater;
inline static bool m_bScreenShot;
inline static bool m_bSyncTime;
inline static uint m_nSyncTimer;
inline static uint m_nSolidWaterObj;
inline static bool m_bMissionLoaderWarningShown;
inline static SSearchData m_StatData{ "stat" };
CGame();
static void Draw();
static void FreeCam();
static void ClearFreecamStuff();
static void RealTimeClock();
};