Mercurial > mm7
diff Mouse.cpp @ 1980:c1c74df0a33e
changing most of auto types to their actual types
author | Grumpy7 |
---|---|
date | Wed, 30 Oct 2013 00:47:37 -0700 |
parents | 5ea627a263dd |
children | 30c2b575d25c |
line wrap: on
line diff
--- a/Mouse.cpp Mon Oct 28 22:16:42 2013 -0700 +++ b/Mouse.cpp Wed Oct 30 00:47:37 2013 -0700 @@ -180,7 +180,7 @@ //----- (00469C0D) -------------------------------------------------------- void *Mouse::DoAllocCursorMem() { - auto tex = pIcons_LOD->GetTexture(uCursorTextureID); + Texture* tex = pIcons_LOD->GetTexture(uCursorTextureID); return malloc(4 * tex->uTextureWidth * tex->uTextureHeight); } @@ -329,7 +329,7 @@ if (!pCursorBitmap3_sysmembits_16bit) return; - auto pSrc = pCursorBitmap3_sysmembits_16bit; + ushort* pSrc = pCursorBitmap3_sysmembits_16bit; for (uint y = field_44; y < field_4C; ++y) for (uint x = field_40; x < field_48; ++x) pRenderer->pTargetSurface[y * pRenderer->uTargetSurfacePitch + x] = *pSrc++; @@ -583,7 +583,7 @@ v5 = pRenderer->pActiveZBuffer[pX + pSRZBufferLineOffsets[pY]]; v6 = (unsigned __int16)v5; - auto type = PID_TYPE(v6); + uint type = PID_TYPE(v6); if (type == OBJECT_Actor && uActiveCharacter && v5 < 0x2000000