DPrint -A wrapper for DirectX-

DPrint DirectX Wrapper + Helper v.1.0
Created By: why06 For: MPGH.net
[15 Typefaces] [No Need to know DirectX] [Simplifies Using Fonts]
Are you tired of the trouble of creating font pointers only to have to spend more time creating custom Reset() function for Each Font?! Then if thats not enough, the fonts are very limited in their own right. Sure you can change the color, but you can't change the size, or style, or boldness, or even italics without creating an entirely new font, which incurs more managing and more hassle! Don't you wish there was some magic code that handled all the complicated D3D stuff for you so all you had to do is say exactly what kind of font u want when u need it and don't have to worry about what happens to that font afterwords?
-OR-
Are you a beginning game hacker, probably overwhelmed, by the complexity of hacks. After spending hours searching for values pointers don't you wish you too could used D3D in your hack without having to learn all the arcane functions of DirectX, well look no further!
DPrint does all this and more! This is only version one, but it already handles a lot of problems concerning using simple DirectX in any hack. It's created specifically for game hackers, so it's small and easy to include directly in your code. And if that's not all starting today it will be open source meaning hackers all around the world can share their own code, by adding it to the project. I eventually hope for DPrint to include a much wider variety of typefaces, allow for custom typefaces, and even Multi-lingual fonts instead of just English, but one step at a time. Now I'm going to demonstrate how to use it.
Step 1: Create A DPrint Object
Code:
//******************************************************************************** //funtion: DPrint() //purpose: Contructs new Dprint object //******************************************************************************** /*These First three are unimportant, put 0 if you dont want to use*/ DPrint(int startx, //This is important for DPrint::Println see later int starty, //marks the starting y location for DPrint::Println int vertical_spacing, //the spacing between each new line also for Println LPDIRECT3DDEVICE9 pdevice); //You still need a pDevice, but that is all!
Step 2: Create A FFORMAT Object
Code:
FFORMAT Format; Format.fontsize = 40; Format.fontweight = 200; Format.typeface = TYPEFACE::TIMESNEWROMAN; Format.italic = true;

Step 3: Print to Screen
Code:
/*Rect for Location*/ /*Color u want*/ /*Covered this*/ /*Ur text!*/ print->Print(&formatrect, D3DCOLOR_ARGB(255, 0, 0, 255), &Format, "OMG YEAH!");
Hope this helps someone out there!

DPRINTFILES.rar
TestingDPrintLib.rar





RCW? CCW?