Skip to content

Commit

Permalink
Alpha 4
Browse files Browse the repository at this point in the history
Disable Primary Controls if editing a Trap
Use Background Worker for Portal Reading/Writing (Primary Figure only)
Properly Write Data for Traps
CRC is NOT done for Trap Figures
Code Cleanup
Fixed bug with clearing Figure list
  • Loading branch information
hegyak committed May 14, 2020
1 parent 41db19b commit 21d1e69
Show file tree
Hide file tree
Showing 11 changed files with 1,120 additions and 1,151 deletions.
Binary file modified .vs/SkyReader-GUI/v16/.suo
Binary file not shown.
11 changes: 10 additions & 1 deletion SkyReader-GUI/CRC16CCITT.vb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Public Class CRC16CCITT
Public Shared Bytes() As Byte = Nothing
Public Shared Counter As Integer = 0

Public Shared Area0TypeTrapCRC As String
Public Shared Area1TypeTrapCRC As String

Public Shared Area0Type4CRC As String
Public Shared Area1Type4CRC As String

Expand Down Expand Up @@ -156,7 +159,14 @@ Public Class CRC16CCITT
VerifyArea0Type4()
VerifyArea1Type4()
End Sub
#Region " Traps "
Public Shared Function CalculateArea0TypeTrap() As String

End Function
Public Shared Function CalculateArea1TypeTrap() As String

End Function
#End Region
#Region " Type 4 "
Public Shared Function CalculateArea0Type4() As String
'Generate Type 1 Checksum
Expand Down Expand Up @@ -208,7 +218,6 @@ Public Class CRC16CCITT
ReDim Bytes(63)
Do Until LoopCounter = 32
Bytes(Counter) = Buffer.GetByte(WholeFile, &H2D0 + LoopCounter)

Counter += 1
LoopCounter += 1
Loop
Expand Down
9 changes: 9 additions & 0 deletions SkyReader-GUI/SkyReader-GUI.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@
<Compile Include="Exp.vb" />
<Compile Include="Figures.vb" />
<Compile Include="FileIODeclarations.vb" />
<Compile Include="frmCrystal.Designer.vb">
<DependentUpon>frmCrystal.vb</DependentUpon>
</Compile>
<Compile Include="frmCrystal.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmLog.Designer.vb">
<DependentUpon>frmLog.vb</DependentUpon>
</Compile>
Expand Down Expand Up @@ -157,6 +163,9 @@
<Compile Include="Web_Code.vb" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="frmCrystal.resx">
<DependentUpon>frmCrystal.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmLog.resx">
<DependentUpon>frmLog.vb</DependentUpon>
<SubType>Designer</SubType>
Expand Down
32 changes: 16 additions & 16 deletions SkyReader-GUI/frmMain.Designer.vb

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

Loading

0 comments on commit 21d1e69

Please sign in to comment.