summaryrefslogtreecommitdiff
path: root/src/npc.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-25 13:38:55 -0700
committerJared Adams <jaxad0127@gmail.com>2009-02-25 13:38:55 -0700
commitf04a8713ffc83db8b3dc4a472b28aad25a2b2bd1 (patch)
tree1822aa7cecfbe4ef38b55216ab82b686e3b636c7 /src/npc.h
parent9673149ea3c28f42f38fc9989faf76d68e72bd20 (diff)
downloadmana-f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1.tar.gz
mana-f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1.tar.bz2
mana-f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1.tar.xz
mana-f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1.zip
Fix NPC handling to not need a handle on the NPC
The Being ID is used instead, as that is all that was ever really needed.
Diffstat (limited to 'src/npc.h')
-rw-r--r--src/npc.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/npc.h b/src/npc.h
index 81b6d51e..ef9fdc7d 100644
--- a/src/npc.h
+++ b/src/npc.h
@@ -42,19 +42,6 @@ class NPC : public Player
virtual Type getType() const;
void talk();
- void nextDialog();
- void dialogChoice(char choice);
- void integerInput(int value);
- void stringInput(const std::string &value);
-
- void buy();
- void sell();
-
- /**
- * Call this to ease clean up of the current NPC, without causing
- * interface problems
- */
- void handleDeath();
protected:
Network *mNetwork;
void updateCoords();
@@ -62,6 +49,6 @@ class NPC : public Player
Text *mName;
};
-extern NPC *current_npc;
+extern int current_npc;
#endif