2020-12-02 16:19:16 -05:00
|
|
|
#pragma once
|
2021-06-19 09:00:13 -04:00
|
|
|
class Game
|
2020-12-02 16:19:16 -05:00
|
|
|
{
|
2021-01-16 12:48:06 -05:00
|
|
|
public:
|
2021-06-18 12:49:11 -04:00
|
|
|
inline static SSearchData m_MissionData{"mission"};
|
|
|
|
inline static std::vector<std::string> m_DayNames =
|
2020-12-02 16:19:16 -05:00
|
|
|
{
|
2021-06-18 12:49:11 -04:00
|
|
|
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
|
2020-12-02 16:19:16 -05:00
|
|
|
};
|
2021-06-19 09:00:13 -04:00
|
|
|
struct m_RandomCheats
|
2020-12-02 16:19:16 -05:00
|
|
|
{
|
2021-06-18 12:49:11 -04:00
|
|
|
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;
|
2021-06-19 09:00:13 -04:00
|
|
|
};
|
|
|
|
struct m_Freecam
|
2021-02-02 02:59:01 -05:00
|
|
|
{
|
2021-06-18 12:49:11 -04:00
|
|
|
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;
|
2021-07-11 05:43:41 -04:00
|
|
|
inline static BYTE m_bHudState;
|
|
|
|
inline static BYTE m_bRadarState;
|
2021-06-19 09:00:13 -04:00
|
|
|
};
|
|
|
|
struct m_HardMode
|
2020-12-02 16:19:16 -05:00
|
|
|
{
|
2021-06-18 12:49:11 -04:00
|
|
|
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;
|
2021-06-19 09:00:13 -04:00
|
|
|
};
|
2021-06-18 12:49:11 -04:00
|
|
|
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" };
|
|
|
|
|
2021-06-19 09:00:13 -04:00
|
|
|
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();
|
2021-03-02 14:18:37 -05:00
|
|
|
static void RealTimeClock();
|
2020-12-02 16:19:16 -05:00
|
|
|
};
|