From a0da4df4e3f99db7acd350e29d572c3500f824aa Mon Sep 17 00:00:00 2001 From: CreepyCrafter24 <33260128+CreepyCrafter24@users.noreply.github.com> Date: Wed, 9 Oct 2019 18:59:31 +0200 Subject: [PATCH] Minimal change: quality feature implemented in tick function --- LaptopSimulator2015/FakeDesktop.Designer.cs | 2 +- LaptopSimulator2015/FakeDesktop.cs | 2 +- README.md | 4 +++- ToDo.txt | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/LaptopSimulator2015/FakeDesktop.Designer.cs b/LaptopSimulator2015/FakeDesktop.Designer.cs index 1ea1c04..72aa2c5 100644 --- a/LaptopSimulator2015/FakeDesktop.Designer.cs +++ b/LaptopSimulator2015/FakeDesktop.Designer.cs @@ -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(); diff --git a/LaptopSimulator2015/FakeDesktop.cs b/LaptopSimulator2015/FakeDesktop.cs index d3e37ec..107b538 100644 --- a/LaptopSimulator2015/FakeDesktop.cs +++ b/LaptopSimulator2015/FakeDesktop.cs @@ -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); diff --git a/README.md b/README.md index 910167e..5e84cdb 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +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. \ No newline at end of file diff --git a/ToDo.txt b/ToDo.txt index faf1730..30858c0 100644 --- a/ToDo.txt +++ b/ToDo.txt @@ -1,3 +1,5 @@ +Maybe Linux builds? (P/Invoke would need to be interchangable, needs to be researched) + Ideas for content: - Goals: - MS Word = Sentenz