mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-23 02:12:14 +00:00
Merge pull request #77 from craftxbox/patch-1
Pong paddle size upgrade now actually does something
This commit is contained in:
commit
867a95493a
1 changed files with 19 additions and 4 deletions
23
ShiftOS.WinForms/Applications/Pong.Designer.cs
generated
23
ShiftOS.WinForms/Applications/Pong.Designer.cs
generated
|
@ -1,3 +1,4 @@
|
|||
|
||||
/*
|
||||
* MIT License
|
||||
*
|
||||
|
@ -553,7 +554,14 @@ namespace ShiftOS.WinForms.Applications
|
|||
this.paddleHuman.BackColor = System.Drawing.Color.Black;
|
||||
this.paddleHuman.Location = new System.Drawing.Point(10, 134);
|
||||
this.paddleHuman.Name = "paddleHuman";
|
||||
this.paddleHuman.Size = new System.Drawing.Size(20, 100);
|
||||
if (ShiftoriumFrontend.UpgradeInstalled("pong_increased_paddle_size"))
|
||||
{
|
||||
this.paddleHuman.Size = new System.Drawing.Size(20, 150);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.paddleHuman.Size = new System.Drawing.Size(20, 100);
|
||||
}
|
||||
this.paddleHuman.TabIndex = 3;
|
||||
this.paddleHuman.TabStop = false;
|
||||
//
|
||||
|
@ -564,7 +572,14 @@ namespace ShiftOS.WinForms.Applications
|
|||
this.paddleComputer.Location = new System.Drawing.Point(666, 134);
|
||||
this.paddleComputer.MaximumSize = new System.Drawing.Size(20, 100);
|
||||
this.paddleComputer.Name = "paddleComputer";
|
||||
this.paddleComputer.Size = new System.Drawing.Size(20, 100);
|
||||
if (ShiftoriumFrontend.UpgradeInstalled("pong_increased_paddle_size"))
|
||||
{
|
||||
this.paddleComputer.Size = new System.Drawing.Size(20, 150);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.paddleComputer.Size = new System.Drawing.Size(20, 100);
|
||||
}
|
||||
this.paddleComputer.TabIndex = 1;
|
||||
//
|
||||
// lbllevelandtime
|
||||
|
@ -580,7 +595,7 @@ namespace ShiftOS.WinForms.Applications
|
|||
//
|
||||
// lblstatscodepoints
|
||||
//
|
||||
this.lblstatscodepoints.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
this.lblstatscodepoints.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblstatscodepoints.Font = new System.Drawing.Font("Georgia", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblstatscodepoints.Location = new System.Drawing.Point(239, 356);
|
||||
|
@ -715,4 +730,4 @@ namespace ShiftOS.WinForms.Applications
|
|||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue