public Map(string path) { GlobalFlags = new MapFlags(64); SegmentDefinitions = new SegmentDefinition[512]; Segments = new MapSegment[3, 64]; Grid = new int[XSize, YSize]; Path = path; Ledges = new Ledge[16]; for (var i = 0; i < 16; i++) Ledges[i] = new Ledge(); ReadSegmentDefinitions(); Read(); }
public Map(string path) { GlobalFlags = new MapFlags(64); SegmentDefinitions = new SegmentDefinition[512]; Segments = new MapSegment[3, 64]; Grid = new int[XSize, YSize]; Path = path; Ledges = new Ledge[16]; for (var i = 0; i < 16; i++) { Ledges[i] = new Ledge(); } ReadSegmentDefinitions(); Read(); }
public MapScript(Map map) { _map = map; Flags = new MapFlags(32); Lines = new MapScriptLine[128]; }