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
|
|
|
|
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-07-27 23:29:04 -04:00
|
|
|
static inline bool m_bMobileRadio;
|
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;
|
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-07-16 14:29:32 -04:00
|
|
|
#ifdef GTASA
|
|
|
|
static inline int m_nCameraZoom = 70.0f;
|
|
|
|
static inline bool m_bLockCameraZoom;
|
|
|
|
#endif
|
|
|
|
|
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
|
|
|
};
|