Advertisement
Guest User

Hack.h

a guest
Jun 21st, 2014
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.10 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include <Windows.h>
  4. #include "d3d9.h"
  5. #include <ctime>
  6. #include <iostream>
  7.  
  8. #define D3DHOOK_TEXTURES
  9. #define MAX_MENU_ITEMS 5
  10.  
  11. #define WALLHACK 0
  12. #define Color_Aim_Bot 1
  13. #define Cross_Air 2
  14. #define Auto_fire 3
  15. #define Close 4
  16.  
  17.  
  18.  
  19. class Hacks
  20. {
  21. public:
  22.     int m_stride;
  23.     void Hacks::CreateFont(IDirect3DDevice9 *d3dDevice, std::string choiceFont);
  24.     void Hacks::IntitiulizeMenuItems();
  25.     void Hacks::Draw_Text(LPCSTR TextToDraw, int x, int y, D3DCOLOR Color);
  26.     void Hacks::DrawMenu(IDirect3DDevice9 *d3dDevice);
  27.     void Hacks::DrawfilledRectangle(int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9 *d3dDevice);
  28.     void Hacks::DrawBordurBox(int x, int y, int w, int h, int thickness, D3DCOLOR color, IDirect3DDevice9 *d3dDevice);
  29.     void Hacks::KeybourdInput();
  30.  
  31.  
  32.     LPDIRECT3DTEXTURE9 textRed;
  33.     LPDIRECT3DTEXTURE9 textGreen;
  34.     LPDIRECT3DTEXTURE9 textWhite:
  35.     LPDIRECT3DTEXTURE9 textBlue;
  36.     LPDIRECT3DTEXTURE9 textBlack;
  37.  
  38.     D3DVIEWPORT9 viewPort;
  39.  
  40.     LPD3DXFONT font;
  41.  
  42.     struct d3dMenuHack
  43.     {
  44.         bool on;
  45.         std::string name;
  46.     };
  47.  
  48.     d3dMenuHack hack{ MAX_MENU_ITEMS };
  49.  
  50.  
  51. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement