From 858d1e7062331c33ed8fe613574aa021351428c7 Mon Sep 17 00:00:00 2001 From: AShifter Date: Mon, 19 Jun 2017 00:14:34 -0700 Subject: Start BIOS aww yeah baby --- TimeHACK.Main/OS/BIOS/BIOS.Designer.cs | 61 +++++++++++++++++ TimeHACK.Main/OS/BIOS/BIOS.cs | 38 +++++++++++ TimeHACK.Main/OS/BIOS/BIOS.resx | 120 +++++++++++++++++++++++++++++++++ TimeHACK.Main/TimeHACK.Main.csproj | 9 +++ 4 files changed, 228 insertions(+) create mode 100644 TimeHACK.Main/OS/BIOS/BIOS.Designer.cs create mode 100644 TimeHACK.Main/OS/BIOS/BIOS.cs create mode 100644 TimeHACK.Main/OS/BIOS/BIOS.resx (limited to 'TimeHACK.Main') diff --git a/TimeHACK.Main/OS/BIOS/BIOS.Designer.cs b/TimeHACK.Main/OS/BIOS/BIOS.Designer.cs new file mode 100644 index 0000000..ec89495 --- /dev/null +++ b/TimeHACK.Main/OS/BIOS/BIOS.Designer.cs @@ -0,0 +1,61 @@ +namespace TimeHACK.OS.BIOS +{ + partial class BIOS + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.BIOSConsole = new TimeHACK.OS.Win95.Win95Apps.WinClassicTerminal(); + this.SuspendLayout(); + // + // BIOSConsole + // + this.BIOSConsole.Dock = System.Windows.Forms.DockStyle.Fill; + this.BIOSConsole.Location = new System.Drawing.Point(0, 0); + this.BIOSConsole.Name = "BIOSConsole"; + this.BIOSConsole.Size = new System.Drawing.Size(528, 305); + this.BIOSConsole.TabIndex = 0; + this.BIOSConsole.Load += new System.EventHandler(this.BIOSConsole_Load); + // + // BIOS + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(528, 305); + this.Controls.Add(this.BIOSConsole); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "BIOS"; + this.Text = "BIOS"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.ResumeLayout(false); + + } + + #endregion + + public Win95.Win95Apps.WinClassicTerminal BIOSConsole; + } +} \ No newline at end of file diff --git a/TimeHACK.Main/OS/BIOS/BIOS.cs b/TimeHACK.Main/OS/BIOS/BIOS.cs new file mode 100644 index 0000000..5c607e1 --- /dev/null +++ b/TimeHACK.Main/OS/BIOS/BIOS.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using TimeHACK.Engine; +using TimeHACK.OS.Win95.Win95Apps; +using TimeHACK.Engine.Template; +using System.Threading; + +namespace TimeHACK.OS.BIOS +{ + public partial class BIOS : Form + { + public BIOS() + { + InitializeComponent(); + } + + private void BIOSConsole_Load(object sender, EventArgs e) + { + BIOSConsole.WriteLine("TiemHARK BIOS v.1.337, An Shift Soft Ally."); + Console.Beep(575, 100); + Thread.Sleep(1000); + BIOSConsole.WriteLine("Copyright (C) 1984-1998, AShift Software, Inc."); + Console.Beep(575, 100); + Thread.Sleep(1500); + BIOSConsole.WriteLine("\nAntel More a8-1700x at 1.337 ghz"); + Console.Beep(575, 100); + Thread.Sleep(500); + + } + } +} diff --git a/TimeHACK.Main/OS/BIOS/BIOS.resx b/TimeHACK.Main/OS/BIOS/BIOS.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/BIOS/BIOS.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index fe54247..f17eb29 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -121,6 +121,12 @@ + + Form + + + BIOS.cs + UserControl @@ -267,6 +273,9 @@ TitleScreen.cs + + BIOS.cs + SurviveTheDay.cs -- cgit v1.2.3