aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-03 14:04:33 -0400
committerlempamo <[email protected]>2017-08-03 14:04:33 -0400
commitbb7118496a7e10c7aa34a4818a9b27d19bcf053d (patch)
tree8c7ffbf113d0dc00674a858701b749f8e561bd50 /TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
parent75d4f6c762aa5582c6c95518eb226a840559cf74 (diff)
downloadhistacom2-bb7118496a7e10c7aa34a4818a9b27d19bcf053d.tar.gz
histacom2-bb7118496a7e10c7aa34a4818a9b27d19bcf053d.tar.bz2
histacom2-bb7118496a7e10c7aa34a4818a9b27d19bcf053d.zip
minesweeper lcd font
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs20
1 files changed, 16 insertions, 4 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
index 53dd1b2..8714b65 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/WinClassicMinesweeper.cs
@@ -20,6 +20,9 @@ namespace TimeHACK.OS.Win95.Win95Apps
public WinClassicMinesweeper()
{
InitializeComponent();
+ labelBombs.Font = new Font(TitleScreen.pfc.Families[2], 15, GraphicsUnit.Point);
+ labelTime.Font = new Font(TitleScreen.pfc.Families[2], 15, GraphicsUnit.Point);
+ panel1.Paint += (sender, args) => Paintbrush.PaintClassicBordersIndented(sender, args, 3);
}
private void GameTick(object sender, EventArgs e)
{
@@ -94,18 +97,27 @@ namespace TimeHACK.OS.Win95.Win95Apps
private void timer1_Tick(object sender, EventArgs e)
{
- if(_game.win == true)
+ if (_game.win == true)
{
switch (level)
{
case ("easy"):
- SaveSystem.CurrentSave.mineSweepE = _game.Time;
+ if (SaveSystem.CurrentSave.mineSweepE > _game.Time)
+ {
+ SaveSystem.CurrentSave.mineSweepE = _game.Time;
+ }
break;
case ("medium"):
- SaveSystem.CurrentSave.mineSweepI = _game.Time;
+ if (SaveSystem.CurrentSave.mineSweepI > _game.Time)
+ {
+ SaveSystem.CurrentSave.mineSweepI = _game.Time;
+ }
break;
case ("hard"):
- SaveSystem.CurrentSave.mineSweepH = _game.Time;
+ if (SaveSystem.CurrentSave.mineSweepH > _game.Time)
+ {
+ SaveSystem.CurrentSave.mineSweepH = _game.Time;
+ }
break;
}