aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-04-01 16:31:12 -0600
committerGitHub <[email protected]>2017-04-01 16:31:12 -0600
commitf99047081ffb1a0b3eba208155324d0e2f050d4c (patch)
tree60fb77a1bc806854be1ce2020534c067ff49483a /TimeHACK.Main/OS
parentb214553a853988cefe9f519c20127db480830331 (diff)
parentddb713407859352c35fa3a9644aedcafbd8584c4 (diff)
downloadhistacom2-f99047081ffb1a0b3eba208155324d0e2f050d4c.tar.gz
histacom2-f99047081ffb1a0b3eba208155324d0e2f050d4c.tar.bz2
histacom2-f99047081ffb1a0b3eba208155324d0e2f050d4c.zip
Merge pull request #26 from lempamo/master
Master
Diffstat (limited to 'TimeHACK.Main/OS')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.Designer.cs4
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs17
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs5
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx63
4 files changed, 86 insertions, 3 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs
index 7628e46..8221889 100644
--- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs
@@ -229,7 +229,7 @@
this.startmenuitems.Name = "startmenuitems";
this.startmenuitems.Padding = new System.Windows.Forms.Padding(6, 2, 0, 0);
this.startmenuitems.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
- this.startmenuitems.Size = new System.Drawing.Size(141, 292);
+ this.startmenuitems.Size = new System.Drawing.Size(144, 311);
this.startmenuitems.TabIndex = 0;
this.startmenuitems.Text = "StartMenu";
//
@@ -284,7 +284,7 @@
this.AccessoriesToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.AccessoriesToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver;
this.AccessoriesToolStripMenuItem.Name = "AccessoriesToolStripMenuItem";
- this.AccessoriesToolStripMenuItem.Size = new System.Drawing.Size(181, 28);
+ this.AccessoriesToolStripMenuItem.Size = new System.Drawing.Size(184, 26);
this.AccessoriesToolStripMenuItem.Text = "Accessories";
//
// CommunicationsToolStripMenuItem
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index 6ca7f10..8efa6d3 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -26,6 +26,9 @@ namespace TimeHACK.OS.Win95
// When New Game is clicked in TitleScreen.cs
private void Desktop_Load(object sender, EventArgs e)
{
+ // Make Font Mandatory
+ fontLoad();
+
// Play Windows 95 Start Sound
Stream audio = Properties.Resources.Win95Start;
startsound = new SoundPlayer(audio);
@@ -49,6 +52,20 @@ namespace TimeHACK.OS.Win95
this.SendToBack();
}
+ private void fontLoad()
+ {
+ this.taskbartime.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.ProgramsToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.DocumentsToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.SettingsToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.FindToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.HelpToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.RunToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.SuspendToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.ShutdownToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.desktopicons.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ }
+
#region StartMenu
// Paint StartMenu
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
index 79594ed..a259fa5 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
@@ -17,6 +17,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
int chat_index = 0;
WCMessageParser wcmp = new WCMessageParser();
bool correctname = false;
+ bool guessing = false;
public WebChat1998()
{
@@ -53,7 +54,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
private void Chat_Tick(object sender, EventArgs e)
{
- if (chat_index != 6)
+ if (!guessing)
{
history.Text += wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username) + "\n";
switch (wcmp.GetSpecial(resources.GetString("convo"), chat_index))
@@ -67,6 +68,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
button3.Show();
button4.Show();
Chat.Stop();
+ guessing = true;
break;
case "addrain":
listBox1.Items.Add("rain49");
@@ -86,6 +88,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
history.Text += "SkyHigh: sorry, my name is actually bill\n";
}
+ guessing = false;
Chat.Interval = wcmp.GetMessageDelay(resources.GetString("convo"), chat_index);
}
chat_index++;
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx
index 1ea52b5..d20d707 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx
@@ -214,6 +214,69 @@
"message": "anyway... let's get to it",
"special": null,
"userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 5000,
+ "message": "wait, who's this @user guy?",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 3000,
+ "message": "oh, he's someone who just came on. doesnt seem to talk much",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 5000,
+ "message": "ah ok",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 4500,
+ "message": "i would remove him from this chat but i cant",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 3000,
+ "message": "i dont think he should know about, well, ya know..",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 5000,
+ "message": "right, that",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 3500,
+ "message": "since he's here should we just tell him?",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "SkyHigh",
+ "delay": 2500,
+ "message": "well i suppose we have to",
+ "special": null,
+ "userchat": true
+ },
+ {
+ "user": "rain49",
+ "delay": 2500,
+ "message": "ok then",
+ "special": null,
+ "userchat": true
}
]
}</value>