Skip to content

Commit

Permalink
Finish hooking up the Publish Tags for ZPS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeqMacaw committed Oct 15, 2019
1 parent f2c8c82 commit ef26f24
Show file tree
Hide file tree
Showing 4 changed files with 379 additions and 180 deletions.
35 changes: 7 additions & 28 deletions Crowbar/Core/SteamAppInfos/ZombiePanicSourceSteamAppInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,16 @@ Public Class ZombiePanicSourceSteamAppInfo
Me.ID = New AppId_t(17500)
Me.Name = "Zombie Panic! Source"
Me.UsesSteamUGC = True
Me.CanUseContentFolderOrFile = True
Me.ContentFileExtensionsAndDescriptions.Add("vpk", "Source Engine VPK Files")
Me.CanUseContentFolderOrFile = False
'Me.ContentFileExtensionsAndDescriptions.Add("vpk", "Source Engine VPK Files")
Me.TagsControlType = GetType(ZombiePanicSourceTagsUserControl)
End Sub

Public Enum ZombiePanicSourceGameModeTypeTags
<Description("None")> None
<Description("Hardcore")> Hardcore
<Description("Objective")> Objective
<Description("Survival")> Survival
<Description("Custom")> Custom
End Enum

Public Enum ZombiePanicSourceCustomModelsTypeTags
<Description("None")> None
<Description("Characters")> Characters
<Description("Props")> Props
<Description("Weapons")> Weapons
End Enum

Public Enum ZombiePanicSourceCustomSoundsTypeTags
<Description("None")> None
<Description("Characters Sounds")> CharactersSounds
<Description("Weapons Sounds")> WeaponsSounds
End Enum

Public Enum ZombiePanicSourceMiscellaneousTypeTags
<Description("None")> None
<Description("GUIs")> GUIs
<Description("Model Pack")> ModelPack
<Description("Sound Pack")> SoundPack
Public Enum ZombiePanicSourceTypeTags
<Description("GameMode")> GameMode
<Description("Custom Models")> CustomModels
<Description("Custom Sounds")> CustomSounds
<Description("Miscellaneous")> Miscellaneous
End Enum

End Class
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Public Class Base_TagsUserControl
Me.theWidgets.Add(widget)
End If
End If
ElseIf TypeOf widget Is GroupBox Then
ElseIf TypeOf widget Is GroupBox OrElse TypeOf widget Is Panel Then
Me.GetAllWidgets(widget.Controls)
End If
Next
Expand Down
Loading

0 comments on commit ef26f24

Please sign in to comment.