Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <Windows.h>
- #include "d3d9.h"
- #include <ctime>
- #include <iostream>
- #define D3DHOOK_TEXTURES
- #define MAX_MENU_ITEMS 5
- #define WALLHACK 0
- #define Color_Aim_Bot 1
- #define Cross_Air 2
- #define Auto_fire 3
- #define Close 4
- class Hacks
- {
- public:
- int m_stride;
- void Hacks::CreateFont(IDirect3DDevice9 *d3dDevice, std::string choiceFont);
- void Hacks::IntitiulizeMenuItems();
- void Hacks::Draw_Text(LPCSTR TextToDraw, int x, int y, D3DCOLOR Color);
- void Hacks::DrawMenu(IDirect3DDevice9 *d3dDevice);
- void Hacks::DrawfilledRectangle(int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9 *d3dDevice);
- void Hacks::DrawBordurBox(int x, int y, int w, int h, int thickness, D3DCOLOR color, IDirect3DDevice9 *d3dDevice);
- void Hacks::KeybourdInput();
- LPDIRECT3DTEXTURE9 textRed;
- LPDIRECT3DTEXTURE9 textGreen;
- LPDIRECT3DTEXTURE9 textWhite:
- LPDIRECT3DTEXTURE9 textBlue;
- LPDIRECT3DTEXTURE9 textBlack;
- D3DVIEWPORT9 viewPort;
- LPD3DXFONT font;
- struct d3dMenuHack
- {
- bool on;
- std::string name;
- };
- d3dMenuHack hack{ MAX_MENU_ITEMS };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement