Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Commit

Permalink
Final pushes before first showoff. Add more descriptions, and allow e…
Browse files Browse the repository at this point in the history
…diting / altering of any type.
  • Loading branch information
shibboleet authored and shibboleet committed Dec 24, 2016
1 parent f527fd9 commit a4769d9
Show file tree
Hide file tree
Showing 18 changed files with 1,003 additions and 415 deletions.
Binary file modified .vs/DouBOLDash/v14/.suo
Binary file not shown.
4 changes: 2 additions & 2 deletions DouBOLDash/BCOEditor.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions DouBOLDash/BCOEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ private void openBCOToolStripMenuItem_Click(object sender, EventArgs e)

if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
this.Text = "BCO Editor " + openFileDialog1.FileName;
this.Update();

trisListBox.Items.Clear();
vertsListBox.Items.Clear();

Expand Down
10 changes: 9 additions & 1 deletion DouBOLDash/BOL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ public void Parse(EndianBinaryReader reader, uint count)
RouteGroupSetup group = new RouteGroupSetup();
group.pointLength = reader.ReadUInt16();
group.pointStart = reader.ReadUInt16();
this.groupID = i;
group.groupID = i;

reader.ReadBytes(12);

Expand Down Expand Up @@ -1254,6 +1254,7 @@ public ushort GroupSetting
public class RouteGroupSetup
{
public ushort pointLength, pointStart;
public uint groupID;

[DisplayName("Length"), Category("Settings"), Description("The amount of points this group has.")]
public ushort PointLength
Expand All @@ -1268,6 +1269,13 @@ public ushort PointStart
get { return pointStart; }
set { pointStart = value; }
}

[DisplayName("Group ID"), Category("Settings"), Description("The group id."), ReadOnly(true)]
public uint GroupID
{
get { return groupID; }
set { groupID = value; }
}
}

public class RoutePointObject
Expand Down
256 changes: 251 additions & 5 deletions DouBOLDash/MainWindow.Designer.cs

Large diffs are not rendered by default.

Loading

0 comments on commit a4769d9

Please sign in to comment.