diff mm7_6.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 cca78efb377e
children d1dde383af89
line wrap: on
line diff
--- a/mm7_6.cpp	Tue Feb 12 11:59:49 2013 +0200
+++ b/mm7_6.cpp	Thu Feb 14 13:58:34 2013 +0200
@@ -91,7 +91,7 @@
   v5 = (char *)&array_507D30[0].vWorldViewPosition.y;
   v6 = v1;
   v23 = (char *)&array_507D30[0].flt_2C;
-  v26 = (char *)&array_507D30[0].flt_20;
+  v26 = (char *)&array_507D30[0]._rhw;
   v24 = array_507D30;
   v20 = (char *)&array_507D30[0].vWorldViewPosition.z;
   v21 = (char *)&array_507D30[0].vWorldViewPosition.y;
@@ -228,7 +228,7 @@
     return 0;
   v2 = (char *)&array_507D30[0].vWorldViewPosition.z;
   v3 = (char *)&array_507D30[0].vWorldViewPosition.y;
-  v24 = (char *)&array_507D30[0].flt_20;
+  v24 = (char *)&array_507D30[0]._rhw;
   v22 = array_507D30;
   v19 = (char *)&array_507D30[0].vWorldViewPosition.z;
   v20 = (char *)&array_507D30[0].vWorldViewPosition.y;
@@ -359,7 +359,7 @@
     return 0;
   v3 = (char *)&array_507D30[0].vWorldViewPosition.z;
   v4 = (char *)&array_507D30[0].vWorldViewPosition.y;
-  v25 = (char *)&array_507D30[0].flt_20;
+  v25 = (char *)&array_507D30[0]._rhw;
   v23 = array_507D30;
   v20 = (char *)&array_507D30[0].vWorldViewPosition.z;
   v21 = (char *)&array_507D30[0].vWorldViewPosition.y;
@@ -718,7 +718,7 @@
   v137 = (char *)&array_50A2B0[0].vWorldViewProjX;
   v128 = (char *)&array_50A2B0[0].vWorldViewProjY;
   v121 = (char *)&array_50A2B0[0].flt_2C;
-  v114 = (char *)&array_50A2B0[0].flt_20;
+  v114 = (char *)&array_50A2B0[0]._rhw;
   v7 = (char *)&array_50AC10[0].flt_2C;
   do
   {
@@ -804,14 +804,14 @@
         v24 = SLODWORD(v23) <= (signed int)pViewport->uViewportZ,
         v110 < 1) )
     goto LABEL_112;
-  v25 = (char *)&array_509950[0].flt_20;
+  v25 = (char *)&array_509950[0]._rhw;
   v138 = array_509950;
   v129 = (char *)&array_50A2B0[0].vWorldViewProjX;
   v118 = (char *)&array_50A2B0[0].vWorldViewProjY;
   v133 = (char *)&array_509950[0].vWorldViewProjX;
   v122 = (char *)&array_509950[0].vWorldViewProjY;
   v124 = (char *)&array_509950[0].flt_2C;
-  v111 = (char *)&array_509950[0].flt_20;
+  v111 = (char *)&array_509950[0]._rhw;
   v26 = (char *)&array_50A2B0[0].flt_2C;
   while ( 2 )
   {
@@ -906,7 +906,7 @@
   v119 = (char *)&array_508FF0[0].vWorldViewProjX;
   v139 = (char *)&array_508FF0[0].vWorldViewProjY;
   v125 = (char *)&array_508FF0[0].flt_2C;
-  v134 = (char *)&array_508FF0[0].flt_20;
+  v134 = (char *)&array_508FF0[0]._rhw;
   v45 = (char *)&array_509950[0].flt_2C;
   v112 = v115;
   while ( 2 )
@@ -997,7 +997,7 @@
   v120 = (char *)&array_508690[0].vWorldViewProjX;
   v140 = (char *)&array_508690[0].vWorldViewProjY;
   v126 = (char *)&array_508690[0].flt_2C;
-  v135 = (char *)&array_508690[0].flt_20;
+  v135 = (char *)&array_508690[0]._rhw;
   v64 = (char *)&array_508FF0[0].flt_2C;
   v113 = v123;
   while ( 2 )