aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Engine
diff options
context:
space:
mode:
authorFloppyDiskDrive <[email protected]>2017-11-23 11:20:53 -0600
committerFloppyDiskDrive <[email protected]>2017-11-23 11:20:53 -0600
commit8fff93eb7da1b01d101e146ca7fe5d90ca01fcde (patch)
treeebb8eafff81f5e54925ec27f1a19b5066f83a418 /ShiftOS.Engine
parent1febbbd405e6f67401313defb76cc5a41b44c912 (diff)
downloadshiftos-rewind-8fff93eb7da1b01d101e146ca7fe5d90ca01fcde.tar.gz
shiftos-rewind-8fff93eb7da1b01d101e146ca7fe5d90ca01fcde.tar.bz2
shiftos-rewind-8fff93eb7da1b01d101e146ca7fe5d90ca01fcde.zip
extremely rough savesystem
Diffstat (limited to 'ShiftOS.Engine')
-rw-r--r--ShiftOS.Engine/Properties/Resources.Designer.cs10
-rw-r--r--ShiftOS.Engine/Properties/Resources.resx3
-rw-r--r--ShiftOS.Engine/Resources/UbuntuMono-R.ttfbin0 -> 205748 bytes
-rw-r--r--ShiftOS.Engine/SaveSystem.cs27
-rw-r--r--ShiftOS.Engine/ShiftOS.Engine.csproj2
5 files changed, 42 insertions, 0 deletions
diff --git a/ShiftOS.Engine/Properties/Resources.Designer.cs b/ShiftOS.Engine/Properties/Resources.Designer.cs
index ced728d..5959c79 100644
--- a/ShiftOS.Engine/Properties/Resources.Designer.cs
+++ b/ShiftOS.Engine/Properties/Resources.Designer.cs
@@ -1798,6 +1798,16 @@ namespace ShiftOS.Engine.Properties {
}
/// <summary>
+ /// Looks up a localized resource of type System.Byte[].
+ /// </summary>
+ internal static byte[] UbuntuMono_R {
+ get {
+ object obj = ResourceManager.GetObject("UbuntuMono_R", resourceCulture);
+ return ((byte[])(obj));
+ }
+ }
+
+ /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap uparrow {
diff --git a/ShiftOS.Engine/Properties/Resources.resx b/ShiftOS.Engine/Properties/Resources.resx
index 7d95cf4..bafd273 100644
--- a/ShiftOS.Engine/Properties/Resources.resx
+++ b/ShiftOS.Engine/Properties/Resources.resx
@@ -1114,4 +1114,7 @@
<data name="_3beepvirus" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\3beepvirus.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
+ <data name="UbuntuMono_R" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\UbuntuMono-R.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
</root> \ No newline at end of file
diff --git a/ShiftOS.Engine/Resources/UbuntuMono-R.ttf b/ShiftOS.Engine/Resources/UbuntuMono-R.ttf
new file mode 100644
index 0000000..fdd309d
--- /dev/null
+++ b/ShiftOS.Engine/Resources/UbuntuMono-R.ttf
Binary files differ
diff --git a/ShiftOS.Engine/SaveSystem.cs b/ShiftOS.Engine/SaveSystem.cs
new file mode 100644
index 0000000..59ddf4b
--- /dev/null
+++ b/ShiftOS.Engine/SaveSystem.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ShiftOS.Engine
+{
+ public class SaveSystem
+ {
+ public static string gameDir
+ {
+ get
+ {
+ return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "ShiftOS-Rewind");
+ }
+ }
+ public static string fontDir
+ {
+ get
+ {
+ return gameDir + "\\Fonts";
+ }
+ }
+ }
+}
diff --git a/ShiftOS.Engine/ShiftOS.Engine.csproj b/ShiftOS.Engine/ShiftOS.Engine.csproj
index db21b5a..faff407 100644
--- a/ShiftOS.Engine/ShiftOS.Engine.csproj
+++ b/ShiftOS.Engine/ShiftOS.Engine.csproj
@@ -63,6 +63,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
+ <Compile Include="SaveSystem.cs" />
<Compile Include="ShiftFS\FileGUI\FileOpener.cs">
<SubType>UserControl</SubType>
</Compile>
@@ -626,6 +627,7 @@
<None Include="Resources\typesound.wav" />
</ItemGroup>
<ItemGroup>
+ <None Include="Resources\UbuntuMono-R.ttf" />
<None Include="Resources\uparrow.png" />
</ItemGroup>
<ItemGroup>