Mercurial > might-and-magic-trilogy
comparison mm7_4.cpp @ 197:6109a4e23903
run new game (29.12.12)
author | Ritor1 |
---|---|
date | Sat, 29 Dec 2012 12:56:32 +0600 |
parents | b786f84cfb1e |
children | c04d432611e1 |
comparison
equal
deleted
inserted
replaced
196:d5a0f3576577 | 197:6109a4e23903 |
---|---|
6868 auto pSrc = pRenderer->pTargetSurface; | 6868 auto pSrc = pRenderer->pTargetSurface; |
6869 auto pDst = (__int16 *)Dst.lpSurface; | 6869 auto pDst = (__int16 *)Dst.lpSurface; |
6870 | 6870 |
6871 for (uint y = 0; y < 8; ++y) | 6871 for (uint y = 0; y < 8; ++y) |
6872 memcpy(pDst + y * Dst.lPitch / 2, | 6872 memcpy(pDst + y * Dst.lPitch / 2, |
6873 pSrc + y * 640, 640 * sizeof(__int16)); | 6873 |
6874 pSrc + y * 640, 640 * sizeof(__int16)); | |
6874 | 6875 |
6875 for (uint y = 8; y < 352; ++y) | 6876 for (uint y = 8; y < 352; ++y) |
6876 { | 6877 { |
6877 memcpy(pDst + y * Dst.lPitch / 2, | 6878 memcpy(pDst + y * Dst.lPitch / 2, |
6878 pSrc + y * 640, 8 * sizeof(__int16)); | 6879 pSrc + y * 640, 8 * sizeof(__int16)); |