CheatMenuSA/src/pages/game.h

45 lines
1.2 KiB
C
Raw Normal View History

2020-12-02 16:19:16 -05:00
#pragma once
#include "pch.h"
2021-12-24 05:36:07 -05:00
class Game
2020-12-02 16:19:16 -05:00
{
private:
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-07-27 23:29:04 -04:00
static inline bool m_bMobileRadio;
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;
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
public:
static inline bool m_bFreezeTime;
static inline bool m_bSyncTime;
2022-07-16 14:29:32 -04:00
#ifdef GTASA
static inline int m_nCameraZoom = 70.0f;
static inline bool m_bLockCameraZoom;
#endif
Game() = delete;
Game(const Game&) = delete;
static void Init();
static void ShowPage();
2020-12-02 16:19:16 -05:00
};