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 CUSTOM_CROSSHAIR 1
- #define NO_RECOIL 2
- #define UNLIM_AMMO 3
- #define HIDE_MENU 4
- class Hacks
- {
- public:
- int m_Stride;
- void Hacks::CreateFont(IDirect3DDevice9 *d3dDevice, std::string choiceFont);
- void Hacks::InitializeMenuItems();
- void Hacks::Draw_Text(LPCSTR TextToDraw, int x, int y, D3DCOLOR Colour);
- void Hacks::DrawMenu(IDirect3DDevice9 *d3dDevice);
- void Hacks::DrawFilledRect(int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9* d3dDevice);
- void Hacks::DrawBorderBox( int x, int y, int w, int h, int thickness, D3DCOLOR Colour, IDirect3DDevice9 *d3dDevice);
- void Hacks::KeyboardInput();
- LPDIRECT3DTEXTURE9 texRed;
- LPDIRECT3DTEXTURE9 texGreen;
- LPDIRECT3DTEXTURE9 texBlue;
- LPDIRECT3DTEXTURE9 texWhite;
- D3DVIEWPORT9 g_ViewPort;
- LPD3DXFONT m_font;
- struct d3dMenuHack
- {
- bool on;
- std::string name;
- };
- d3dMenuHack hack[MAX_MENU_ITEMS];
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement