summaryrefslogtreecommitdiff
path: root/src/defines.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-03-05 01:14:15 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-03-05 01:14:15 +0000
commitee55fb86718729e1ce445b9f674bf8287981cbaf (patch)
tree3053a880f816f176d316e21f61924a219eb545b4 /src/defines.h
parentdca3ef9431e83d60ed305c8a301081d2d004f849 (diff)
downloadmanaserv-ee55fb86718729e1ce445b9f674bf8287981cbaf.tar.gz
manaserv-ee55fb86718729e1ce445b9f674bf8287981cbaf.tar.bz2
manaserv-ee55fb86718729e1ce445b9f674bf8287981cbaf.tar.xz
manaserv-ee55fb86718729e1ce445b9f674bf8287981cbaf.zip
Added the server code to enter and leave a channel. Some minor fix to the state code, and completed the TODO a little for later coding.
Diffstat (limited to 'src/defines.h')
-rw-r--r--src/defines.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/defines.h b/src/defines.h
index 3914dbe8..c4d00bb5 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -321,6 +321,11 @@ enum {
enum {
CHATCNL_UPD_OK = 0,
CHATCNL_UPD_UNSUFFICIENT_RIGHTS,
+ CHATCNL_UPD_NEW_PLAYER,
+ CHATCNL_UPD_LEAVING_PLAYER,
+ CHATCNL_UPD_KICKED_PLAYER, // To be implemented.
+ CHATCNL_UPD_CHANGED_ADMIN, // dito
+ CHATCNL_UPD_CHANGED_ANNOUNCEMENT, // dito
CHATCNL_UPD_UNKNOWN
};
@@ -335,7 +340,7 @@ enum {
// Chat channels entering return values
enum {
CHATCNL_IN_OK = 0,
- CHATCNL_IN_UNSUFFICIENT_RIGHTS,
+ CHATCNL_IN_INVALID_ID,
CHATCNL_IN_BAD_PASSWORD,
CHATCNL_IN_UNKNOWN
};
@@ -343,13 +348,14 @@ enum {
// Chat channels leaving return values
enum {
CHATCNL_OUT_OK = 0,
+ CHATCNL_OUT_INVALID_ID,
CHATCNL_OUT_UNKNOWN
};
// Object type enumeration
enum {
OBJECT_ITEM = 0, // A simple item
- OBJECT_ACTOR, // An item that toggle map/quest actions (doors, switchs, ...) and to speak (map panels).
+ OBJECT_ACTOR, // An item that toggle map/quest actions (doors, switchs, ...) and can speak (map panels).
OBJECT_NPC, // Non-Playable-Character is an actor capable of movement and maybe actions
OBJECT_MONSTER, // A monster (moving actor with AI. Should be able to toggle map/quest actions, too)
OBJECT_PLAYER // A normal being