diff --git a/Crowbar/Core/SteamAppInfos/JBmodSteamAppInfo.vb b/Crowbar/Core/SteamAppInfos/JBmodSteamAppInfo.vb new file mode 100644 index 00000000..847bc23c --- /dev/null +++ b/Crowbar/Core/SteamAppInfos/JBmodSteamAppInfo.vb @@ -0,0 +1,26 @@ +Imports System.ComponentModel +Imports System.IO +Imports Steamworks + +Public Class JBmodSteamAppInfo + Inherits SteamAppInfoBase + + Public Sub New() + MyBase.New() + + 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 Enum ZombiePanicSourceTypeTags + GameMode + CustomModels + CustomSounds + Miscellaneous + End Enum + +End Class diff --git a/Crowbar/Core/SteamAppInfos/SteamAppInfoBase.vb b/Crowbar/Core/SteamAppInfos/SteamAppInfoBase.vb index 0f345414..67871a7e 100644 --- a/Crowbar/Core/SteamAppInfos/SteamAppInfoBase.vb +++ b/Crowbar/Core/SteamAppInfos/SteamAppInfoBase.vb @@ -63,6 +63,8 @@ Public Class SteamAppInfoBase steamAppInfos.Add(anAppInfo) anAppInfo = New HuntDownTheFreemanSteamAppInfo() steamAppInfos.Add(anAppInfo) + anAppInfo = New JBmodSteamAppInfo() + steamAppInfos.Add(anAppInfo) anAppInfo = New Left4Dead2SteamAppInfo() steamAppInfos.Add(anAppInfo) anAppInfo = New MilitaryConflictVietnamSteamAppInfo() diff --git a/Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.Designer.vb b/Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.Designer.vb new file mode 100644 index 00000000..c92c14e8 --- /dev/null +++ b/Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.Designer.vb @@ -0,0 +1,155 @@ + +Partial Class JBmodTagsUserControl + Inherits Base_TagsUserControl + + 'UserControl overrides dispose to clean up the component list. + + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + + Private Sub InitializeComponent() + Me.GameTypeGroupBox = New System.Windows.Forms.GroupBox() + Me.MultiplayerTagCheckBox = New Crowbar.CheckBoxEx() + Me.SingleplayerTagCheckBox = New Crowbar.CheckBoxEx() + Me.ContentTypeCheckBox = New System.Windows.Forms.GroupBox() + Me.SkinTagCheckBox = New Crowbar.CheckBoxEx() + Me.ScriptTagCheckBox = New Crowbar.CheckBoxEx() + Me.ModelTagCheckBox = New Crowbar.CheckBoxEx() + Me.MapTagCheckBox = New Crowbar.CheckBoxEx() + Me.GameTypeGroupBox.SuspendLayout() + Me.ContentTypeCheckBox.SuspendLayout() + Me.SuspendLayout() + ' + 'GameTypeGroupBox + ' + Me.GameTypeGroupBox.Controls.Add(Me.MultiplayerTagCheckBox) + Me.GameTypeGroupBox.Controls.Add(Me.SingleplayerTagCheckBox) + Me.GameTypeGroupBox.Location = New System.Drawing.Point(3, 0) + Me.GameTypeGroupBox.Name = "GameTypeGroupBox" + Me.GameTypeGroupBox.Size = New System.Drawing.Size(114, 60) + Me.GameTypeGroupBox.TabIndex = 0 + Me.GameTypeGroupBox.TabStop = False + Me.GameTypeGroupBox.Text = "GAME TYPE" + + Me.SingleplayerTagCheckBox.AutoSize = True + Me.SingleplayerTagCheckBox.IsReadOnly = False + Me.SingleplayerTagCheckBox.Location = New System.Drawing.Point(6, 20) + Me.SingleplayerTagCheckBox.Name = "SingleplayerTagCheckBox" + Me.SingleplayerTagCheckBox.Size = New System.Drawing.Size(84, 17) + Me.SingleplayerTagCheckBox.TabIndex = 0 + Me.SingleplayerTagCheckBox.Tag = "Singleplayer" + Me.SingleplayerTagCheckBox.Text = "Singleplayer" + Me.SingleplayerTagCheckBox.UseVisualStyleBackColor = True + ' + 'MultiplayerTagCheckBox + ' + Me.MultiplayerTagCheckBox.AutoSize = True + Me.MultiplayerTagCheckBox.IsReadOnly = False + Me.MultiplayerTagCheckBox.Location = New System.Drawing.Point(6, 40) + Me.MultiplayerTagCheckBox.Name = "MultiplayerTagCheckBox" + Me.MultiplayerTagCheckBox.Size = New System.Drawing.Size(78, 17) + Me.MultiplayerTagCheckBox.TabIndex = 1 + Me.MultiplayerTagCheckBox.Tag = "Multiplayer" + Me.MultiplayerTagCheckBox.Text = "Multiplayer" + Me.MultiplayerTagCheckBox.UseVisualStyleBackColor = True + + ' + 'ContentTypeCheckBox + ' + Me.ContentTypeCheckBox.Controls.Add(Me.SkinTagCheckBox) + Me.ContentTypeCheckBox.Controls.Add(Me.ScriptTagCheckBox) + Me.ContentTypeCheckBox.Controls.Add(Me.ModelTagCheckBox) + Me.ContentTypeCheckBox.Controls.Add(Me.MapTagCheckBox) + Me.ContentTypeCheckBox.Location = New System.Drawing.Point(3, 70) + Me.ContentTypeCheckBox.Name = "ContentTypeCheckBox" + Me.ContentTypeCheckBox.Size = New System.Drawing.Size(114, 100) + Me.ContentTypeCheckBox.TabIndex = 1 + Me.ContentTypeCheckBox.TabStop = False + Me.ContentTypeCheckBox.Text = "CONTENT TYPE" + + Me.MapTagCheckBox.AutoSize = True + Me.MapTagCheckBox.IsReadOnly = False + Me.MapTagCheckBox.Location = New System.Drawing.Point(6, 20) + Me.MapTagCheckBox.Name = "MapTagCheckBox" + Me.MapTagCheckBox.Size = New System.Drawing.Size(69, 17) + Me.MapTagCheckBox.TabIndex = 0 + Me.MapTagCheckBox.Tag = "Map" + Me.MapTagCheckBox.Text = "Map" + Me.MapTagCheckBox.UseVisualStyleBackColor = True + + Me.ModelTagCheckBox.AutoSize = True + Me.ModelTagCheckBox.IsReadOnly = False + Me.ModelTagCheckBox.Location = New System.Drawing.Point(6, 40) + Me.ModelTagCheckBox.Name = "ModelTagCheckBox" + Me.ModelTagCheckBox.Size = New System.Drawing.Size(69, 17) + Me.ModelTagCheckBox.TabIndex = 0 + Me.ModelTagCheckBox.Tag = "Model" + Me.ModelTagCheckBox.Text = "Model" + Me.ModelTagCheckBox.UseVisualStyleBackColor = True + + ' + 'SkinTagCheckBox + ' + Me.SkinTagCheckBox.AutoSize = True + Me.SkinTagCheckBox.IsReadOnly = False + Me.SkinTagCheckBox.Location = New System.Drawing.Point(6, 60) + Me.SkinTagCheckBox.Name = "SkinTagCheckBox" + Me.SkinTagCheckBox.Size = New System.Drawing.Size(66, 17) + Me.SkinTagCheckBox.TabIndex = 3 + Me.SkinTagCheckBox.Tag = "Skin" + Me.SkinTagCheckBox.Text = "Skin" + Me.SkinTagCheckBox.UseVisualStyleBackColor = True + ' + 'ScriptTagCheckBox + ' + Me.ScriptTagCheckBox.AutoSize = True + Me.ScriptTagCheckBox.IsReadOnly = False + Me.ScriptTagCheckBox.Location = New System.Drawing.Point(6, 80) + Me.ScriptTagCheckBox.Name = "ScriptTagCheckBox" + Me.ScriptTagCheckBox.Size = New System.Drawing.Size(46, 17) + Me.ScriptTagCheckBox.TabIndex = 2 + Me.ScriptTagCheckBox.Tag = "Script" + Me.ScriptTagCheckBox.Text = "Script" + Me.ScriptTagCheckBox.UseVisualStyleBackColor = True + + ' + 'BlackMesaTagsUserControl + ' + Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) + Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.Controls.Add(Me.ContentTypeCheckBox) + Me.Controls.Add(Me.GameTypeGroupBox) + Me.Name = "JBmodTagsUserControl" + Me.Size = New System.Drawing.Size(318, 215) + Me.GameTypeGroupBox.ResumeLayout(False) + Me.GameTypeGroupBox.PerformLayout() + Me.ContentTypeCheckBox.ResumeLayout(False) + Me.ContentTypeCheckBox.PerformLayout() + Me.ResumeLayout(False) + + End Sub + + Friend WithEvents GameTypeGroupBox As GroupBox + Friend WithEvents MultiplayerTagCheckBox As CheckBoxEx + Friend WithEvents SingleplayerTagCheckBox As CheckBoxEx + Friend WithEvents ContentTypeCheckBox As GroupBox + Friend WithEvents SkinTagCheckBox As CheckBoxEx + Friend WithEvents ScriptTagCheckBox As CheckBoxEx + Friend WithEvents ModelTagCheckBox As CheckBoxEx + Friend WithEvents MapTagCheckBox As CheckBoxEx + +End Class diff --git a/Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.resx b/Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.resx new file mode 100644 index 00000000..1af7de15 --- /dev/null +++ b/Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.vb b/Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.vb new file mode 100644 index 00000000..16bac78b --- /dev/null +++ b/Crowbar/Widgets/Publish SteamApp Tags/JBModTagsUserControl.vb @@ -0,0 +1,3 @@ +Public Class JBmodTagsUserControl + +End Class