Skip to content

Commit

Permalink
- Adds stub classes for AV8B, M2000 and F15E
Browse files Browse the repository at this point in the history
- All aircraft related menu items are now only enabled and disabled through containers, making it more expandible by just editing the containers
- Fixes aircraft tool selection menu items are not disabled when aircraft is not selected
  • Loading branch information
FalcoGer committed Sep 30, 2023
1 parent 8943008 commit 88f3b83
Show file tree
Hide file tree
Showing 6 changed files with 242 additions and 106 deletions.
3 changes: 3 additions & 0 deletions CoordinateConverter/CoordinateConverter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
</ItemGroup>
<ItemGroup>
<Compile Include="DCS\Aircraft\A10C.cs" />
<Compile Include="DCS\Aircraft\AV8B.cs" />
<Compile Include="DCS\Aircraft\F15E.cs" />
<Compile Include="DCS\Aircraft\M2000.cs" />
<Compile Include="DCS\Tools\FormAH64PointDeleter.cs">
<SubType>Form</SubType>
</Compile>
Expand Down
33 changes: 33 additions & 0 deletions CoordinateConverter/DCS/Aircraft/AV8B.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;

namespace CoordinateConverter.DCS.Aircraft
{
public class AV8B : DCSAircraft
{
public override List<DCSCommand> GetPointActions(CoordinateDataEntry coordinate)
{
throw new NotImplementedException();
}

public override List<string> GetPointOptionsForType(string pointTypeStr)
{
throw new NotImplementedException();
}

public override List<string> GetPointTypes()
{
throw new NotImplementedException();
}

public override List<DCSCommand> GetPostPointActions()
{
throw new NotImplementedException();
}

public override List<DCSCommand> GetPrePointActions()
{
throw new NotImplementedException();
}
}
}
33 changes: 33 additions & 0 deletions CoordinateConverter/DCS/Aircraft/F15E.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;

namespace CoordinateConverter.DCS.Aircraft
{
public class F15E : DCSAircraft
{
public override List<DCSCommand> GetPointActions(CoordinateDataEntry coordinate)
{
throw new NotImplementedException();
}

public override List<string> GetPointOptionsForType(string pointTypeStr)
{
throw new NotImplementedException();
}

public override List<string> GetPointTypes()
{
throw new NotImplementedException();
}

public override List<DCSCommand> GetPostPointActions()
{
throw new NotImplementedException();
}

public override List<DCSCommand> GetPrePointActions()
{
throw new NotImplementedException();
}
}
}
32 changes: 32 additions & 0 deletions CoordinateConverter/DCS/Aircraft/M2000.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
using System.Collections.Generic;

namespace CoordinateConverter.DCS.Aircraft
{
public class M2000 : DCSAircraft
{
public override List<DCSCommand> GetPointActions(CoordinateDataEntry coordinate)
{
throw new System.NotImplementedException();
}

public override List<string> GetPointOptionsForType(string pointTypeStr)
{
throw new System.NotImplementedException();
}

public override List<string> GetPointTypes()
{
throw new System.NotImplementedException();
}

public override List<DCSCommand> GetPostPointActions()
{
throw new System.NotImplementedException();
}

public override List<DCSCommand> GetPrePointActions()
{
throw new System.NotImplementedException();
}
}
}
14 changes: 7 additions & 7 deletions CoordinateConverter/MainForm.Designer.cs

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

Loading

0 comments on commit 88f3b83

Please sign in to comment.