Advertisement
Guest User

QTS no. 5 - Primitive rectangle outline drawing function ( Box Esp )

a guest
Jul 2nd, 2010
909
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.06 KB | None | 0 0
  1. /*
  2. -----------------------------------------
  3. * Game hacking QTS ( Quickie Tip Series )
  4. * no. 5 - Primitive rectangle outline drawing function ( Box Esp )
  5. -----------------------------------------
  6. * Author: SEGnosis  - GHAnon.net
  7. * Thanks to:
  8. * bitterbanana      - No known site
  9. * Drunken Cheetah   - No known site
  10. * fatboy88      - No known site
  11. * Geek4Ever         - No known site
  12. * learn_more        - www.uc-forum.com
  13. * Novocaine         - http://ilsken.net/blog/?page_id=64
  14. * Philly0494        - No known site
  15. * Roverturbo        - www.uc-forum.com
  16. * SilentKarma       - www.halocoders.com - offline
  17. * Strife        - www.uc-forum.com
  18. * Wieter20      - No known site
  19. */
  20.  
  21. //------------------------------------//
  22. // Uses QTS no. 4 - Primitive rectangle drawing function
  23.  
  24. #define LR_WIDTH 1 // Controls width of lines
  25.  
  26. void DrawLineRect( long X, long Y, long W, long H, D3DCOLOR Color )
  27. {
  28.    
  29.     DrawRect( X, Y, W, LR_WIDTH, Color );
  30.     DrawRect( X, Y, LR_WIDTH, H, Color );
  31.    
  32.     DrawRect( X + W, Y, LR_WIDTH, H, Color );
  33.     DrawRect( X, Y + H, W, LR_WIDTH, Color );
  34. }
  35. //------------------------------------//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement