aboutsummaryrefslogtreecommitdiff
path: root/Histacom2
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-09-13 11:13:30 -0400
committerlempamo <[email protected]>2017-09-13 11:13:30 -0400
commit74722bac5a707c206c3756ffdc156630af730fca (patch)
tree13514cacf3e882b40121bef030eb640648a0dc61 /Histacom2
parente4bb33426e4e1a3b5c5ef36866ef2947a7d4356d (diff)
parent364507865396c68c2ea52bf9ad1405d68b697d10 (diff)
downloadhistacom2-74722bac5a707c206c3756ffdc156630af730fca.tar.gz
histacom2-74722bac5a707c206c3756ffdc156630af730fca.tar.bz2
histacom2-74722bac5a707c206c3756ffdc156630af730fca.zip
Merge branch 'master' of https://github.com/Histacom2-Devs/Histacom2.git
Diffstat (limited to 'Histacom2')
-rw-r--r--Histacom2/GlobalPrograms/WinClassicDownloader.Designer.cs20
-rw-r--r--Histacom2/GlobalPrograms/WinClassicDownloader.cs6
-rw-r--r--Histacom2/OS/Win95/Win95.cs4
-rw-r--r--Histacom2/SaveDialogs/NewGameDialog.cs4
4 files changed, 29 insertions, 5 deletions
diff --git a/Histacom2/GlobalPrograms/WinClassicDownloader.Designer.cs b/Histacom2/GlobalPrograms/WinClassicDownloader.Designer.cs
index a3ae890..d62f676 100644
--- a/Histacom2/GlobalPrograms/WinClassicDownloader.Designer.cs
+++ b/Histacom2/GlobalPrograms/WinClassicDownloader.Designer.cs
@@ -36,6 +36,7 @@
this.dlTimer = new System.Windows.Forms.Timer(this.components);
this.dlSpeed = new System.Windows.Forms.Timer(this.components);
this.progBar = new System.Windows.Forms.ProgressBar();
+ this.progressBar1 = new Histacom2.UI.ProgressBar();
this.SuspendLayout();
//
// amountLbl
@@ -94,11 +95,29 @@
this.progBar.Size = new System.Drawing.Size(399, 23);
this.progBar.TabIndex = 15;
//
+ // progressBar1
+ //
+ this.progressBar1.BlockSpacing = 5;
+ this.progressBar1.BlockWidth = 20;
+ this.progressBar1.Location = new System.Drawing.Point(6, 32);
+ this.progressBar1.MarqueeWidth = 125;
+ this.progressBar1.Maximum = 100D;
+ this.progressBar1.Minimum = 0D;
+ this.progressBar1.Name = "progressBar1";
+ this.progressBar1.ProgressColor = System.Drawing.Color.DarkBlue;
+ this.progressBar1.ShowText = false;
+ this.progressBar1.Size = new System.Drawing.Size(399, 23);
+ this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
+ this.progressBar1.TabIndex = 16;
+ this.progressBar1.Text = "progressBar1";
+ this.progressBar1.Value = 0D;
+ //
// WinClassicDownloader
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Silver;
+ this.Controls.Add(this.progressBar1);
this.Controls.Add(this.progBar);
this.Controls.Add(this.amountLbl);
this.Controls.Add(this.appName);
@@ -120,5 +139,6 @@
private System.Windows.Forms.Timer dlTimer;
private System.Windows.Forms.Timer dlSpeed;
private System.Windows.Forms.ProgressBar progBar;
+ private UI.ProgressBar progressBar1;
}
}
diff --git a/Histacom2/GlobalPrograms/WinClassicDownloader.cs b/Histacom2/GlobalPrograms/WinClassicDownloader.cs
index ba432d8..b809760 100644
--- a/Histacom2/GlobalPrograms/WinClassicDownloader.cs
+++ b/Histacom2/GlobalPrograms/WinClassicDownloader.cs
@@ -32,7 +32,7 @@ namespace Histacom2.OS.Win95.Win95Apps
amountDLed = amountDLed + 8;
if (8 > amountToDL - amountDLed)
{
- progBar.Value = amountToDL;
+ progressBar1.Value = amountToDL;
amountLbl.Text = $"Downloaded {amountDLed} KB out of {amountToDL}";
switch (appName.Text)
@@ -67,8 +67,8 @@ namespace Histacom2.OS.Win95.Win95Apps
}
else
{
- progBar.Maximum = amountToDL;
- progBar.Value = amountDLed;
+ progressBar1.Maximum = amountToDL;
+ progressBar1.Value = amountDLed;
}
amountLbl.Text = $"Downloaded {amountDLed} KB out of {amountToDL}";
}
diff --git a/Histacom2/OS/Win95/Win95.cs b/Histacom2/OS/Win95/Win95.cs
index b4fcbd9..27c8915 100644
--- a/Histacom2/OS/Win95/Win95.cs
+++ b/Histacom2/OS/Win95/Win95.cs
@@ -312,6 +312,10 @@ namespace Histacom2.OS.Win95
{
//wm.StartInfobox95("Win32 Application", "That is not a valid Win32 Application.", Properties.Resources.Win95Error);
}
+ else if (objListViewItem.Text == "Online Services")
+ {
+ wm.StartInfobox95("Caught it!", "If you were to run this, the game would crash!\nLuckily, it won't crash this time!", InfoboxType.Error, InfoboxButtons.OK);
+ }
else
{
// It is an actual file on the disk
diff --git a/Histacom2/SaveDialogs/NewGameDialog.cs b/Histacom2/SaveDialogs/NewGameDialog.cs
index 7609d5d..eb8d44f 100644
--- a/Histacom2/SaveDialogs/NewGameDialog.cs
+++ b/Histacom2/SaveDialogs/NewGameDialog.cs
@@ -92,8 +92,8 @@ namespace Histacom2
private void btnDevMode_Click(object sender, EventArgs e)
{
- MessageBox.Show("DevMode is a mode Designed for Development of the game, if you are seeing this that means it is activated! All DevMode does is if a Profile already exists then rather than asking you to choose a different name it just " +
- "deletes the old one! This means that you won't have 1 million profiles everytime you want to test something in the game!");
+ MessageBox.Show("DevMode (Development Mode) is a special mode that lets you test features without having a large amount of accounts just to test a new feature. How it works is simple:" +
+ "\n1. It checks for a profile of the same name.\n2. If so, it deletes the profile and starts a new game.\n3. If not, then it starts a new game.");
}
}
}