Files
tbd-station-14/Content.Shared/GameObjects/DrawDepth.cs
Hugal31 d68d71807d Draw ghosts at the ghost layer (#1045)
* Draw ghosts at the ghost layer

* Add ghosts draw depth
2020-05-31 19:46:50 +02:00

29 lines
980 B
C#

using DrawDepthTag = Robust.Shared.GameObjects.DrawDepth;
using Robust.Shared.Serialization;
namespace Content.Shared.GameObjects
{
[ConstantsFor(typeof(DrawDepthTag))]
public enum DrawDepth
{
LowFloors = DrawDepthTag.Default - 7,
/// <summary>
/// Things that are beneath regular floors, such as wires.
/// </summary>
BelowFloor = DrawDepthTag.Default - 6,
FloorTiles = DrawDepthTag.Default - 5,
/// <summary>
/// Things that are actually right on the floor, like vents.
/// </summary>
FloorObjects = DrawDepthTag.Default - 4,
Walls = DrawDepthTag.Default - 3,
WallTops = DrawDepthTag.Default - 2,
WallMountedItems = DrawDepthTag.Default - 1,
Objects = DrawDepthTag.Default,
Items = DrawDepthTag.Default + 1,
Mobs = DrawDepthTag.Default + 2,
Ghosts = DrawDepthTag.Default + 3,
Overlays = DrawDepthTag.Default + 4,
}
}