From e75e11bcc81e61ccdef78279aa8d39d91c860f8c Mon Sep 17 00:00:00 2001 From: JayXKanz666 Date: Wed, 12 Jul 2017 23:01:19 +0200 Subject: Added some stuff -Added another story-script (Hack2.cs) -Fixed an issue where the MS-DOS prompt would freeze when displaying text -Added Action Delegate (method/function) as an argument for Time Distorter (optional) --- TimeHACK.Main/OS/Win95/Win95.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'TimeHACK.Main/OS/Win95/Win95.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 7efe5e9..6cae472 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -383,7 +383,7 @@ namespace TimeHACK.OS.Win95 private void storyTest1ToolStripMenuItem_Click(object sender, EventArgs e) { - Hack1.startObjective(); + Hack1.StartObjective(); } private void temp_for_std(object sender, EventArgs e) @@ -429,8 +429,7 @@ namespace TimeHACK.OS.Win95 private void TimeDistorterToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassic app = wm.StartWin95(new WinClassicTimeDistorter("2017", "20XX", 10), "Time Distorter", null, false, true); - + WinClassic app = wm.StartWin95(new WinClassicTimeDistorter("1998", "1999", 160, Hack2.StartObjective), "Time Distorter", null, false, true); AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null); app.BringToFront(); startmenu.Hide(); -- cgit v1.2.3