From b7bb27910303ef1538e2cbb4093e452c77567739 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Jan 2015 13:15:41 +0300 Subject: Add variable for cart window. --- src/gui/windows/inventorywindow.cpp | 3 +++ src/gui/windows/inventorywindow.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/gui/windows') diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 581f9bfc2..e0dd2e8f0 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -70,6 +70,9 @@ InventoryWindow *inventoryWindow = nullptr; InventoryWindow *storageWindow = nullptr; +#ifdef EATHENA_SUPPORT +InventoryWindow *cartWindow = nullptr; +#endif InventoryWindow::WindowList InventoryWindow::invInstances; InventoryWindow::InventoryWindow(Inventory *const inventory) : diff --git a/src/gui/windows/inventorywindow.h b/src/gui/windows/inventorywindow.h index d17ba966d..aba6937a4 100644 --- a/src/gui/windows/inventorywindow.h +++ b/src/gui/windows/inventorywindow.h @@ -201,5 +201,8 @@ class InventoryWindow final : public Window, extern InventoryWindow *inventoryWindow; extern InventoryWindow *storageWindow; +#ifdef EATHENA_SUPPORT +extern InventoryWindow *cartWindow; +#endif // EATHENA_SUPPORT #endif // GUI_WINDOWS_INVENTORYWINDOW_H -- cgit v1.2.3-70-g09d2