Mercurial > mm7
diff Render.h @ 709:af08fc9e29c8
Items (blue dots) on minimap fixed
author | Nomad |
---|---|
date | Thu, 21 Mar 2013 12:37:49 +0200 |
parents | c0bfb386b15f |
children | 735dab8d3c9a 737d7fec67f0 |
line wrap: on
line diff
--- a/Render.h Thu Mar 21 10:35:13 2013 +0200 +++ b/Render.h Thu Mar 21 12:37:49 2013 +0200 @@ -290,9 +290,9 @@ void CreateSomeTexture(); bool InitializeFullscreen(HWND hWnd); bool SwitchToWindow(HWND hWnd); - char Line2D(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW, unsigned __int16 uColor); + char RasterLine2D(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW, unsigned __int16 uColor); void ClearZBuffer(int a2, int a3); - void Clip_v2(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW); + void SetRasterClipRect(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW); void ParseTargetPixelFormat(); bool LockSurface_DDraw4(IDirectDrawSurface4 *pSurface, DDSURFACEDESC2 *pDesc, unsigned int uLockFlags); bool LockSurface_DDraw2(IDirectDrawSurface2 *pSurface, DDSURFACEDESC *pDesc, unsigned int uLockFlags); @@ -380,10 +380,10 @@ int field_10; int field_14; int field_18_locked_pitch; - int field_1C_clipx; - int field_20_clipy; - int field_24_width; - int field_28_height; + int raster_clip_x; + int raster_clip_y; // clipping rect for raster ops + int raster_clip_z; // like RasterLine2D for (mini)map + int raster_clip_w; __int16 field_2C[65536]; __int16 field_2002C[65536]; int field_4002C;