All pastes #622170 Raw Edit

Someone

public cpp v1 · immutable
·published 2007-07-16 18:10 UTC
rendered paste body
HRESULT APIENTRY hkIDirect3DDevice8::DrawIndexedPrimitive(D3DPRIMITIVETYPE PrimitiveType,UINT minIndex,UINT NumVertices,UINT startIndex,UINT primCount){	if (bChams)	{		if (m_Stride == 80)		{			//if (NumVertices == 1035 || NumVertices == 918 || NumVertices == 514 || NumVertices == 294 ||			//	NumVertices == 204 || NumVertices == 138 || NumVertices == 124)			//{				m_pD3Ddev->SetRenderState(D3DRS_LIGHTING, FALSE);				m_pD3Ddev->SetTexture(0, texPurple);				m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);				m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount);				m_pD3Ddev->SetTexture(0, texPink);				m_pD3Ddev->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);				m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount);				m_pD3Ddev->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);				m_pD3Ddev->SetTexture(0, texGreen);				m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);			//}		} else if (m_Stride == 36) //Sky		{			return D3D_OK;		}	}	return m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount);}