Minimal change: quality feature implemented in tick function
This commit is contained in:
parent
2c949a745c
commit
a0da4df4e3
|
@ -51,7 +51,7 @@ namespace LaptopSimulator2015
|
|||
this.options_2 = new System.Windows.Forms.Panel();
|
||||
this.levelWindow = new System.Windows.Forms.Panel();
|
||||
this.levelWindowC1 = new System.Windows.Forms.Button();
|
||||
this.levelWindowContents = new LaptopSimulator2015.WizardTab();
|
||||
this.levelWindowContents = new WizardTab();
|
||||
this.levelWindow1 = new System.Windows.Forms.TabPage();
|
||||
this.levelWindowText1 = new System.Windows.Forms.Label();
|
||||
this.levelWindow2 = new System.Windows.Forms.TabPage();
|
||||
|
|
|
@ -485,7 +485,7 @@ namespace LaptopSimulator2015
|
|||
uint minigamePrevTime = 0;
|
||||
private void InvadersPanel_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
using (GraphicsWrapper w = new GraphicsWrapper(e.Graphics, levels[levelInd].backColor, new Rectangle(Point.Empty, minigamePanel.Size), levels[levelInd].isLowQuality))
|
||||
using (GraphicsWrapper w = new GraphicsWrapper(e.Graphics, levels[levelInd].backColor, new Rectangle(Point.Empty, minigamePanel.Size), Settings.quality == 1 ? levels[levelInd].isLowQuality : Settings.quality == 0))
|
||||
{
|
||||
w.Clear();
|
||||
levels[levelInd].draw(w, minigamePanel, minigameClockT, minigameTime);
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# LaptopSimulator2015
|
||||
If you don't have LaptopSimulator2015/Resources/fans.wav , you can replace it with any sound that reminds you of old PCs fans.
|
||||
If you don't have `LaptopSimulator2015/Resources/fans.wav` , you can replace it with any sound that reminds you of old PCs fans.
|
||||
# Building
|
||||
Either run `make full` or build the solution in Visual Studio. You will not be able to use the Designer until the project is built at least once.
|
Reference in New Issue