public void Parse() { // Parse all data... if (!this.DefineParser.ReadDefines(Config.PathWorldmapHeader)) { Utils.HandleParseError(this.DefineParser.Error, Config.PathWorldmapHeader); } if (!this.DefineParser.ReadDefines(Config.PathMapsHeader)) { Utils.HandleParseError(this.DefineParser.Error, Config.PathMapsHeader); } if (!this.DefineParser.ReadDefines(Config.PathDefines)) { Utils.HandleParseError(this.DefineParser.Error, Config.PathDefines); } EditorData.LoadDataFromDefines(DefineParser.Defines); this.GMParser.Parse(); this.GWParser.Parse(); this.FOGameParser.Parse(); this.DialogListParser.Parse(); this.FODLGParser.Parse(); this.FOOBJParser.Parse(); this.GroupParser.Parse(); this.MapParser.Parse(); this.ScriptListParser.Parse(); LoadZones(GroupParser); this.LocParser.Parse(); Locations = LocParser.GetLocations(); //MapObjects.AddRange(Locations); }
public void SaveLocations() { LocParser.SaveLocations(Locations); }