aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-02-28 11:58:24 -0500
committerlempamo <[email protected]>2017-02-28 11:58:24 -0500
commit52b9cd9c8051a8d95587e3ccc3ee3220609bcc56 (patch)
tree6d89a64ef63cd4cda1c0d4571061f5d20c3f6ddf /ShiftOS.WinForms
parent02cafa93b315cdfc6b1e6e0ac7da84057d0387ec (diff)
downloadshiftos_thereturn-52b9cd9c8051a8d95587e3ccc3ee3220609bcc56.tar.gz
shiftos_thereturn-52b9cd9c8051a8d95587e3ccc3ee3220609bcc56.tar.bz2
shiftos_thereturn-52b9cd9c8051a8d95587e3ccc3ee3220609bcc56.zip
more snakey stuff
someone fix the snakey bug plz
Diffstat (limited to 'ShiftOS.WinForms')
-rw-r--r--ShiftOS.WinForms/Applications/ShiftSweeper.cs1
-rw-r--r--ShiftOS.WinForms/Applications/Snakey.cs2
-rw-r--r--ShiftOS.WinForms/ShiftOS.WinForms.csproj19
3 files changed, 20 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Applications/ShiftSweeper.cs b/ShiftOS.WinForms/Applications/ShiftSweeper.cs
index 6c64d30..0b05bdf 100644
--- a/ShiftOS.WinForms/Applications/ShiftSweeper.cs
+++ b/ShiftOS.WinForms/Applications/ShiftSweeper.cs
@@ -41,7 +41,6 @@ namespace ShiftOS.WinForms.Applications
[DefaultIcon("iconShiftSweeper")]
public partial class ShiftSweeper : UserControl, IShiftOSWindow
{
- private bool gameplayed = false;
private bool flagtime = false;
private int mineCount = 0;
private int origminecount;
diff --git a/ShiftOS.WinForms/Applications/Snakey.cs b/ShiftOS.WinForms/Applications/Snakey.cs
index c3bd5cf..c6f61e9 100644
--- a/ShiftOS.WinForms/Applications/Snakey.cs
+++ b/ShiftOS.WinForms/Applications/Snakey.cs
@@ -17,7 +17,7 @@ namespace ShiftOS.WinForms.Applications
[DefaultIcon("iconSnakey")]
public partial class Snakey : UserControl, IShiftOSWindow
{
- private int[,] snakemap; // 0 - Nothing, 1 - Body, 2 - Head, 3 - Tail
+ private int[,] snakemap = null; // 0 - Nothing, 1 - Body, 2 - Head, 3 - Tail
private int snakedirection = 0; // 0 - Left, 1 - Down, 2 - Right, 3 - Up
private Timer snakeupdater = new Timer();
private bool extending = false;
diff --git a/ShiftOS.WinForms/ShiftOS.WinForms.csproj b/ShiftOS.WinForms/ShiftOS.WinForms.csproj
index e061f82..480e11c 100644
--- a/ShiftOS.WinForms/ShiftOS.WinForms.csproj
+++ b/ShiftOS.WinForms/ShiftOS.WinForms.csproj
@@ -196,6 +196,12 @@
<Compile Include="Applications\Skin Loader.Designer.cs">
<DependentUpon>Skin Loader.cs</DependentUpon>
</Compile>
+ <Compile Include="Applications\Snakey.cs">
+ <SubType>UserControl</SubType>
+ </Compile>
+ <Compile Include="Applications\Snakey.Designer.cs">
+ <DependentUpon>Snakey.cs</DependentUpon>
+ </Compile>
<Compile Include="Applications\TextPad.cs">
<SubType>UserControl</SubType>
</Compile>
@@ -342,6 +348,9 @@
<EmbeddedResource Include="Applications\Skin Loader.resx">
<DependentUpon>Skin Loader.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="Applications\Snakey.resx">
+ <DependentUpon>Snakey.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="Applications\TextPad.resx">
<DependentUpon>TextPad.cs</DependentUpon>
</EmbeddedResource>
@@ -553,6 +562,16 @@
<None Include="Resources\SweeperTile3.png" />
<None Include="Resources\SweeperTile4.png" />
<None Include="Resources\SweeperTileBomb.png" />
+ <None Include="Resources\SnakeyHeadU.png" />
+ <None Include="Resources\SnakeyTailD.png" />
+ <None Include="Resources\SnakeyTailL.png" />
+ <None Include="Resources\SnakeyTailR.png" />
+ <None Include="Resources\SnakeyTailU.png" />
+ <None Include="Resources\SnakeyBG.png" />
+ <None Include="Resources\SnakeyBody.png" />
+ <None Include="Resources\SnakeyHeadD.png" />
+ <None Include="Resources\SnakeyHeadL.png" />
+ <None Include="Resources\SnakeyHeadR.png" />
<Content Include="SystemIcons\iconArtpad.png" />
<Content Include="SystemIcons\iconAudioPlayer.png" />
<Content Include="SystemIcons\iconBitnoteDigger.png" />