Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by fucked up ( 14 years ago )
//Chams 5 Teil Anfang
void Hacks::ApplyWallHack(IDirect3DDevice9 *d3dDevice, D3DPRIMITIVETYPE Device, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount)
{
if(Marines)
{
d3dDevice->SetRenderState(D3DRS_ZENABLE, false); //shows enemys true the wall
d3dDevice->SetTexture(0, texGreen); //Chams
d3dDevice->DrawIndexedPrimitive(Device, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
d3dDevice->SetRenderState(D3DRS_ZENABLE, true);
}
if(Opfor)
{
d3dDevice->SetRenderState(D3DRS_ZENABLE, false); //shows enemys true the wall
d3dDevice->SetTexture(0, texRed); //Chams
d3dDevice->DrawIndexedPrimitive(Device, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
d3dDevice->SetRenderState(D3DRS_ZENABLE, true);
}
if(Spetz)
{
d3dDevice->SetRenderState(D3DRS_ZENABLE, false); //shows enemys true the wall
d3dDevice->SetTexture(0, texWhite); //Chams
d3dDevice->DrawIndexedPrimitive(Device, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
d3dDevice->SetRenderState(D3DRS_ZENABLE, true);
}
if(SAS)
{
d3dDevice->SetRenderState(D3DRS_ZENABLE, false); //shows enemys true the wall
d3dDevice->SetTexture(0, texBlue); //Chams
d3dDevice->DrawIndexedPrimitive(Device, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
d3dDevice->SetRenderState(D3DRS_ZENABLE, true);
}
}
// Chams 5 Teil Ende
Revise this Paste