2020-12-02 16:19:16 -05:00
|
|
|
#pragma once
|
2021-08-12 23:28:19 -04:00
|
|
|
#include "pch.h"
|
2021-12-24 05:36:07 -05:00
|
|
|
|
2022-06-28 16:23:03 -04:00
|
|
|
#ifdef GTASA
|
|
|
|
class Freecam
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
static inline bool m_bInitDone;
|
|
|
|
static inline CPed* m_pPed;
|
|
|
|
static inline int m_nPed = -1;
|
|
|
|
static inline BYTE m_bHudState;
|
|
|
|
static inline BYTE m_bRadarState;
|
|
|
|
|
|
|
|
public:
|
|
|
|
static inline bool m_bEnabled;
|
|
|
|
static inline int m_nMul = 1;
|
|
|
|
static inline float m_fFOV = 60.0f;
|
|
|
|
|
|
|
|
static void Clear();
|
|
|
|
static void Process();
|
|
|
|
};
|
|
|
|
|
|
|
|
class RandomCheats
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
static inline std::string m_EnabledCheats[92][2];
|
|
|
|
static inline DataStore m_pData {"cheats"};
|
|
|
|
static inline uint m_nTimer;
|
|
|
|
|
|
|
|
public:
|
|
|
|
static inline bool m_bEnabled;
|
|
|
|
static inline bool m_bProgressBar = true;
|
|
|
|
static inline int m_nInterval = 10;
|
|
|
|
|
|
|
|
static void DrawBar();
|
|
|
|
static void DrawList();
|
|
|
|
static void Process();
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
2021-06-19 09:00:13 -04:00
|
|
|
class Game
|
2020-12-02 16:19:16 -05:00
|
|
|
{
|
2022-01-13 08:57:08 -05:00
|
|
|
private:
|
2022-06-16 06:40:46 -04:00
|
|
|
static inline ResourceStore m_MissionData{ "missions", eResourceType::TYPE_TEXT };
|
2022-01-07 03:18:00 -05:00
|
|
|
static inline bool m_bDisableCheats;
|
|
|
|
static inline bool m_bDisableReplay;
|
|
|
|
static inline bool m_bMissionTimer;
|
2022-01-13 08:57:08 -05:00
|
|
|
|
2022-06-26 08:08:55 -04:00
|
|
|
struct HardMode
|
2022-01-07 03:18:00 -05:00
|
|
|
{
|
|
|
|
static inline bool m_bEnabled;
|
|
|
|
static inline float m_fBacHealth = 0.0f;
|
|
|
|
static inline float m_fBacMaxHealth = 0.0f;
|
|
|
|
static inline float m_fBacArmour = 0.0f;
|
|
|
|
static inline float m_fBacStamina = 0.0f;
|
|
|
|
};
|
2021-08-17 01:46:41 -04:00
|
|
|
|
2022-01-18 03:46:54 -05:00
|
|
|
#ifdef GTASA
|
|
|
|
static inline bool m_bForbiddenArea = true; // wanted level when going outside playable aea
|
|
|
|
static inline bool m_bSolidWater; // walk on water hack
|
2022-06-24 13:32:43 -04:00
|
|
|
static inline bool m_bNoWaterPhysics;
|
2022-01-18 03:46:54 -05:00
|
|
|
static inline bool m_bScreenShot;
|
|
|
|
static inline bool m_bKeepStuff;
|
2022-06-15 06:45:43 -04:00
|
|
|
static inline ResourceStore m_StatData{ "stats", eResourceType::TYPE_TEXT };
|
2021-08-17 01:46:41 -04:00
|
|
|
#endif
|
2021-06-18 12:49:11 -04:00
|
|
|
|
2022-01-13 08:57:08 -05:00
|
|
|
public:
|
|
|
|
static inline bool m_bFreezeTime;
|
|
|
|
static inline bool m_bSyncTime;
|
|
|
|
|
2022-02-21 03:33:57 -05:00
|
|
|
Game() = delete;
|
|
|
|
Game(const Game&) = delete;
|
2022-01-13 08:57:08 -05:00
|
|
|
|
2022-02-21 03:33:57 -05:00
|
|
|
static void Init();
|
|
|
|
static void ShowPage();
|
2020-12-02 16:19:16 -05:00
|
|
|
};
|