Mercurial > mm7
comparison mm7_1.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 |
---|---|
3071 ErrD3D(pRenderer->pBackBuffer4->Blt(&v84, 0, 0, 16778240u, &Dst)); | 3071 ErrD3D(pRenderer->pBackBuffer4->Blt(&v84, 0, 0, 16778240u, &Dst)); |
3072 if ( pRenderer->uTargetGBits == 5 ) | 3072 if ( pRenderer->uTargetGBits == 5 ) |
3073 { | 3073 { |
3074 memset(&pDesc, 0, 0x7Cu); | 3074 memset(&pDesc, 0, 0x7Cu); |
3075 pDesc.dwSize = 124; | 3075 pDesc.dwSize = 124; |
3076 if ( !pRenderer->LockSurface_DDraw4((IDirectDrawSurface4 *)v222, &pDesc, 1u) ) | 3076 if ( !pRenderer->LockSurface_DDraw4((IDirectDrawSurface4 *)v222, &pDesc, DDLOCK_WAIT)) |
3077 goto LABEL_51; | 3077 goto LABEL_51; |
3078 v20 = (char *)v124; | 3078 v20 = (char *)v124; |
3079 v110 = pDesc.lpSurface; | 3079 v110 = pDesc.lpSurface; |
3080 a2 = (Player *)v124; | 3080 a2 = (Player *)v124; |
3081 if ( v124 < v119 ) | 3081 if ( v124 < v119 ) |
3118 } | 3118 } |
3119 goto LABEL_37; | 3119 goto LABEL_37; |
3120 } | 3120 } |
3121 memset(&pDesc, 0, 0x7Cu); | 3121 memset(&pDesc, 0, 0x7Cu); |
3122 pDesc.dwSize = 124; | 3122 pDesc.dwSize = 124; |
3123 if ( pRenderer->LockSurface_DDraw4((IDirectDrawSurface4 *)v222, &pDesc, 1u) ) | 3123 if ( pRenderer->LockSurface_DDraw4((IDirectDrawSurface4 *)v222, &pDesc, DDLOCK_WAIT) ) |
3124 { | 3124 { |
3125 v108 = (unsigned __int16 *)pDesc.lpSurface; | 3125 v108 = (unsigned __int16 *)pDesc.lpSurface; |
3126 a2 = (Player *)v124; | 3126 a2 = (Player *)v124; |
3127 if ( v124 < v119 ) | 3127 if ( v124 < v119 ) |
3128 { | 3128 { |
7749 if ( (signed int)(uVertexID + 1) <= 1 ) | 7749 if ( (signed int)(uVertexID + 1) <= 1 ) |
7750 return 0; | 7750 return 0; |
7751 v3 = (char *)&array_507D30[0].vWorldViewPosition.z; | 7751 v3 = (char *)&array_507D30[0].vWorldViewPosition.z; |
7752 v4 = (char *)&array_507D30[0].vWorldViewPosition.y; | 7752 v4 = (char *)&array_507D30[0].vWorldViewPosition.y; |
7753 v5 = v1; | 7753 v5 = v1; |
7754 v23 = (char *)&array_507D30[0].flt_20; | 7754 v23 = (char *)&array_507D30[0]._rhw; |
7755 v21 = array_507D30; | 7755 v21 = array_507D30; |
7756 v18 = (char *)&array_507D30[0].vWorldViewPosition.z; | 7756 v18 = (char *)&array_507D30[0].vWorldViewPosition.z; |
7757 v19 = (char *)&array_507D30[0].vWorldViewPosition.y; | 7757 v19 = (char *)&array_507D30[0].vWorldViewPosition.y; |
7758 v22 = (char *)&array_507D30[0].vWorldViewPosition; | 7758 v22 = (char *)&array_507D30[0].vWorldViewPosition; |
7759 v24 = (char *)&array_507D30[0].v; | 7759 v24 = (char *)&array_507D30[0].v; |