diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2008-02-28 20:14:43 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2008-02-28 20:14:43 +0000 |
commit | 5bdf6f3f633bbdd88a3c4fdde8bdfef87e0e93e1 (patch) | |
tree | a2d6af0c32558240083338b6d9956d67857d5070 | |
parent | 9d6cab0f4b8e8ff585832a50860591e98f73ae98 (diff) | |
download | mana-client-5bdf6f3f633bbdd88a3c4fdde8bdfef87e0e93e1.tar.gz mana-client-5bdf6f3f633bbdd88a3c4fdde8bdfef87e0e93e1.tar.bz2 mana-client-5bdf6f3f633bbdd88a3c4fdde8bdfef87e0e93e1.tar.xz mana-client-5bdf6f3f633bbdd88a3c4fdde8bdfef87e0e93e1.zip |
Temporary fix for GUILD protocol support, fixed makefile. Also please do not double source file names - rename it.
-rw-r--r-- | src/Makefile.am | 6 | ||||
-rw-r--r-- | src/net/protocol.h | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 699efbe4..d7f0537c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -132,6 +132,8 @@ tmw_SOURCES = gui/widgets/dropdown.cpp \ gui/tabbedcontainer.h \ gui/textbox.cpp \ gui/textbox.h \ + gui/textdialog.cpp \ + gui/textdialog.h \ gui/textfield.cpp \ gui/textfield.h \ gui/trade.cpp \ @@ -153,6 +155,8 @@ tmw_SOURCES = gui/widgets/dropdown.cpp \ net/beinghandler.cpp \ net/buysellhandler.h \ net/buysellhandler.cpp \ + net/chatserver/guild.cpp \ + net/chatserver/guild.h \ net/charserverhandler.h \ net/charserverhandler.cpp \ net/chathandler.h \ @@ -279,6 +283,8 @@ tmw_SOURCES = gui/widgets/dropdown.cpp \ game.h \ graphics.cpp \ graphics.h \ + guild.cpp \ + guild.h \ guichanfwd.h \ imageparticle.cpp \ imageparticle.h \ diff --git a/src/net/protocol.h b/src/net/protocol.h index b255ae59..acabb77b 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -145,7 +145,9 @@ enum { CPMSG_GUILD_INVITED = 0x0370, // S name, S name CPMSG_GUILD_REJOIN = 0x0371, // S name, W id, W rights - + CPMSG_GUILD_JOINED = 0x90, + CPMSG_GUILD_LEFT = 0x90, + // Chat CPMSG_ERROR = 0x0401, // B error CPMSG_ANNOUNCEMENT = 0x0402, // S text |