CheatMenuSA/src/visual.h

49 lines
1.2 KiB
C
Raw Normal View History

2020-12-02 16:19:16 -05:00
#pragma once
2021-08-19 16:19:20 -04:00
#include "pch.h"
2021-09-21 04:00:26 -04:00
2022-07-10 09:49:39 -04:00
struct ShowModelInfo
{
private:
static inline std::vector<CEntity*> m_EntityList;
public:
static inline bool m_bEnable;
static inline int m_nDistance = 50.0f;
static void Init();
static void Draw();
};
2020-12-02 16:19:16 -05:00
class Visual
{
private:
2022-01-07 03:18:00 -05:00
static inline bool m_bLockWeather;
2022-07-10 09:49:39 -04:00
static inline bool m_bModelInfo;
2020-12-02 16:19:16 -05:00
#ifdef GTASA
2022-01-07 03:18:00 -05:00
static inline bool m_bInvisibleWater;
static inline bool m_bNoWater;
static inline bool m_bDisableHydrant;
2022-06-24 13:32:43 -04:00
static inline bool m_bNoMoneyZeros;
static inline bool m_bNoPartciles;
static inline bool m_bNoPostFX;
static inline bool m_bNoTextures;
2022-07-05 19:53:10 -04:00
static inline bool m_bFullScreenMap;
static inline bool m_bSquareRadar;
#endif
2021-09-21 04:00:26 -04:00
2022-07-01 04:27:11 -04:00
template<typename T>
static bool TimeCycColorEdit3(const char* label, T* r, T* g, T* b, ImGuiColorEditFlags flags = 0);
template <typename T>
static bool TimeCycColorEdit4(const char* label, T* r, T* g, T* b, T* a, ImGuiColorEditFlags flags = 0);
template <typename T>
static void TimecycSlider(const char* label, T* data, int min, int max);
2020-12-02 16:19:16 -05:00
public:
Visual() = delete;
Visual(const Visual&) = delete;
static void Init();
2022-01-20 02:04:45 -05:00
static void ShowPage();
2022-07-10 09:49:39 -04:00
static void DrawModelInfo();
2021-10-26 03:10:53 -04:00
};