Minimal change: quality feature implemented in tick function

This commit is contained in:
CreepyCrafter24 2019-10-09 18:59:31 +02:00
parent 2c949a745c
commit a0da4df4e3
4 changed files with 7 additions and 3 deletions

View File

@ -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();

View File

@ -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);

View File

@ -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.

View File

@ -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