comparison mm7_4.cpp @ 168:ee11772d0ad2

New sky (turn on -new_sky console command) cube textures are stored in /daata/skybox/%name%_xn.tga %name%%_xp.tga %name%_zn.tga etc
author Nomad
date Thu, 14 Feb 2013 13:58:34 +0200
parents 8ab4484c22e0
children d1dde383af89
comparison
equal deleted inserted replaced
144:8ab4484c22e0 168:ee11772d0ad2
6756 { 6756 {
6757 if ( pRenderer->field_40110 ) 6757 if ( pRenderer->field_40110 )
6758 { 6758 {
6759 memset(&Dst, 0, 0x7Cu); 6759 memset(&Dst, 0, 0x7Cu);
6760 Dst.dwSize = 124; 6760 Dst.dwSize = 124;
6761 if ( pRenderer->LockSurface_DDraw4(pRenderer->pBackBuffer4, &Dst, 1u) ) 6761 if ( pRenderer->LockSurface_DDraw4(pRenderer->pBackBuffer4, &Dst, DDLOCK_WAIT) )
6762 { 6762 {
6763 //v26 = Dst.lpSurface; 6763 //v26 = Dst.lpSurface;
6764 pRenderer->pCurrentlyLockedSurfaceDataPtr = (unsigned __int16 *)Dst.lpSurface; 6764 pRenderer->pCurrentlyLockedSurfaceDataPtr = (unsigned __int16 *)Dst.lpSurface;
6765 v24 = pRenderer->uTargetGMask | pRenderer->uTargetBMask | 6765 v24 = pRenderer->uTargetGMask | pRenderer->uTargetBMask |
6766 ((pRenderer->uTargetGMask | pRenderer->uTargetBMask) << 16); 6766 ((pRenderer->uTargetGMask | pRenderer->uTargetBMask) << 16);