summaryrefslogtreecommitdiff
path: root/src/game-server
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server')
-rw-r--r--src/game-server/thing.hpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/game-server/thing.hpp b/src/game-server/thing.hpp
index b6234b92..f1f0df28 100644
--- a/src/game-server/thing.hpp
+++ b/src/game-server/thing.hpp
@@ -21,29 +21,14 @@
#ifndef THING_H
#define THING_H
+#include "protocol.h"
+
#include <set>
class EventListener;
class MapComposite;
/**
- * Types of things enumeration.
- */
-enum ThingType
-{
- OBJECT_ITEM = 0, /**< A simple item. */
- 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_CHARACTER, /**< A normal being. */
- OBJECT_EFFECT, /**< A effect to be shown */
- OBJECT_OTHER /**< Server-only object. */
-};
-
-/**
* Base class for in-game objects. Knows only its type and the map it resides
* on. Provides listeners.
*/