diff GUIWindow.cpp @ 167:90a9c828c2a6

pWindow and pBtn
author Ritor1
date Wed, 12 Dec 2012 12:52:40 +0600
parents 062e8a8e09bc
children bf2956650e92
line wrap: on
line diff
--- a/GUIWindow.cpp	Tue Dec 11 17:23:17 2012 +0600
+++ b/GUIWindow.cpp	Wed Dec 12 12:52:40 2012 +0600
@@ -1250,7 +1250,7 @@
     0,
     "",
     0);
-  ptr_5064F8 = v2->CreateButton(
+  pBtn_InstallRemoveSpell = v2->CreateButton(
                  0x1DCu,
                  0x1C2u,
                  0x30u,
@@ -1288,7 +1288,7 @@
              pGlobalTXT_LocalizationStrings[79],
              ptr_506440,
              0);
-  ptr_5064F4 = result;
+  pBtn_CloseBook = result;
   return result;
 }
 // 50640C: using guessed type int dword_50640C[];
@@ -2140,7 +2140,7 @@
         case WINDOW_A:
           dword_506978 = pCurrentScreen;
           pCurrentScreen = 4;
-          ptr_5076F4 = pWindow->CreateButton(
+          pBtn_ExitCancel = pWindow->CreateButton(
                          0x1D7u,
                          0x1BDu,
                          0xA9u,
@@ -2337,7 +2337,7 @@
         case WINDOW_11:
           dword_506978 = pCurrentScreen;
           pCurrentScreen = 17;
-          ptr_5076F4 = pWindow->CreateButton(
+          pBtn_ExitCancel = pWindow->CreateButton(
                          0x236u,
                          0x1BDu,
                          0x4Bu,
@@ -2350,7 +2350,7 @@
                          pGlobalTXT_LocalizationStrings[156],
                          (Texture *)(uTextureID_BUTTDESC2 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_BUTTDESC2] : 0),
                          0);
-          ptr_5076FC = pWindow->CreateButton(
+          pBtn_YES = pWindow->CreateButton(
                          0x1E6u,
                          0x1BDu,
                          0x4Bu,
@@ -2402,7 +2402,7 @@
   if (eWindowType == WINDOW_HouseInterior)
   {
     pCurrentScreen = 13;
-    ptr_5076F4 = pWindow->CreateButton(
+    pBtn_ExitCancel = pWindow->CreateButton(
                    0x1D7u,
                    0x1BDu,
                    0xA9u,
@@ -2469,7 +2469,7 @@
     {
       dword_506978 = pCurrentScreen;
       pCurrentScreen = 18;
-      ptr_5076F4 = pWindow->CreateButton(
+      pBtn_ExitCancel = pWindow->CreateButton(
                      0x236u,
                      0x1BDu,
                      0x4Bu,
@@ -2482,7 +2482,7 @@
                      pGlobalTXT_LocalizationStrings[34],
                      (Texture *)(uTextureID_BUTTDESC2 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_BUTTDESC2] : 0),
                      0);
-      ptr_5076FC = pWindow->CreateButton(
+      pBtn_YES = pWindow->CreateButton(
                      0x1E6u,
                      0x1BDu,
                      0x4Bu,
@@ -2523,7 +2523,7 @@
     if (eWindowType == WINDOW_1F)
     {
       pMouse->SetCursorBitmap("MICON2");
-      ptr_5076F4 = pWindow->CreateButton(
+      pBtn_ExitCancel = pWindow->CreateButton(
                      0x188u,
                      0x13Eu,
                      0x4Bu,