CheatMenuSA/src/CheatMenu.h

51 lines
1.0 KiB
C
Raw Normal View History

2020-12-02 16:19:16 -05:00
/*
Author: Grinch_
Copyright GPLv3 2019-2021
2020-12-02 16:19:16 -05:00
Required:
DirectX 9 SDK
2020-12-02 16:19:16 -05:00
Plugin SDK
Build Tools 2019 (v142)
Windows SDK
2020-12-02 16:19:16 -05:00
*/
#pragma once
#include "Hook.h"
#include "Menu.h"
#include "Teleport.h"
2021-08-01 21:41:48 -04:00
#ifdef GTASA
#include "Animation.h"
#include "Game.h"
#include "Ped.h"
#include "Player.h"
#include "Vehicle.h"
#include "Visual.h"
#include "Weapon.h"
class CheatMenu : Hook, Animation, Game, Menu, Ped, Player, Teleport, Vehicle, Visual, Weapon
#elif defined(GTAVC)
class CheatMenu : Hook, Menu, Teleport
#endif
2020-12-02 16:19:16 -05:00
{
private:
2021-08-01 21:41:48 -04:00
#ifdef GTASA
inline static CallbackTable header
{
{"Teleport", &Teleport::Draw}, {"Player", &Player::Draw}, {"Ped", &Ped::Draw},
{"Animation", &Animation::Draw}, {"Vehicle", &Vehicle::Draw}, {"Weapon", &Weapon::Draw},
{"Game", &Game::Draw}, {"Visual", &Visual::Draw}, {"Menu", &Menu::Draw}
};
#elif GTAVC
inline static CallbackTable header
{
{"Teleport", &Teleport::Draw}, {"Menu", &Menu::Draw}
};
#endif
2021-02-25 17:45:41 -05:00
2021-02-24 16:54:45 -05:00
static void ApplyStyle();
2021-02-25 17:45:41 -05:00
static void DrawWindow();
2020-12-02 16:19:16 -05:00
public:
CheatMenu();
};