statemanager.cpp
arat HRESULT CStateManager::DrawIndexedPrimitiveUP(D3DPRIMITIVETYPE PrimitiveType, UINT MinVertexIndex, UINT NumVertexIndices, UINT PrimitiveCount, CONST void* pIndexData, D3DFORMAT IndexDataFormat, CONST void* pVertexStreamZeroData, UINT VertexStreamZeroStride)
üstüne ekle
#ifdef MINI_MAP_SIZE_FIX
HRESULT CStateManager::DrawIndexedPrimitiveDX9(D3DPRIMITIVETYPE PrimitiveType, UINT minIndex, UINT NumVertices,
UINT startIndex, UINT primCount, INT baseVertexIndex)
{
return (m_lpD3DDev->DrawIndexedPrimitive(PrimitiveType, baseVertexIndex, minIndex, NumVertices, startIndex,
primCount));
}
#endif
statemanager.h
arat HRESULT DrawIndexedPrimitiveUP(D3DPRIMITIVETYPE PrimitiveType, UINT MinVertexIndex, UINT NumVertexIndices, UINT PrimitiveCount, CONST void* pIndexData, D3DFORMAT IndexDataFormat, CONST void* pVertexStreamZeroData, UINT VertexStreamZeroStride);
üstüne ekle
#ifdef MINI_MAP_SIZE_FIX
HRESULT DrawIndexedPrimitiveDX9(D3DPRIMITIVETYPE PrimitiveType, UINT minIndex, UINT NumVertices, UINT startIndex,
UINT primCount, INT baseVertexIndex = 0);
#endif
PythonMiniMap.cpp arat
değiştir
#ifdef MINI_MAP_SIZE_FIX
rkSttMgr.DrawIndexedPrimitiveDX9(D3DPT_TRIANGLELIST, byTerrainNum * 4, 4, byTerrainNum * 6, 2);
#else
rkSttMgr.DrawIndexedPrimitive(D3DPT_TRIANGLELIST, byTerrainNum * 4, 4, byTerrainNum * 6, 2);
#endif
#ifdef MINI_MAP_SIZE_FIX
STATEMANAGER.DrawIndexedPrimitiveDX9(D3DPT_TRIANGLELIST, byTerrainNum * 4, 4, byTerrainNum * 6, 2);
#else
STATEMANAGER.DrawIndexedPrimitive(D3DPT_TRIANGLELIST, byTerrainNum * 4, 4, byTerrainNum * 6, 2);
#endif