Addicting Cheats Production
here are the rulez

rule numbah 1 : no begging of any account & cheats/hacks

rule numbah 2 : no spamming

rule nambah 3 : respect other members

rule numbah 3 : no posting porn links

rule numbah 4 : No posting of E-mail address

rule numbah 5 : no warez links

rule numbah 6 : no advertising of any sites

rule numbah 7 : No flaming/arguing

rule numbah 8 : no selling of cheats/hacks

rule numbah 9 : no multi account
Addicting Cheats Production
here are the rulez

rule numbah 1 : no begging of any account & cheats/hacks

rule numbah 2 : no spamming

rule nambah 3 : respect other members

rule numbah 3 : no posting porn links

rule numbah 4 : No posting of E-mail address

rule numbah 5 : no warez links

rule numbah 6 : no advertising of any sites

rule numbah 7 : No flaming/arguing

rule numbah 8 : no selling of cheats/hacks

rule numbah 9 : no multi account
Addicting Cheats Production
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Addicting Cheats Production

Please Join Our Newest Clan RapidPro1810 This Is The Link http://sfclan.ph.gameclub.com/myclan/clan_index.asp?guildid=RapidPro1810
 
HomePortalLatest imagesSearchRegisterLog in

 

 Crosshair source code

Go down 
AuthorMessage
[AC]*[V]0[V]3NToFtRUTH
Site Owner
Site Owner
[AC]*[V]0[V]3NToFtRUTH


Posts : 210
Points : 1000140
Reputation : 0
Join date : 2010-01-18
Age : 38
Location : manila,philipines

Crosshair source code Empty
PostSubject: Crosshair source code   Crosshair source code Icon_minitimeFri Feb 05, 2010 8:08 am

Code:
//Globals

float ScreenCenterX = 0.0f;//Horizontal Position
float ScreenCenterY = 0.0f;//Vertical Position
bool crosshair = false;
D3DCOLOR redt = D3DCOLOR_XRGB( 255, 0, 0 );


//Add this SetViewport

ScreenCenterX = ( float )pViewport->Width / 2;
ScreenCenterY = ( float )pViewport->Height / 2;

//Add this in EndScene

if(crosshair)
{
D3DRECT rec2 = {ScreenCenterX-20, ScreenCenterY, ScreenCenterX+ 20, ScreenCenterY+2};
D3DRECT rec3 = {ScreenCenterX, ScreenCenterY-20, ScreenCenterX+ 2,ScreenCenterY+20};

m_pD3Ddev->Clear(1, &rec2, D3DCLEAR_TARGET,redt, 0, 0);
m_pD3Ddev->Clear(1, &rec3, D3DCLEAR_TARGET,redt, 0, 0);
//Add hotkey
Back to top Go down
https://addictingcheats.forumotion.com
 
Crosshair source code
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Addicting Cheats Production :: Programming :: D3D-
Jump to: