/hai
I were bored.
Wallhack
FullBrightCode:void Wallhack( LPDIRECT3DDEVICE9 D3DDEVICE, DWORD VALUE )
{
D3DDEVICE->SetRenderState( D3DRS_ZENABLE, VALUE );
}
FillmodeCode:void FullBright( LPDIRECT3DDEVICE9 D3DDEVICE, DWORD VALUE )
{
D3DDEVICE->SetRenderState( D3DRS_LIGHTING, VALUE );
}
ChamsCode:void Fillmode( LPDIRECT3DDEVICE9 D3DDEVICE, DWORD FILLMODE )
{
D3DDEVICE->SetRenderState( D3DRS_FILLMODE, FILLMODE );
}
Instant ChamsCode:void Chams( LPDIRECT3DDEVICE9 D3DDEVICE, DWORD COLOR )
{
D3DDEVICE->SetRenderState( D3DRS_AMBIENT, COLOR );
}
Code:void InstantChams( LPDIRECT3DDEVICE9 D3DDEVICE, LPDIRECT3DTEXTURE9 tCOLOR, DWORD COLOR )
{
GenerateTexture( D3DDEVICE, &tCOLOR, COLOR );
D3DDEVICE->SetTexture( 0, tCOLOR );
}
Usage
Please NOTE:Code:/*Wallhack*/
Wallhack( pDevice, D3DZB_FALSE );
/*FullBright*/
FullBright( pDevice, D3DZB_FALSE );
/*Fillmode*/
FullBright( pDevice, D3DFILL_WIREFRAME ); //You even can use Point etc.
/*Chams*/
Chams( pDevice, Red );
/*Instant Chams*/
InstantChams( pDevice, tYellow, Yellow );//Define tYellow like that: LPDIRECT3DTEXTURE9 tYellow;
The Instant Chams Function requires another function, too.( GenerateTexture )
Here are a few screenshots
https://imageshack.us/a/img687/1032/28266733.png
https://imageshack.us/a/img41/6536/58159319.png
https://imageshack.us/a/img835/9242/20317057.png
https://imageshack.us/a/img94/9748/93702416.png
Credits:
UnlimitedCheating
/bai