Mercurial > mm7
comparison mm7_4.cpp @ 819:9359c114f98c
More on screenshot
author | Nomad |
---|---|
date | Tue, 26 Mar 2013 14:14:39 +0200 |
parents | cfc65feef029 |
children | c232f160e6f3 |
comparison
equal
deleted
inserted
replaced
818:352c5161fade | 819:9359c114f98c |
---|---|
4296 | 4296 |
4297 for (uint y = 8; y < 352; ++y) | 4297 for (uint y = 8; y < 352; ++y) |
4298 { | 4298 { |
4299 memcpy(pDst + y * Dst.lPitch / 2, | 4299 memcpy(pDst + y * Dst.lPitch / 2, |
4300 pSrc + y * 640, 8 * sizeof(__int16)); | 4300 pSrc + y * 640, 8 * sizeof(__int16)); |
4301 memcpy(pDst + 8 + 460/*462*/ + y * Dst.lPitch / 2, | 4301 memcpy(pDst + 8 + game_viewport_width/*462*/ + y * Dst.lPitch / 2, |
4302 pSrc + 8 + 460/*462*/ + y * 640, 174/*172*/ * sizeof(__int16)); | 4302 pSrc + 8 + game_viewport_width/*462*/ + y * 640, 174/*172*/ * sizeof(__int16)); |
4303 } | 4303 } |
4304 | 4304 |
4305 for (uint y = 352; y < 480; ++y) | 4305 for (uint y = 352; y < 480; ++y) |
4306 memcpy(pDst + y * Dst.lPitch / 2, | 4306 memcpy(pDst + y * Dst.lPitch / 2, |
4307 pSrc + y * 640, 640 * sizeof(__int16)); | 4307 pSrc + y * 640, 640 * sizeof(__int16)); |
6196 v5 + 3, v5 + 10, pSpellStats->pInfos[v1].pGrandmasterSkillDesc); | 6196 v5 + 3, v5 + 10, pSpellStats->pInfos[v1].pGrandmasterSkillDesc); |
6197 v6 = pFontSmallnum->CalcTextHeight(pTmpBuf2, &a1, 0, 0); | 6197 v6 = pFontSmallnum->CalcTextHeight(pTmpBuf2, &a1, 0, 0); |
6198 a1.uFrameHeight += v6; | 6198 a1.uFrameHeight += v6; |
6199 if ( (signed int)a1.uFrameHeight < 150 ) | 6199 if ( (signed int)a1.uFrameHeight < 150 ) |
6200 a1.uFrameHeight = 150; | 6200 a1.uFrameHeight = 150; |
6201 a1.uFrameWidth = 460; | 6201 a1.uFrameWidth = game_viewport_width; |
6202 a1.DrawMessageBox(0); | 6202 a1.DrawMessageBox(0); |
6203 a1.uFrameWidth -= 12; | 6203 a1.uFrameWidth -= 12; |
6204 a1.uFrameHeight -= 12; | 6204 a1.uFrameHeight -= 12; |
6205 v7 = pSpellStats->pInfos[v1].pName; | 6205 v7 = pSpellStats->pInfos[v1].pName; |
6206 a1.uFrameZ = a1.uFrameX + a1.uFrameWidth - 1; | 6206 a1.uFrameZ = a1.uFrameX + a1.uFrameWidth - 1; |
7294 { | 7294 { |
7295 v9 = v6->greet; | 7295 v9 = v6->greet; |
7296 if ( v9 ) | 7296 if ( v9 ) |
7297 { | 7297 { |
7298 v10 = v6->uFlags; | 7298 v10 = v6->uFlags; |
7299 a1.uFrameWidth = 460; | 7299 a1.uFrameWidth = game_viewport_width; |
7300 a1.uFrameZ = 452; | 7300 a1.uFrameZ = 452; |
7301 pInString = (char *)*(&pNPCStats->field_17884 + ((v10 & 3) == 2) + 2 * v9); | 7301 pInString = (char *)*(&pNPCStats->field_17884 + ((v10 & 3) == 2) + 2 * v9); |
7302 v11 = pFontArrus->CalcTextHeight(pInString, &a1, 13, 0); | 7302 v11 = pFontArrus->CalcTextHeight(pInString, &a1, 13, 0); |
7303 v12 = v11 + 7; | 7303 v12 = v11 + 7; |
7304 pRenderer->_4A6A68( | 7304 pRenderer->_4A6A68( |