From bbe37edb68f9e7535216bff80ba3e6b16cbca398 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 2 Feb 2017 09:47:23 -0500 Subject: Shiftnet, and audio fixes --- ShiftOS.Modding.VirtualMachine/App.config | 14 ++ ShiftOS.Modding.VirtualMachine/Form1.Designer.cs | 143 +++++++++++ ShiftOS.Modding.VirtualMachine/Form1.cs | 265 +++++++++++++++++++++ ShiftOS.Modding.VirtualMachine/Form1.resx | 123 ++++++++++ ShiftOS.Modding.VirtualMachine/Program.cs | 20 ++ .../Properties/AssemblyInfo.cs | 36 +++ .../Properties/Resources.Designer.cs | 71 ++++++ .../Properties/Resources.resx | 117 +++++++++ .../Properties/Settings.Designer.cs | 30 +++ .../Properties/Settings.settings | 7 + .../ShiftOS.Modding.VirtualMachine.csproj | 104 ++++++++ 11 files changed, 930 insertions(+) create mode 100644 ShiftOS.Modding.VirtualMachine/App.config create mode 100644 ShiftOS.Modding.VirtualMachine/Form1.Designer.cs create mode 100644 ShiftOS.Modding.VirtualMachine/Form1.cs create mode 100644 ShiftOS.Modding.VirtualMachine/Form1.resx create mode 100644 ShiftOS.Modding.VirtualMachine/Program.cs create mode 100644 ShiftOS.Modding.VirtualMachine/Properties/AssemblyInfo.cs create mode 100644 ShiftOS.Modding.VirtualMachine/Properties/Resources.Designer.cs create mode 100644 ShiftOS.Modding.VirtualMachine/Properties/Resources.resx create mode 100644 ShiftOS.Modding.VirtualMachine/Properties/Settings.Designer.cs create mode 100644 ShiftOS.Modding.VirtualMachine/Properties/Settings.settings create mode 100644 ShiftOS.Modding.VirtualMachine/ShiftOS.Modding.VirtualMachine.csproj (limited to 'ShiftOS.Modding.VirtualMachine') diff --git a/ShiftOS.Modding.VirtualMachine/App.config b/ShiftOS.Modding.VirtualMachine/App.config new file mode 100644 index 0000000..71a06ba --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/App.config @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ShiftOS.Modding.VirtualMachine/Form1.Designer.cs b/ShiftOS.Modding.VirtualMachine/Form1.Designer.cs new file mode 100644 index 0000000..0fdd122 --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/Form1.Designer.cs @@ -0,0 +1,143 @@ +namespace ShiftOS.Modding.VirtualMachine +{ + partial class Form1 + { + /// + /// 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.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.vMToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.openBinaryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.debugToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.viewStackToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.viewRegistersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.viewMemoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.screen = new System.Windows.Forms.Panel(); + this.menuStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // menuStrip1 + // + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.vMToolStripMenuItem, + this.debugToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(448, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // vMToolStripMenuItem + // + this.vMToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.openBinaryToolStripMenuItem, + this.exitToolStripMenuItem}); + this.vMToolStripMenuItem.Name = "vMToolStripMenuItem"; + this.vMToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.vMToolStripMenuItem.Text = "VM"; + // + // openBinaryToolStripMenuItem + // + this.openBinaryToolStripMenuItem.Name = "openBinaryToolStripMenuItem"; + this.openBinaryToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.openBinaryToolStripMenuItem.Text = "Open binary"; + this.openBinaryToolStripMenuItem.Click += new System.EventHandler(this.openBinaryToolStripMenuItem_Click); + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.exitToolStripMenuItem.Text = "Exit"; + this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + // + // debugToolStripMenuItem + // + this.debugToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.viewStackToolStripMenuItem, + this.viewRegistersToolStripMenuItem, + this.viewMemoryToolStripMenuItem}); + this.debugToolStripMenuItem.Name = "debugToolStripMenuItem"; + this.debugToolStripMenuItem.Size = new System.Drawing.Size(54, 20); + this.debugToolStripMenuItem.Text = "Debug"; + // + // viewStackToolStripMenuItem + // + this.viewStackToolStripMenuItem.Name = "viewStackToolStripMenuItem"; + this.viewStackToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.viewStackToolStripMenuItem.Text = "View stack"; + // + // viewRegistersToolStripMenuItem + // + this.viewRegistersToolStripMenuItem.Name = "viewRegistersToolStripMenuItem"; + this.viewRegistersToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.viewRegistersToolStripMenuItem.Text = "View registers"; + // + // viewMemoryToolStripMenuItem + // + this.viewMemoryToolStripMenuItem.Name = "viewMemoryToolStripMenuItem"; + this.viewMemoryToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.viewMemoryToolStripMenuItem.Text = "View memory"; + // + // screen + // + this.screen.BackColor = System.Drawing.Color.Black; + this.screen.Dock = System.Windows.Forms.DockStyle.Fill; + this.screen.Location = new System.Drawing.Point(0, 24); + this.screen.Name = "screen"; + this.screen.Size = new System.Drawing.Size(448, 267); + this.screen.TabIndex = 1; + this.screen.Tag = "keepbg"; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.screen); + this.Controls.Add(this.menuStrip1); + this.Name = "Form1"; + this.Size = new System.Drawing.Size(448, 291); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.Panel screen; + private System.Windows.Forms.ToolStripMenuItem vMToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem openBinaryToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem debugToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem viewStackToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem viewRegistersToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem viewMemoryToolStripMenuItem; + } +} + diff --git a/ShiftOS.Modding.VirtualMachine/Form1.cs b/ShiftOS.Modding.VirtualMachine/Form1.cs new file mode 100644 index 0000000..78722a9 --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/Form1.cs @@ -0,0 +1,265 @@ +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 ShiftOS.Engine; +using ShiftOS.Objects.ShiftFS; + +namespace ShiftOS.Modding.VirtualMachine +{ + [Launcher("ShiftOS Virtual Machine", false)] + public partial class Form1 : UserControl, IShiftOSWindow + { + private byte[] memory = null; //program binary + private int programCounter = 0; //current byte + private Stack stack = null; //stack + private int[] registers = null; //registers + private int currentRegister = 0; + + + public Form1() + { + InitializeComponent(); + } + + public void OnLoad() + { + } + + public void Execute() + { + switch ((OpCodes)memory[programCounter]) + { + case OpCodes.DoNothing: + + break; + case OpCodes.Add: + registers[currentRegister] = registers[currentRegister] + registers[currentRegister + 1]; + break; + case OpCodes.Subtract: + registers[currentRegister] = registers[currentRegister] - registers[currentRegister + 1]; + break; + case OpCodes.Multiply: + registers[currentRegister] = registers[currentRegister] * registers[currentRegister + 1]; + break; + case OpCodes.Divide: + registers[currentRegister] = registers[currentRegister] / registers[currentRegister + 1]; + break; + case OpCodes.Increment: + registers[currentRegister]++; + break; + case OpCodes.Decrement: + registers[currentRegister]--; + break; + case OpCodes.MoveUp: + currentRegister++; + break; + case OpCodes.MoveDown: + currentRegister--; + break; + case OpCodes.Error: + Infobox.Show("Error", "An error has occurred inside the VM, we will now halt it."); + break; + case OpCodes.Jump: + stack.Push(programCounter); + programCounter = registers[currentRegister]; + break; + case OpCodes.Zero: + registers[currentRegister] = 0; + break; + case OpCodes.Return: + programCounter = memory.Length; + break; + case OpCodes.JumpBack: + programCounter = stack.Pop(); + break; + case OpCodes.Out: + Console.Write(registers[currentRegister]); + break; + } + } + + public void OnSkinLoad() + { + } + + public bool OnUnload() + { + return true; + } + + public void OnUpgrade() + { + } + + private void exitToolStripMenuItem_Click(object sender, EventArgs e) + { + AppearanceManager.Close(this); + } + + public void Start() + { + var th = new System.Threading.Thread(() => + { + while(programCounter < memory.Length) + { + Execute(); + programCounter++; + } + }); + th.IsBackground = true; + th.Start(); + } + + private void openBinaryToolStripMenuItem_Click(object sender, EventArgs e) + { + FileSkimmerBackend.GetFile(new[] { ".svm" }, FileOpenerStyle.Open, new Action((program) => + { + memory = Utils.ReadAllBytes(program); + programCounter = 0; + stack = new Stack(); + registers = new int[64000]; + currentRegister = 0; + Start(); + })); + } + } + + [Namespace("svm")] + public static class Compiler + { + public static byte[] Compile(string prg) + { + List program = new List(); + foreach(var statement in prg.Split(new[] { ";" }, StringSplitOptions.RemoveEmptyEntries)) + { + if (!string.IsNullOrEmpty(statement)) + { + string[] statements = statement.Split(' '); + switch (statements[0]) + { + case "increment": + program.Add(OpCodes.Increment); + break; + case "decrement": + program.Add(OpCodes.Decrement); + break; + case "mvup": + program.Add(OpCodes.MoveUp); + break; + case "mvdn": + program.Add(OpCodes.MoveDown); + break; + case "set": + program.Add(OpCodes.Zero); + for(int i = 0; i <= Convert.ToInt32(statements[1]); i++) + { + program.Add(OpCodes.Increment); + } + break; + case "+": + program.Add(OpCodes.Add); + break; + case "-": + program.Add(OpCodes.Subtract); + break; + case "*": + program.Add(OpCodes.Multiply); + break; + case "/": + program.Add(OpCodes.Divide); + break; + case "out": + program.Add(OpCodes.Out); + break; + case "return": + program.Add(OpCodes.Return); + break; + case "jump": + program.Add(OpCodes.Jump); + break; + case "back": + program.Add(OpCodes.JumpBack); + break; + } + } + } + + byte[] newPrg = new byte[program.Count]; + foreach(var oc in program) + { + newPrg[program.IndexOf(oc)] = (byte)oc; + } + return newPrg; + + } + + [Command("compile")] + [RequiresArgument("input")] + [RequiresArgument("output")] + public static bool CompileCommand(Dictionary args) + { + string input = args["input"] as string; + string output = args["output"] as string; + if (!Utils.FileExists(input)) + { + Console.WriteLine("The file you requested does not exist."); + return true; + } + + if (!output.EndsWith(".svm")) + output += ".svm"; + + byte[] program = Compile(Utils.ReadAllText(input)); + Utils.WriteAllBytes(output, program); + return true; + } + + [Command("read")] + [RequiresArgument("input")] + public static bool ReadFile(Dictionary args) + { + string input = args["input"] as string; + if (Utils.FileExists(input)) + { + foreach(var b in Utils.ReadAllBytes(input)) + { + Console.WriteLine((OpCodes)b); + } + } + else + { + Console.WriteLine("File doesn't exist."); + } + + return true; + } + } + + + + public enum OpCodes : byte + { + DoNothing = 0x00, + Zero = 0x11, + Add = 0x01, + Subtract = 0x02, + Multiply = 0x03, + Divide = 0x04, + MoveUp = 0x05, + MoveDown = 0x051, + Increment = 0x06, + Decrement = 0x061, + Out = 0x07, + Jump = 0x08, + Return = 0x081, + JumpBack = 0x082, + Error = 0x9, + + } +} diff --git a/ShiftOS.Modding.VirtualMachine/Form1.resx b/ShiftOS.Modding.VirtualMachine/Form1.resx new file mode 100644 index 0000000..d5494e3 --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/Form1.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 17, 17 + + \ No newline at end of file diff --git a/ShiftOS.Modding.VirtualMachine/Program.cs b/ShiftOS.Modding.VirtualMachine/Program.cs new file mode 100644 index 0000000..3d78ad8 --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/Program.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ShiftOS.Modding.VirtualMachine +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + ShiftOS.WinForms.Program.Main(); + } + } +} diff --git a/ShiftOS.Modding.VirtualMachine/Properties/AssemblyInfo.cs b/ShiftOS.Modding.VirtualMachine/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b801b95 --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("ShiftOS.Modding.VirtualMachine")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ShiftOS.Modding.VirtualMachine")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ff0b1831-ac9f-4093-9747-ddae4467516a")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ShiftOS.Modding.VirtualMachine/Properties/Resources.Designer.cs b/ShiftOS.Modding.VirtualMachine/Properties/Resources.Designer.cs new file mode 100644 index 0000000..5806ad1 --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace ShiftOS.Modding.VirtualMachine.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ShiftOS.Modding.VirtualMachine.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/ShiftOS.Modding.VirtualMachine/Properties/Resources.resx b/ShiftOS.Modding.VirtualMachine/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ShiftOS.Modding.VirtualMachine/Properties/Settings.Designer.cs b/ShiftOS.Modding.VirtualMachine/Properties/Settings.Designer.cs new file mode 100644 index 0000000..be5ff59 --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace ShiftOS.Modding.VirtualMachine.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/ShiftOS.Modding.VirtualMachine/Properties/Settings.settings b/ShiftOS.Modding.VirtualMachine/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/ShiftOS.Modding.VirtualMachine/ShiftOS.Modding.VirtualMachine.csproj b/ShiftOS.Modding.VirtualMachine/ShiftOS.Modding.VirtualMachine.csproj new file mode 100644 index 0000000..7759e5e --- /dev/null +++ b/ShiftOS.Modding.VirtualMachine/ShiftOS.Modding.VirtualMachine.csproj @@ -0,0 +1,104 @@ + + + + + Debug + AnyCPU + {FF0B1831-AC9F-4093-9747-DDAE4467516A} + WinExe + Properties + ShiftOS.Modding.VirtualMachine + ShiftOS.Modding.VirtualMachine + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + UserControl + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + {a069089a-8962-4607-b2b2-4cf4a371066e} + ShiftOS.Objects + + + {2295d2e2-3a00-4e02-b66f-b961ac329fe6} + ShiftOS.WinForms + + + {7c979b07-0585-4033-a110-e5555b9d6651} + ShiftOS.Engine + + + + + \ No newline at end of file -- cgit v1.2.3