Public feed #721435

Untitled

public text v1 · immutable
Raw Edit
·published 2007-10-01 07:31 UTC
rendered paste body
On line 281 do this: 

D3DXVECTOR2 CrosshairX[2], CrosshairY[2], CrosshairX1[2], CrosshairY1[2], SmallXHair1[2], SmallXHair2[2];


Replace the Crosshair defintion with this:

	//Left Line
	//Point 1 of line 1
	CrosshairX[0].x = ScreenCenterX-4;
	CrosshairX[0].y = ScreenCenterY;
	
	//Point 2 of Line 1
	CrosshairX[1].x = ScreenCenterX-1;
	CrosshairX[1].y = ScreenCenterY;
	
	//Right Line
	//Point 1 of line 2
	CrosshairY[0].x = ScreenCenterX+5;
	CrosshairY[0].y = ScreenCenterY;

	//Point 2 of line 2
	CrosshairY[1].x = ScreenCenterX+2;
	CrosshairY[1].y = ScreenCenterY;
	
	//Top Line
	//Point 1 of line 3
	CrosshairX1[0].x = ScreenCenterX;
	CrosshairX1[0].y = ScreenCenterY-4;

	//Point 2 of Line 3
	CrosshairX1[1].x = ScreenCenterX;
	CrosshairX1[1].y = ScreenCenterY-1;

	//Bottom line
	//Point 1 of line 4
	CrosshairY1[0].x = ScreenCenterX;
	CrosshairY1[0].y = ScreenCenterY+5;

	//Point 2 of line 4
	CrosshairY1[1].x = ScreenCenterX;
	CrosshairY1[1].y = ScreenCenterY+2;



Add this to the end of if(XHair){  }

		pLine->Begin();
		pLine->Draw(CrosshairY1,2,D3DCOLOR_RGBA(255,0,0,255));
		pLine->End();
		pLine->Begin();
		pLine->Draw(CrosshairX1,2,D3DCOLOR_RGBA(255,0,0,255));
		pLine->End();