summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-08-10 18:06:20 -0600
committerJared Adams <jaxad0127@gmail.com>2010-08-10 18:10:17 -0600
commitf983b7381a298be8639e007f835d2aad30a768e2 (patch)
tree6d82253211e6bde52507f2de091c002f4a948553 /src/gui/npcdialog.h
parent96187972ff9ac50a2a7fa280abbb21bd3c7f0737 (diff)
downloadmana-f983b7381a298be8639e007f835d2aad30a768e2.tar.gz
mana-f983b7381a298be8639e007f835d2aad30a768e2.tar.bz2
mana-f983b7381a298be8639e007f835d2aad30a768e2.tar.xz
mana-f983b7381a298be8639e007f835d2aad30a768e2.zip
Remove NpcDialog references from netcode
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r--src/gui/npcdialog.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h
index 561cceb9..5850ecca 100644
--- a/src/gui/npcdialog.h
+++ b/src/gui/npcdialog.h
@@ -119,13 +119,6 @@ class NpcDialog : public Window, public gcn::ActionListener,
void addChoice(const std::string &);
/**
- * Fills the options list for an NPC dialog.
- *
- * @param itemString A string with the options separated with colons.
- */
- void parseListItems(const std::string &itemString);
-
- /**
* Requests a text string from the user.
*/
void textRequest(const std::string &defaultText = "");
@@ -137,8 +130,7 @@ class NpcDialog : public Window, public gcn::ActionListener,
/**
* Requests a interger from the user.
*/
- void integerRequest(int defaultValue = 0, int min = 0,
- int max = 2147483647);
+ void integerRequest(int defaultValue, int min, int max);
void move(int amount);
@@ -164,6 +156,8 @@ class NpcDialog : public Window, public gcn::ActionListener,
*/
static void closeAll();
+ static void setup();
+
private:
typedef std::list<NpcDialog*> DialogList;
static DialogList instances;