changeset 448:ee47cc585e1b

Слияние
author Ritor1
date Sat, 23 Feb 2013 23:46:20 +0600
parents 7c6e68307484 (diff) 913675aac25b (current diff)
children 510fb376ef2f
files lib/legacy_dx/lib/.svn/all-wcprops lib/legacy_dx/lib/.svn/entries lib/legacy_dx/lib/.svn/prop-base/d3dxof.lib.svn-base lib/legacy_dx/lib/.svn/prop-base/ddraw.lib.svn-base lib/legacy_dx/lib/.svn/prop-base/dinput.lib.svn-base lib/legacy_dx/lib/.svn/prop-base/dinput8.lib.svn-base lib/legacy_dx/lib/.svn/prop-base/dxguid.lib.svn-base lib/legacy_dx/lib/.svn/text-base/d3dxof.lib.svn-base lib/legacy_dx/lib/.svn/text-base/ddraw.lib.svn-base lib/legacy_dx/lib/.svn/text-base/dinput.lib.svn-base lib/legacy_dx/lib/.svn/text-base/dinput8.lib.svn-base lib/legacy_dx/lib/.svn/text-base/dxguid.lib.svn-base mm7_4.cpp mm7_data.h
diffstat 3 files changed, 8 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/GUIWindow.cpp	Sat Feb 23 19:34:05 2013 +0200
+++ b/GUIWindow.cpp	Sat Feb 23 23:46:20 2013 +0600
@@ -1016,7 +1016,6 @@
 }
 // 50640C: using guessed type int dword_50640C[];
 
-
 //----- (004B3157) --------------------------------------------------------
 void GUIWindow::HouseDialogManager()
 {
@@ -1073,7 +1072,6 @@
   {
     if ( dword_F8B198 == 31 )
     {
-LABEL_36:
       sub_4B4F4F();
       goto LABEL_58;
     }
@@ -1118,10 +1116,7 @@
         v15 = 3;
         //v13 = (char *)p2DEvents_minus1__10[13 * (unsigned int)ptr_507BC0->ptr_1C];
         v13 = (char *)p2DEvents[(unsigned int)window_SpeakInHouse->ptr_1C - 1].pProprieterTitle;
-        v11 = v19;
-        v10 = 113;
-LABEL_56:
-        v18.DrawTitleText(pFontCreate, 0x1E3u, v10, v11, v13, v15);
+        v18.DrawTitleText(pFontCreate, 0x1E3u, 113, v19, v13, 3);
         goto LABEL_57;
       }
       v15 = 3;
@@ -1130,7 +1125,8 @@
     }
     v11 = v19;
     v10 = v9;
-    goto LABEL_56;
+    v18.DrawTitleText(pFontCreate, 0x1E3u, v10, v11, v13, v15);
+    goto LABEL_57;
   }
   v4 = (char *)array_5913D8[6] - 1;
   pRenderer->DrawTextureIndexed(pNPCPortraits_x - 4, pNPCPortraits_y - 4, &pIcons_LOD->pTextures[uTextureID_50795C]);
@@ -1142,7 +1138,7 @@
   }
   if ( v4 || !dword_591080 )
   {
-    SimpleHouseDialog();
+    SimpleHouseAndBoatsDialog();
   }
   else
   {
@@ -1212,7 +1208,8 @@
           {
             if ( dword_F8B198 != 31 )
               break;
-            goto LABEL_36;
+            sub_4B4F4F();
+            goto LABEL_58;
           }
           TrainingDialog();
         }
--- a/mm7_4.cpp	Sat Feb 23 19:34:05 2013 +0200
+++ b/mm7_4.cpp	Sat Feb 23 23:46:20 2013 +0600
@@ -10034,7 +10034,7 @@
 
 
 //----- (004B2A74) --------------------------------------------------------
-char __cdecl SimpleHouseDialog()
+char __cdecl SimpleHouseAndBoatsDialog()
 {
   char *v0; // esi@3
   char *v1; // ST1C_4@3
--- a/mm7_data.h	Sat Feb 23 19:34:05 2013 +0200
+++ b/mm7_data.h	Sat Feb 23 23:46:20 2013 +0600
@@ -2308,7 +2308,7 @@
 void __fastcall sub_4B2001(signed int a1);
 char *__thiscall _4B254D_SkillMasteryTeacher(int _this);
 const char *__fastcall sub_4B29F2(int a1);
-char __cdecl SimpleHouseDialog();
+char __cdecl SimpleHouseAndBoatsDialog();
 struct GUIButton *__fastcall sub_4B36CC(int a1, unsigned int a2);
 int __thiscall sub_4B3703(void *_this);
 int __thiscall sub_4B3A72(int a1); // idb