Пример #1
0
 private void OpenMap(string path)
 {
     this.CloseMap();
     this.MAP = new HaloMap();
     this.MAP.Path = path;
     this.ReadMAPHeaders();
     this.Text = string.Concat(new string[]
     {
         "Lethargy - ",
         this.MAP.GameVersion,
         " ",
         this.MAP.PlayerType,
         " ",
         this.MAP.Name
     });
     this.Status.Text = "Loading Map '" + this.MAP.Name + "'...";
     this.Refresh();
     this.TagTreeView.Cursor = Cursors.WaitCursor;
     this.ReadMAPTags();
     this.TagTreeView.Cursor = Cursors.Default;
     this.Status.Text = this.MAP.Name + " loaded, " + Conversions.ToString(this.MAP.TagCount) + " tags processed.";
     this.FindTagByIndexOrderToolStripMenuItem.Enabled = true;
     this.ShowTagsOrderToolStripMenuItem.Enabled = true;
     this.InsertBlankDataToolStripMenuItem.Enabled = true;
 }
Пример #2
0
 public LethargyForm()
 {
     this.MAP = new HaloMap();
     this.IDhash = new Hashtable();
     this.InitializeComponent();
 }