2020-12-02 16:19:16 -05:00
|
|
|
#pragma once
|
2021-08-12 23:28:19 -04:00
|
|
|
#include "pch.h"
|
2022-08-17 21:12:21 -04:00
|
|
|
#include "interface/ipage.h"
|
2021-12-24 05:36:07 -05:00
|
|
|
|
2022-08-17 21:12:21 -04:00
|
|
|
class GamePage : public IPage<GamePage>
|
2020-12-02 16:19:16 -05:00
|
|
|
{
|
2022-01-13 08:57:08 -05:00
|
|
|
private:
|
2022-08-17 21:12:21 -04:00
|
|
|
ResourceStore m_MissionData{ "missions", eResourceType::TYPE_TEXT };
|
|
|
|
bool m_bDisableCheats;
|
|
|
|
bool m_bDisableReplay;
|
|
|
|
bool m_bMissionTimer;
|
|
|
|
bool m_bMobileRadio;
|
2022-01-13 08:57:08 -05:00
|
|
|
|
2022-08-17 21:12:21 -04:00
|
|
|
struct
|
2022-01-07 03:18:00 -05:00
|
|
|
{
|
2022-08-17 21:12:21 -04:00
|
|
|
bool m_bEnabled;
|
|
|
|
float m_fBacHealth;
|
|
|
|
float m_fBacMaxHealth;
|
|
|
|
float m_fBacArmour;
|
|
|
|
float m_fBacStamina;
|
|
|
|
} m_HardMode;
|
2021-08-17 01:46:41 -04:00
|
|
|
|
2022-01-18 03:46:54 -05:00
|
|
|
#ifdef GTASA
|
2022-08-17 21:12:21 -04:00
|
|
|
bool m_bForbiddenArea = true; // Wanted level when going outside playable aea
|
|
|
|
bool m_bSolidWater; // Walk on water hack
|
|
|
|
bool m_bNoWaterPhysics;
|
|
|
|
bool m_bScreenShot;
|
|
|
|
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-08-17 21:12:21 -04:00
|
|
|
friend IPage;
|
|
|
|
GamePage();
|
|
|
|
GamePage(const GamePage&);
|
|
|
|
|
2022-01-13 08:57:08 -05:00
|
|
|
public:
|
2022-08-17 21:12:21 -04:00
|
|
|
bool m_bFreezeTime;
|
|
|
|
bool m_bSyncTime; // Sync time with system
|
2022-01-13 08:57:08 -05:00
|
|
|
|
2022-07-16 14:29:32 -04:00
|
|
|
#ifdef GTASA
|
2022-08-17 21:12:21 -04:00
|
|
|
int m_nCameraZoom = 70.0f;
|
|
|
|
bool m_bLockCameraZoom;
|
2022-07-16 14:29:32 -04:00
|
|
|
#endif
|
|
|
|
|
2022-08-17 21:12:21 -04:00
|
|
|
void Draw();
|
2020-12-02 16:19:16 -05:00
|
|
|
};
|
2022-08-17 21:12:21 -04:00
|
|
|
|
|
|
|
extern GamePage& gamePage;
|