diff mm7_4.cpp @ 710:735dab8d3c9a

Town portal screen + misc gui const replacements
author Nomad
date Thu, 21 Mar 2013 20:30:17 +0200
parents d6236f6a9882
children e7c86528a2b3 da130dd3092a
line wrap: on
line diff
--- a/mm7_4.cpp	Thu Mar 21 12:37:49 2013 +0200
+++ b/mm7_4.cpp	Thu Mar 21 20:30:17 2013 +0200
@@ -6089,7 +6089,7 @@
               a2 = stru_F8A590._viewport_space_y;
               v11 = stru_F8A590._viewport_space_y * pRenderer->uTargetSurfacePitch;
               v99 = 640 * stru_F8A590._viewport_space_y;
-              v86 = v4->pLevelOfDetail0;
+              v86 = v4->pLevelOfDetail0_prolly_alpha_mask;
               v87 = v4->pLevelOfDetail1;
               v88 = v4->pLevelOfDetail2;
               v89 = v4->pLevelOfDetail3;
@@ -6571,7 +6571,7 @@
           v49 = v4->uWidthMinus1;
           v47 = v4->uHeightMinus1 << 16;
           v9 = 16 - v4->uWidthLn2;
-          v10 = v4->pLevelOfDetail0;
+          v10 = v4->pLevelOfDetail0_prolly_alpha_mask;
           LOBYTE(v2->uAttributes) |= 0x80u;
           v48 = v9;
           v50 = v10;
@@ -10998,7 +10998,7 @@
 LABEL_19:
   strcpy(sHouseName, v21);
 LABEL_20:
-  pDialogueWindow = GUIWindow::Create(0, 0, 640, 480, (enum WindowType)26, 0, (int)sHouseName);
+  pDialogueWindow = GUIWindow::Create(0, 0, 640, 480, WINDOW_Transition, 0, (int)sHouseName);
   //if ( BYTE1(pAnimatedRooms[p2DEvents_minus1___02[26 * v9]].field_C) )
   if ( pAnimatedRooms[p2DEvents[v9 - 1].uAnimationID].uRoomSoundId )
     HousePlaySomeSound(v9, 1);