summaryrefslogtreecommitdiff
path: root/src/npc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/npc.cpp')
-rw-r--r--src/npc.cpp18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/npc.cpp b/src/npc.cpp
index b2b426dd..3bd4371b 100644
--- a/src/npc.cpp
+++ b/src/npc.cpp
@@ -25,9 +25,6 @@
#include "animatedsprite.h"
-#include "net/messageout.h"
-#include "net/protocol.h"
-
class Spriteset;
extern Spriteset *npcset;
@@ -48,25 +45,34 @@ NPC::getType() const
void
NPC::talk()
{
+ // XXX Convert for new server
+ /*
MessageOut outMsg(CMSG_NPC_TALK);
outMsg.writeLong(mId);
outMsg.writeByte(0);
current_npc = this;
+ */
}
void
NPC::nextDialog()
{
+ // XXX Convert for new server
+ /*
MessageOut outMsg(CMSG_NPC_NEXT_REQUEST);
outMsg.writeLong(mId);
+ */
}
void
NPC::dialogChoice(char choice)
{
+ // XXX Convert for new server
+ /*
MessageOut outMsg(CMSG_NPC_LIST_CHOICE);
outMsg.writeLong(mId);
outMsg.writeByte(choice);
+ */
}
/*
@@ -76,15 +82,21 @@ NPC::dialogChoice(char choice)
void
NPC::buy()
{
+ // XXX Convert for new server
+ /*
MessageOut outMsg(CMSG_NPC_BUY_SELL_REQUEST);
outMsg.writeLong(mId);
outMsg.writeByte(0);
+ */
}
void
NPC::sell()
{
+ // XXX Convert for new server
+ /*
MessageOut outMsg(CMSG_NPC_BUY_SELL_REQUEST);
outMsg.writeLong(mId);
outMsg.writeByte(1);
+ */
}