mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-17 18:59:27 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
24 lines
605 B
C#
24 lines
605 B
C#
namespace Sandbox.Navigation.Generation;
|
|
|
|
[SkipHotload]
|
|
internal static class Constants
|
|
{
|
|
public const int NOT_CONNECTED = 0x3f;
|
|
public const int NULL_AREA = 0;
|
|
public const int WALKABLE_AREA = 1;
|
|
public const int SPAN_MAX_HEIGHT = 0xffff;
|
|
public const int SPAN_HEIGHT_BITS = 16;
|
|
public const int VERTS_PER_POLYGON = 6;
|
|
public const ushort MESH_NULL_IDX = 0xffff;
|
|
}
|
|
|
|
|
|
[SkipHotload]
|
|
internal static class ContourRegionFlags
|
|
{
|
|
public const int CONTOUR_REG_MASK = 0xFFFF;
|
|
public const int BORDER_REG = 0x8000;
|
|
public const int BORDER_VERTEX = 0x10000;
|
|
public const int AREA_BORDER = 0x20000;
|
|
}
|