Mercurial > mm7
diff Vis.h @ 2150:701dc2f4956b
SortVectors_x, SortVerticesByX and SortVerticesByY
author | Ritor1 |
---|---|
date | Wed, 08 Jan 2014 17:25:34 +0600 |
parents | d4f00d622889 |
children |
line wrap: on
line diff
--- a/Vis.h Wed Jan 08 15:01:58 2014 +0600 +++ b/Vis.h Wed Jan 08 17:25:34 2014 +0600 @@ -108,7 +108,7 @@ bool IsPointInsideD3DBillboard(struct RenderBillboardD3D *a1, float x, float y); int PickClosestActor(int object_id, unsigned int pick_depth, int a4, int a5, int a6); void _4C1A02(); - bool SortVectors_x(RenderVertexSoft *a2, int a3, int a4); + void SortVectors_x(RenderVertexSoft *pArray, int start, int end); int get_object_zbuf_val(Vis_ObjectInfo *info); int get_picked_object_zbuf_val(); bool Intersect_Ray_Face(struct RenderVertexSoft *pRayStart, struct RenderVertexSoft *pRayEnd, float *pDepth, RenderVertexSoft *Intersection, BLVFace *pFace, signed int pBModelID); @@ -117,8 +117,8 @@ void ODM_CreateIntersectFacesVertexCoordList(int *a, int *b, __int16 *intersect_face_vertex_coords_list_a, __int16 *intersect_face_vertex_coords_list_b, Vec3_short_ *IntersectPoint, BLVFace *pFace, unsigned int uModelID); void CastPickRay(RenderVertexSoft *pRay, float fMouseX, float fMouseY, float fPickDepth); void sort_object_pointers(Vis_ObjectInfo **pPointers, int start, int end); - bool SortVerticesByX(struct RenderVertexD3D3 *a2, unsigned int uStart, unsigned int uEnd); - bool SortVerticesByY(struct RenderVertexD3D3 *a2, unsigned int uStart, unsigned int uEnd); + void SortVerticesByX(struct RenderVertexD3D3 *pArray, unsigned int uStart, unsigned int uEnd); + void SortVerticesByY(struct RenderVertexD3D3 *pArray, unsigned int uStart, unsigned int uEnd); void SortByScreenSpaceX(struct RenderVertexSoft *pArray, int start, int end); void SortByScreenSpaceY(struct RenderVertexSoft *pArray, int start, int end);