diff mm7_6.cpp @ 167:90a9c828c2a6

pWindow and pBtn
author Ritor1
date Wed, 12 Dec 2012 12:52:40 +0600
parents 87c503d426e0
children
line wrap: on
line diff
--- a/mm7_6.cpp	Tue Dec 11 17:23:17 2012 +0600
+++ b/mm7_6.cpp	Wed Dec 12 12:52:40 2012 +0600
@@ -2422,7 +2422,7 @@
       if ( HIBYTE(v6) & 2 && !pGUIWindow_Settings )
       {
         pGUIWindow_Settings = GUIWindow::Create(0, 0, 640, 480, (WindowType)(WINDOW_HouseInterior|0x2), 20 * result + 5292232, 0);
-        ptr_5079EC = pGUIWindow_Settings->CreateButton(
+        pBtn_NPCLeft = pGUIWindow_Settings->CreateButton(
                        0x1D5u,
                        0xB2u,
                        (uTextureID_507990 != -1 ? pIcons_LOD->pTextures[uTextureID_507990].uTextureWidth : 24),
@@ -2435,7 +2435,7 @@
                        "",
                        (Texture *)(uTextureID_507990 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_507990] : 0),
                        0);
-        ptr_5079E8 = pGUIWindow_Settings->CreateButton(
+        pBtn_NPCRight = pGUIWindow_Settings->CreateButton(
                        0x272u,
                        0xB2u,
                        (uTextureID_50798C != -1 ? pIcons_LOD->pTextures[uTextureID_50798C].uTextureWidth : 24),
@@ -8847,7 +8847,7 @@
 void __cdecl sub_42FBDD()
 {
   pAudioPlayer->PlaySound((SoundID)75, 0, 0, -1, 0, 0, 0, 0);
-  pRenderer->DrawTextureTransparent(ptr_5076FC->uX, ptr_5076FC->uY, ptr_5076FC->pTextures[0]);
+  pRenderer->DrawTextureTransparent(pBtn_YES->uX, pBtn_YES->uY, pBtn_YES->pTextures[0]);
   pRenderer->Present();
 }
 
@@ -8855,7 +8855,7 @@
 void __cdecl sub_42FC15()
 {
   pAudioPlayer->PlaySound((SoundID)75, -2, 0, -1, 0, 0, 0, 0);
-  pRenderer->DrawTextureTransparent(ptr_5076F4->uX, ptr_5076F4->uY, ptr_5076F4->pTextures[0]);
+  pRenderer->DrawTextureTransparent(pBtn_ExitCancel->uX, pBtn_ExitCancel->uY, pBtn_ExitCancel->pTextures[0]);
   pRenderer->Present();
 }