Increase maximum thing number to 65535 (from 32767)

This commit is contained in:
spherallic 2024-06-21 14:44:18 +02:00
parent 20254791b6
commit bee8dd4a99

View file

@ -91,7 +91,7 @@ namespace CodeImp.DoomBuilder.IO
public override int MinEffect { get { return int.MinValue; } }
public override int MaxBrightness { get { return int.MaxValue; } }
public override int MinBrightness { get { return int.MinValue; } }
public override int MaxThingType { get { return short.MaxValue; } } //mxd. Editor numbers must be in [1 .. 32767] range
public override int MaxThingType { get { return ushort.MaxValue; } } //mxd. Editor numbers must be in [1 .. 65535] range
public override int MinThingType { get { return 1; } } //mxd
public override float MaxCoordinate { get { return short.MaxValue; } } //mxd. UDMF maps are still bounded to -32768 .. 32767 range
public override float MinCoordinate { get { return short.MinValue; } } //mxd