aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-02-27 12:08:50 -0500
committerlempamo <[email protected]>2017-02-27 12:08:50 -0500
commit43364450a2215a92000d4fa62c11e30bf1a3d295 (patch)
tree85d198ec831a2cc97cbc469622cdadd309cedf60 /ShiftOS.WinForms
parent8ceef636cdaed24cb9a1a8196b6f287397923e83 (diff)
downloadshiftos_thereturn-43364450a2215a92000d4fa62c11e30bf1a3d295.tar.gz
shiftos_thereturn-43364450a2215a92000d4fa62c11e30bf1a3d295.tar.bz2
shiftos_thereturn-43364450a2215a92000d4fa62c11e30bf1a3d295.zip
Snakey basics
Diffstat (limited to 'ShiftOS.WinForms')
-rw-r--r--ShiftOS.WinForms/Applications/Snakey.Designer.cs37
-rw-r--r--ShiftOS.WinForms/Applications/Snakey.cs45
-rw-r--r--ShiftOS.WinForms/Resources/Shiftorium.txt15
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyBG.pngbin0 -> 194 bytes
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyBody.pngbin0 -> 164 bytes
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyHeadD.pngbin0 -> 255 bytes
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyHeadL.pngbin0 -> 270 bytes
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyHeadR.pngbin0 -> 276 bytes
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyHeadU.pngbin0 -> 257 bytes
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyTailD.pngbin0 -> 247 bytes
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyTailL.pngbin0 -> 262 bytes
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyTailR.pngbin0 -> 258 bytes
-rw-r--r--ShiftOS.WinForms/Resources/SnakeyTailU.pngbin0 -> 250 bytes
13 files changed, 97 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Applications/Snakey.Designer.cs b/ShiftOS.WinForms/Applications/Snakey.Designer.cs
new file mode 100644
index 0000000..22780c4
--- /dev/null
+++ b/ShiftOS.WinForms/Applications/Snakey.Designer.cs
@@ -0,0 +1,37 @@
+namespace ShiftOS.WinForms.Applications
+{
+ partial class Snakey
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Component Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ components = new System.ComponentModel.Container();
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ }
+
+ #endregion
+ }
+}
diff --git a/ShiftOS.WinForms/Applications/Snakey.cs b/ShiftOS.WinForms/Applications/Snakey.cs
new file mode 100644
index 0000000..0c704d5
--- /dev/null
+++ b/ShiftOS.WinForms/Applications/Snakey.cs
@@ -0,0 +1,45 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using ShiftOS.Engine;
+
+namespace ShiftOS.WinForms.Applications
+{
+ [Launcher("Snakey", true, "al_snakey", "Games")]
+ [RequiresUpgrade("snakey")]
+ [WinOpen("snakey")]
+ [DefaultIcon("iconSnakey")]
+ public partial class Snakey : UserControl, IShiftOSWindow
+ {
+ public Snakey()
+ {
+ InitializeComponent();
+ }
+
+ public void OnLoad()
+ {
+ throw new NotImplementedException();
+ }
+
+ public void OnSkinLoad()
+ {
+ throw new NotImplementedException();
+ }
+
+ public bool OnUnload()
+ {
+ throw new NotImplementedException();
+ }
+
+ public void OnUpgrade()
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/ShiftOS.WinForms/Resources/Shiftorium.txt b/ShiftOS.WinForms/Resources/Shiftorium.txt
index 5b3ebe2..fde7f36 100644
--- a/ShiftOS.WinForms/Resources/Shiftorium.txt
+++ b/ShiftOS.WinForms/Resources/Shiftorium.txt
@@ -794,4 +794,19 @@
Dependencies: "shiftsweeper_medium",
Description: "Is ShiftSweeper still too easy for you? Buy the Hard difficulty and you can try to find 99 mines! It may be extremely difficult, but the reward is massive!"
},
+
+ // SNAKEY
+
+ {
+ Name: "Snakey",
+ Cost: 1100,
+ Dependencies: "shiftsweeper",
+ Description: "You want more games? Ok then! You can get Snakey, a game that people used to play on 'dumb phones', now coming to your 'smart' ShiftOS system for just 1100 codepoints!"
+ },
+ {
+ Name: "AL Snakey",
+ Cost: 200,
+ Dependencies: "app_launcher;snakey",
+ Description: "Play Snakey quickly with this dandy applauncher!"
+ },
] \ No newline at end of file
diff --git a/ShiftOS.WinForms/Resources/SnakeyBG.png b/ShiftOS.WinForms/Resources/SnakeyBG.png
new file mode 100644
index 0000000..f2188c0
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyBG.png
Binary files differ
diff --git a/ShiftOS.WinForms/Resources/SnakeyBody.png b/ShiftOS.WinForms/Resources/SnakeyBody.png
new file mode 100644
index 0000000..03e30f6
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyBody.png
Binary files differ
diff --git a/ShiftOS.WinForms/Resources/SnakeyHeadD.png b/ShiftOS.WinForms/Resources/SnakeyHeadD.png
new file mode 100644
index 0000000..2adcafe
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyHeadD.png
Binary files differ
diff --git a/ShiftOS.WinForms/Resources/SnakeyHeadL.png b/ShiftOS.WinForms/Resources/SnakeyHeadL.png
new file mode 100644
index 0000000..0934c44
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyHeadL.png
Binary files differ
diff --git a/ShiftOS.WinForms/Resources/SnakeyHeadR.png b/ShiftOS.WinForms/Resources/SnakeyHeadR.png
new file mode 100644
index 0000000..98e0132
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyHeadR.png
Binary files differ
diff --git a/ShiftOS.WinForms/Resources/SnakeyHeadU.png b/ShiftOS.WinForms/Resources/SnakeyHeadU.png
new file mode 100644
index 0000000..84fd676
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyHeadU.png
Binary files differ
diff --git a/ShiftOS.WinForms/Resources/SnakeyTailD.png b/ShiftOS.WinForms/Resources/SnakeyTailD.png
new file mode 100644
index 0000000..a20915d
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyTailD.png
Binary files differ
diff --git a/ShiftOS.WinForms/Resources/SnakeyTailL.png b/ShiftOS.WinForms/Resources/SnakeyTailL.png
new file mode 100644
index 0000000..6a8e386
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyTailL.png
Binary files differ
diff --git a/ShiftOS.WinForms/Resources/SnakeyTailR.png b/ShiftOS.WinForms/Resources/SnakeyTailR.png
new file mode 100644
index 0000000..7394f15
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyTailR.png
Binary files differ
diff --git a/ShiftOS.WinForms/Resources/SnakeyTailU.png b/ShiftOS.WinForms/Resources/SnakeyTailU.png
new file mode 100644
index 0000000..6288a63
--- /dev/null
+++ b/ShiftOS.WinForms/Resources/SnakeyTailU.png
Binary files differ