From 9233c3936657f6dc4ca9c73d84ea8c045b3fc09d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 13 Jun 2013 00:43:25 +0300 Subject: move npc dialogs array from netcode. --- src/gui/npcdialog.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gui/npcdialog.h') diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h index 3cdb39511..8a4e5b614 100644 --- a/src/gui/npcdialog.h +++ b/src/gui/npcdialog.h @@ -41,11 +41,14 @@ class BrowserBox; class ExtendedListBox; class ItemLinkHandler; class IntTextField; +class NpcDialog; class PlayerBox; class ScrollArea; class TextBox; class TextField; +typedef std::map NpcDialogs; + /** * The npc dialog. * @@ -202,6 +205,10 @@ class NpcDialog final : public Window, void clearRows(); + static NpcDialogs mNpcDialogs; + + static void clearDialogs(); + private: typedef std::list DialogList; static DialogList instances; -- cgit v1.2.3-70-g09d2