diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-09-19 20:17:02 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-09-19 20:17:44 +0200 |
commit | cb11e6c3f12fa7d2a61ec1c5ea04335091547a83 (patch) | |
tree | bc221873ad805a59152e9f8553d676eebd9a653d /src/common/manaserv_protocol.h | |
parent | 810f968b177c332b4459ca08b7e9b010b209bea6 (diff) | |
download | manaserv-cb11e6c3f12fa7d2a61ec1c5ea04335091547a83.tar.gz manaserv-cb11e6c3f12fa7d2a61ec1c5ea04335091547a83.tar.bz2 manaserv-cb11e6c3f12fa7d2a61ec1c5ea04335091547a83.tar.xz manaserv-cb11e6c3f12fa7d2a61ec1c5ea04335091547a83.zip |
Removed the unused OBJECT_ACTOR enum value
NPCs, monsters and character are all actors, but no entity exists that
has "actor" as its type.
To avoid having to increment the protocol version, the values of the
different entity types are now mentioned explicitly.
Diffstat (limited to 'src/common/manaserv_protocol.h')
-rw-r--r-- | src/common/manaserv_protocol.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h index 411b08ca..c24b1300 100644 --- a/src/common/manaserv_protocol.h +++ b/src/common/manaserv_protocol.h @@ -371,21 +371,18 @@ enum AttribmodResponseCode { enum EntityType { // A simple item. - OBJECT_ITEM = 0, - // An item that toggle map/quest actions (doors, switchs, ...) - // and can speak (map panels). - OBJECT_ACTOR, + OBJECT_ITEM = 0, // Non-Playable-Character is an actor capable of movement and maybe actions. - OBJECT_NPC, + OBJECT_NPC = 2, // A monster (moving actor with AI. Should be able to toggle map/quest // actions, too). - OBJECT_MONSTER, + OBJECT_MONSTER = 3, // A normal being. - OBJECT_CHARACTER, + OBJECT_CHARACTER = 4, // A effect to be shown. - OBJECT_EFFECT, + OBJECT_EFFECT = 5, // Server-only object. - OBJECT_OTHER + OBJECT_OTHER = 6 }; // Moving object flags |