aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Miscellaneous
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-05-21 23:18:43 +0200
committerShauren <shauren.trinity@gmail.com>2017-05-21 23:18:43 +0200
commit3d7c2ef88f2ca3293a1df0411ad49e3eb5a96079 (patch)
treed9a92cf30fcf560d837e2b3b0a212a6834534f46 /src/server/game/Miscellaneous
parent3cb8f532dae1062c5f5bcda1b980463da99fe547 (diff)
Core/Game: Include cleanup, part 4 - packets and largest headers (after preprocessing, except player/objectmgr)
Diffstat (limited to 'src/server/game/Miscellaneous')
-rw-r--r--src/server/game/Miscellaneous/SharedDefines.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/server/game/Miscellaneous/SharedDefines.h b/src/server/game/Miscellaneous/SharedDefines.h
index fc40b0d238b..2dc9640f8e3 100644
--- a/src/server/game/Miscellaneous/SharedDefines.h
+++ b/src/server/game/Miscellaneous/SharedDefines.h
@@ -947,6 +947,8 @@ enum CharacterFlags4 : uint32
CHARACTER_FLAG_4_TRIAL_BOOST_LOCKED = 0x00040000,
};
+#define PLAYER_CUSTOM_DISPLAY_SIZE 3
+
enum CharacterSlot
{
SLOT_HEAD = 0,
@@ -2359,6 +2361,19 @@ enum GameObjectDynamicLowFlags
GO_DYNFLAG_LO_STOPPED = 0x40 // Transport is stopped
};
+// client side GO show states
+enum GOState : uint8
+{
+ GO_STATE_ACTIVE = 0, // show in world as used and not reset (closed door open)
+ GO_STATE_READY = 1, // show in world as ready (closed door close)
+ GO_STATE_ACTIVE_ALTERNATIVE = 2, // show in world as used in alt way and not reset (closed door open by cannon fire)
+ GO_STATE_TRANSPORT_ACTIVE = 24,
+ GO_STATE_TRANSPORT_STOPPED = 25
+};
+
+#define MAX_GO_STATE 3
+#define MAX_GO_STATE_TRANSPORT_STOP_FRAMES 9
+
enum GameObjectDestructibleState
{
GO_DESTRUCTIBLE_INTACT = 0,