diff options
| author | FloppyDiskDrive <[email protected]> | 2017-09-17 21:24:14 -0500 |
|---|---|---|
| committer | FloppyDiskDrive <[email protected]> | 2017-09-17 21:24:14 -0500 |
| commit | 7f5d0c3915d178e4d412a0b1a9b48baf058b2afc (patch) | |
| tree | 6761bc6acfa1a11b2876cc0558cc7220151702da /Histacom2.Engine | |
| parent | 8a6bebdad321a0f357f5c6cad621b8313b19da03 (diff) | |
| download | histacom2-7f5d0c3915d178e4d412a0b1a9b48baf058b2afc.tar.gz histacom2-7f5d0c3915d178e4d412a0b1a9b48baf058b2afc.tar.bz2 histacom2-7f5d0c3915d178e4d412a0b1a9b48baf058b2afc.zip | |
Added Error Blaster 95, see Description for details
Error Blaster is updated with a new type: "Memory Leak." After the
messageGen timer interval hits 300, the PC BSODs.
Start Runner is also in there, however it is not functional due to
unknown reasons.
Diffstat (limited to 'Histacom2.Engine')
| -rw-r--r-- | Histacom2.Engine/BSODCreator.cs | 4 | ||||
| -rw-r--r-- | Histacom2.Engine/Template/Infobox95.cs | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Histacom2.Engine/BSODCreator.cs b/Histacom2.Engine/BSODCreator.cs index fb693a9..0e1ebf1 100644 --- a/Histacom2.Engine/BSODCreator.cs +++ b/Histacom2.Engine/BSODCreator.cs @@ -17,6 +17,7 @@ namespace Histacom2.Engine Testing, WimpEnding, PiracyEnding, + Generic } public Win9XBSOD throw9XBSOD(bool except, BSODCauses type) @@ -44,6 +45,9 @@ namespace Histacom2.Engine bsod.label1.BackColor = System.Drawing.Color.Silver; bsod.label1.ForeColor = System.Drawing.Color.Black; break; + case BSODCauses.Generic: + + break; default: break; } diff --git a/Histacom2.Engine/Template/Infobox95.cs b/Histacom2.Engine/Template/Infobox95.cs index 9214461..6408177 100644 --- a/Histacom2.Engine/Template/Infobox95.cs +++ b/Histacom2.Engine/Template/Infobox95.cs @@ -22,21 +22,26 @@ namespace Histacom2.Engine.Template pictureBox1.Image = Properties.Resources.Win95Info; SoundPlayer spa = new SoundPlayer(SaveSystem.currentTheme.asteriskSound); spa.Play(); + spa.Stream.Position = 0; + break; case InfoboxType.Question: pictureBox1.Image = Properties.Resources.Win95Question; SoundPlayer spq = new SoundPlayer(SaveSystem.currentTheme.questionSound); spq.Play(); + spq.Stream.Position = 0; break; case InfoboxType.Warning: pictureBox1.Image = Properties.Resources.Win95Warning; SoundPlayer spw = new SoundPlayer(SaveSystem.currentTheme.exclamationSound); spw.Play(); + spw.Stream.Position = 0; break; case InfoboxType.Error: pictureBox1.Image = Properties.Resources.Win95Error; SoundPlayer spe = new SoundPlayer(SaveSystem.currentTheme.critStopSound); spe.Play(); + spe.Stream.Position = 0; break; } |
