Philippine Online Games
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Philippine Online Games

The No.1 Community Forum in The Philippines
 
HomeGalleryLatest imagesSearchRegisterLog in
If this is your first visit? be sure to check out the FAQ by clicking the link above. You may have to register before you can post and Download. Click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 

 D3D Codings InGameMenu

Go down 
5 posters
AuthorMessage
Vip_SolidSnake
Admin
Vip_SolidSnake


Posts : 61
Reputation : 26
Join date : 2010-02-04

D3D Codings InGameMenu Empty
PostSubject: D3D Codings InGameMenu   D3D Codings InGameMenu I_icon_minitimeFri 5 Feb 2010 - 16:58

Add Code in specified Files or Functions!!!

File: d3d8dev.cpp

at Top:
Code:
#include "cLTFX.h"


( PRERESET )
Code:
ltfx.PreReset( );

( POSTRESET )
Code:
 ltfx.PostReset( "Arial", 8, pDevice );

( ENDSCENE OR PRESENT )
Code:
ltfx.CheckNav( VK_INSERT );
    ltfx.DrawMenu( 20, 20, D3DCOLOR_ARGB( 255, 255, 0, 0 ), D3DCOLOR_ARGB( 255, 255, 255, 255 ), D3DCOLOR_ARGB( 255, 255, 255, 255 ), pDevice );

( BEGINSCENE )
Code:
if( exec1 ) {
//init the font
    ltfx.InitalizeFont( "Arial", 8, pDev );
    //use the pointer from a global float val!
    ltfx.AddMenuItem( "Wallhack", &cvar.wallhack, 0, 2 );
    ltfx.AddMenuItem( "Wireframe", &cvar.wireframe, 0, 1 );
    ltfx.AddMenuItem( "Zoom", &cvar.zoom, 0, 1 );
    ltfx.AddMenuItem( "Stamina", &cvar.stamina, 0, 1 );
                exec1 = false;
}


How To Use: ( Global )
Code:
struct cVars
{
    float wireframe, wallhack, zoom, stamina;
};
cVars cvar;

bool exec1 = true;

cMenu ltfx( 5 ); //5 is max menu items
//you can extend this so long as its ABOVE the number
//of menu items you have currently


How To Use: ( DrawIndexedPrimitive )
Code:
if( cvar.wallhack == 1.0f ) { // for set 1
    //hack
}

if( cvar.wallhack == 2.0f ) { // for set 1
    //hack
}

if( cvar.wireframe == 1.0f ) { // for set 1
    //hack
}

if( cvar.zoom == 1.0f ) { // for set 1
    //hack
}

if( cvar.stamina == 1.0f ) { // for set 1
    //hack
}




DOWNLOAD LINK

Visual C++ - http://www.ziddu.com/download/7912981/VC.zip.html

D3D StarterKit - http://www.ziddu.com/download/7785446/D3D_Starterkit_v3_1_.0b.zip.html

Color Coding - http://www.ziddu.com/download/7785572/Code.rar.html

d3dfont.cpp - http://www.ziddu.com/download/8463439/d3dfont.cpp.rar.html

d3dfont.h - http://www.ziddu.com/download/8463455/d3dfont.h.rar.html

stdafx.cpp - http://www.ziddu.com/download/8463456/stdafx.cpp.rar.html

stdafx.h - http://www.ziddu.com/download/8463486/stdafx.h.rar.html

cLTFX.cpp - http://www.ziddu.com/download/8463494/cLTFX.cpp.rar.html

cLTFX.h- http://www.ziddu.com/download/8463506/cLTFX.h.rar.html


D3D Codings InGameMenu 2dl14av

D3D Codings InGameMenu Viptoday_mini
Back to top Go down
http://vipcoders.omgforum.net
kemppaul




Posts : 1
Reputation : 0
Join date : 2010-02-17

D3D Codings InGameMenu Empty
PostSubject: Re: D3D Codings InGameMenu   D3D Codings InGameMenu I_icon_minitimeWed 17 Feb 2010 - 23:09

para san po e2?
Back to top Go down
charles_darwin1st




Posts : 3
Reputation : 0
Join date : 2010-03-24
Age : 47
Location : tagum

D3D Codings InGameMenu Empty
PostSubject: Re: D3D Codings InGameMenu   D3D Codings InGameMenu I_icon_minitimeWed 24 Mar 2010 - 17:04

[b][center]
Code:
paano pag gamit ng ganyan sir,,, ano po iyan??? paki turo plzz.... tnx lol! lol! lol! lol! lol! lol! Very Happy
Back to top Go down
xzone




Posts : 1
Reputation : 0
Join date : 2010-04-15

D3D Codings InGameMenu Empty
PostSubject: Spam To the max 3   D3D Codings InGameMenu I_icon_minitimeThu 15 Apr 2010 - 5:12

3
Back to top Go down
reypj13




Posts : 2
Reputation : 0
Join date : 2010-12-09

D3D Codings InGameMenu Empty
PostSubject: Re: D3D Codings InGameMenu   D3D Codings InGameMenu I_icon_minitimeThu 9 Dec 2010 - 19:32

sir para saan po ung code...... Smile
Back to top Go down
Sponsored content





D3D Codings InGameMenu Empty
PostSubject: Re: D3D Codings InGameMenu   D3D Codings InGameMenu I_icon_minitime

Back to top Go down
 
D3D Codings InGameMenu
Back to top 
Page 1 of 1
 Similar topics
-
» D3D Codings InGameMenu

Permissions in this forum:You cannot reply to topics in this forum
Philippine Online Games :: Soldier Front Philippines :: Special Force (Free Hacks Section)-
Jump to: