Skip to content

Commit

Permalink
ADDED: Support for "JBMod" steam workshop.
Browse files Browse the repository at this point in the history
Cleanup of PR #41.
  • Loading branch information
ZeqMacaw committed Jan 21, 2023
1 parent 204bd32 commit 3fa4ff6
Show file tree
Hide file tree
Showing 5 changed files with 155 additions and 149 deletions.
39 changes: 16 additions & 23 deletions Crowbar/Core/SteamAppInfos/JBmodSteamAppInfo.vb
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
Imports System.ComponentModel
Imports System.IO
Imports Steamworks

Public Class JBmodSteamAppInfo
Inherits SteamAppInfoBase
Imports System.ComponentModel
Imports System.IO
Imports Steamworks

Public Sub New()
MyBase.New()
Public Class JBModSteamAppInfo
Inherits SteamAppInfoBase

Me.ID = New AppId_t(2158860)
Me.Name = "JBmod"
Me.UsesSteamUGC = True
Me.CanUseContentFolderOrFile = False
'Me.ContentFileExtensionsAndDescriptions.Add("vpk", "Source Engine VPK Files")
Me.TagsControlType = GetType(JBModTagsUserControl)
End Sub
Public Sub New()
MyBase.New()

Public Enum ZombiePanicSourceTypeTags
<Description("GameMode")> GameMode
<Description("Custom Models")> CustomModels
<Description("Custom Sounds")> CustomSounds
<Description("Miscellaneous")> Miscellaneous
End Enum

End Class
Me.ID = New AppId_t(2158860)
Me.Name = "JBMod"
Me.UsesSteamUGC = True
Me.CanUseContentFolderOrFile = False
'Me.ContentFileExtensionsAndDescriptions.Add("vpk", "Source Engine VPK Files")
Me.TagsControlType = GetType(JBModTagsUserControl)
End Sub

End Class
2 changes: 1 addition & 1 deletion Crowbar/Core/SteamAppInfos/SteamAppInfoBase.vb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Public Class SteamAppInfoBase
steamAppInfos.Add(anAppInfo)
anAppInfo = New HuntDownTheFreemanSteamAppInfo()
steamAppInfos.Add(anAppInfo)
anAppInfo = New JBmodSteamAppInfo()
anAppInfo = New JBModSteamAppInfo()
steamAppInfos.Add(anAppInfo)
anAppInfo = New Left4Dead2SteamAppInfo()
steamAppInfos.Add(anAppInfo)
Expand Down
10 changes: 10 additions & 0 deletions Crowbar/Crowbar.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@
<Compile Include="Core\SteamAppInfos\CodenameCureSteamAppInfo.vb" />
<Compile Include="Core\SteamAppInfos\FirefightReloadedSteamAppInfo.vb" />
<Compile Include="Core\SteamAppInfos\HuntDownTheFreemanSteamAppInfo.vb" />
<Compile Include="Core\SteamAppInfos\JBModSteamAppInfo.vb" />
<Compile Include="Core\SteamAppInfos\WilsonChroniclesSteamAppInfo.vb" />
<Compile Include="Core\SteamAppInfos\MilitaryConflictVietnamSteamAppInfo.vb" />
<Compile Include="Core\SteamAppInfos\BlackMesaSteamAppInfo.vb" />
Expand Down Expand Up @@ -766,6 +767,12 @@
<Compile Include="Widgets\Publish SteamApp Tags\HuntDownTheFreemanTagsUserControl.vb">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Widgets\Publish SteamApp Tags\JBModTagsUserControl.Designer.vb">
<DependentUpon>JBModTagsUserControl.vb</DependentUpon>
</Compile>
<Compile Include="Widgets\Publish SteamApp Tags\JBModTagsUserControl.vb">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Widgets\Publish SteamApp Tags\WilsonChroniclesTagsUserControl.Designer.vb">
<DependentUpon>WilsonChroniclesTagsUserControl.vb</DependentUpon>
</Compile>
Expand Down Expand Up @@ -927,6 +934,9 @@
<EmbeddedResource Include="Widgets\Publish SteamApp Tags\HuntDownTheFreemanTagsUserControl.resx">
<DependentUpon>HuntDownTheFreemanTagsUserControl.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Widgets\Publish SteamApp Tags\JBModTagsUserControl.resx">
<DependentUpon>JBModTagsUserControl.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Widgets\Publish SteamApp Tags\MilitaryConflictVietnamTagsUserControl.resx">
<DependentUpon>MilitaryConflictVietnamTagsUserControl.vb</DependentUpon>
</EmbeddedResource>
Expand Down
247 changes: 125 additions & 122 deletions Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.Designer.vb

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

6 changes: 3 additions & 3 deletions Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.vb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Public Class JBmodTagsUserControl

End Class
Public Class JBModTagsUserControl

End Class

0 comments on commit 3fa4ff6

Please sign in to comment.