lynnxx

ScanContents

Jan 4th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <process.h>         // needed for _beginthread()
  2. #include <iostream>
  3. #include <windows.h>
  4. #include <ctime>
  5.  
  6.  
  7.  
  8. //all we need to pass onto our scanning threads
  9. class ScanContents
  10. {
  11. public:
  12.     //values used to compare and decide exactly which quarter
  13.     BITMAP Bm;
  14.     RECT RcWindow;
  15.     //our pixel array
  16.     RGBQUAD *PPixels;
  17.     //all the contents necessary to run our aimbot scanning thread
  18.     ScanContents(BITMAP bm, RECT rcWindow, RGBQUAD *pPixels)
  19.     {
  20.         Bm = bm;
  21.         RcWindow = rcWindow;
  22.         PPixels = pPixels;
  23.     }
  24. };
  25.  
  26.  
  27. class MouseCoord
  28. {
  29. public:
  30.     int X;
  31.     int Y;
  32.     MouseCoord(int x, int y)
  33.     {
  34.         X = x;
  35.         Y = y;
  36.     }
  37. };
  38.  
  39.  
  40. //DECLARE after basic concept
  41. class AimbotThr
  42. {
  43. public:
  44.     HWND AppWnd;
  45.     std::string GameWindow;
  46.     AimbotThr(HWND appWnd, std::string gameWindow)
  47.     {
  48.         AppWnd = appWnd;
  49.         GameWindow = gameWindow;
  50.     }
  51. };
Advertisement
Add Comment
Please, Sign In to add comment