diff options
| author | lempamo <[email protected]> | 2017-06-10 15:23:05 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-06-10 15:23:05 -0400 |
| commit | 46cca8051d340398bcab1f18d76d1650a746a5b3 (patch) | |
| tree | 34f2ef3902964b428a9ed9a1ee61f5f1d8b4b4b0 /TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs | |
| parent | 0344f0f2ba9cc1dea9644c97b69f689e2e516c90 (diff) | |
| parent | f7a0abb9c8a8fb4235b185d8bf4ea725d53270fe (diff) | |
| download | histacom2-46cca8051d340398bcab1f18d76d1650a746a5b3.tar.gz histacom2-46cca8051d340398bcab1f18d76d1650a746a5b3.tar.bz2 histacom2-46cca8051d340398bcab1f18d76d1650a746a5b3.zip | |
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs new file mode 100644 index 0000000..1822c43 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Media; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using TimeHACK.Engine; + +namespace TimeHACK.OS.Win95.Win95Apps.Story +{ + class Hack1 + { + WinClassicTerminal term = new WinClassicTerminal(); + WindowManager wm = new WindowManager(); + private SoundPlayer startsound; + + // This is the very first story script! + public void startObjective() + { + + wm.startWin95(term, "MS-DOS Prompt", null, true, true); + term.WriteLine("192.168.0.1 Connecting..."); + + // Play Dial-up Sound + Stream audio = Properties.Resources.modem_dial; + startsound = new SoundPlayer(audio); + startsound.PlaySync(); + term.WriteLine("192.168.0.1 Connected."); + } + } +} |
