aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Properties
diff options
context:
space:
mode:
authorRogueAI42 <[email protected]>2017-06-13 20:06:38 +1000
committerRogueAI42 <[email protected]>2017-06-13 20:06:38 +1000
commit2acfa34596061a9236bb6a9df1e3f3a0c01d6ff0 (patch)
tree72954044f3dde5f9a17d12f99cd57a819f1b0f58 /ShiftOS_TheReturn/Properties
parenta2db5d39096cbf4d32412ad40168769ca63d9493 (diff)
downloadshiftos_thereturn-2acfa34596061a9236bb6a9df1e3f3a0c01d6ff0.tar.gz
shiftos_thereturn-2acfa34596061a9236bb6a9df1e3f3a0c01d6ff0.tar.bz2
shiftos_thereturn-2acfa34596061a9236bb6a9df1e3f3a0c01d6ff0.zip
Python API
It uses a meta-language and a CSharpCodeProvider on startup. I will release a tutorial on the forums soon showing how to use it. This commit also adds an extremely basic loading screen which shows while Desktop is getting everything ready. Which can take a while if you have any Python mods. Thanks, IronPython.
Diffstat (limited to 'ShiftOS_TheReturn/Properties')
-rw-r--r--ShiftOS_TheReturn/Properties/Resources.Designer.cs74
-rw-r--r--ShiftOS_TheReturn/Properties/Resources.resx3
2 files changed, 27 insertions, 50 deletions
diff --git a/ShiftOS_TheReturn/Properties/Resources.Designer.cs b/ShiftOS_TheReturn/Properties/Resources.Designer.cs
index 0b4ba6a..85b350f 100644
--- a/ShiftOS_TheReturn/Properties/Resources.Designer.cs
+++ b/ShiftOS_TheReturn/Properties/Resources.Designer.cs
@@ -1,28 +1,4 @@
-/*
- * MIT License
- *
- * Copyright (c) 2017 Michael VanOverbeek and ShiftOS devs
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-//------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
@@ -104,16 +80,25 @@ namespace ShiftOS.Engine.Properties {
return ResourceManager.GetString("languages", resourceCulture);
}
}
- internal static string secretlang
- {
- get
- {
- return ResourceManager.GetString("secretlang", resourceCulture);
+
+ /// <summary>
+ /// Looks up a localized string similar to .
+ /// </summary>
+ internal static string pywintemplate {
+ get {
+ return ResourceManager.GetString("pywintemplate", resourceCulture);
}
}
-
+
/// <summary>
- /// Looks up a localized string similar to [
+ /// Looks up a localized string similar to /*
+ /// * THIS IS AN EXAMPLE FILE
+ /// *
+ /// * Any Shiftorium upgrades placed in here won&apos;t be recognized by the main ShiftOS frontend
+ /// * (ShiftOS.WinForms). It uses its own Shiftorium definition file found in its Resources.
+ /// */
+ ///
+ ///[
/// {
/// Name: &quot;MUD Fundamentals&quot;,
/// Cost: 50,
@@ -124,12 +109,7 @@ namespace ShiftOS.Engine.Properties {
/// Name: &quot;WM 4 Windows&quot;,
/// Cost: 150,
/// Description: &quot;Display up to 4 simultaneous windows on-screen in a 2x2 grid.&quot;,
- /// Dependencies: &quot;window_manager&quot;
- /// },
- /// {
- /// Name: &quot;Virus Scanner&quot;,
- /// Cost: 2000,
- /// Description: &quot;Being inside the multi-user domain comes with many risks, one of which being viruses. The Virus Scanner can m [rest of string was truncated]&quot;;.
+ /// [rest of string was truncated]&quot;;.
/// </summary>
internal static string Shiftorium {
get {
@@ -158,22 +138,15 @@ namespace ShiftOS.Engine.Properties {
///Eine kurze Erklärung wie du das Terminal benutzt lautet wiefolgt. Du kannst das command &apos;sos.help&apos; benutzen um eine Liste aller commands aufzurufen. Schreib es
///einfach in das Terminal und drücke &lt;enter&gt; um alle commands anzuzeigen.
///
- ///Commands können mit argumenten versehen werden, indem du ein key-value Paar in einem {} Block hinter dem command angibst. Zum Be [rest of string was truncated]&quot;;.
+ ///Commands können mit argumenten versehen werden, indem du ein key-value Paar in einem {} Block hinter dem command angibst. Zum Beispiel:
+ /// [rest of string was truncated]&quot;;.
/// </summary>
internal static string strings_de {
get {
return ResourceManager.GetString("strings_de", resourceCulture);
}
}
-
- internal static string strings_ver
- {
- get
- {
- return ResourceManager.GetString("strings_ver", resourceCulture);
- }
- }
-
+
/// <summary>
/// Looks up a localized string similar to {
/// &quot;{SUBMIT}&quot;:&quot;Submit&quot;,
@@ -185,7 +158,8 @@ namespace ShiftOS.Engine.Properties {
///Commands can be sent arguments by specifying a key-value pair inside a {} block at the end of the command. For example:
///
///some.command{print:\&quot;hello\&quot;}
- ///math.add{op1 [rest of string was truncated]&quot;;.
+ ///math.add{op1:1,op2:2}
+ /// [rest of string was truncated]&quot;;.
/// </summary>
internal static string strings_en {
get {
@@ -203,7 +177,7 @@ namespace ShiftOS.Engine.Properties {
/// &quot;Before you can begin with ShiftOS, you&apos;ll need to know a few things about it.&quot;,
/// &quot;One: Terminal command syntax.&quot;,
/// &quot;Inside ShiftOS, the bulk of your time is going to be spent within the Terminal.&quot;,
- /// &quot;The Terminal is an application that starts up when you turn on your computer. It allows you to execute system commands, ope [rest of string was truncated]&quot;;.
+ /// &quot;The Terminal is an application that starts up when you turn on your computer. It allows you to execute system commands, open program [rest of string was truncated]&quot;;.
/// </summary>
internal static string sys_shiftoriumstory {
get {
diff --git a/ShiftOS_TheReturn/Properties/Resources.resx b/ShiftOS_TheReturn/Properties/Resources.resx
index 85e3d22..6e5d815 100644
--- a/ShiftOS_TheReturn/Properties/Resources.resx
+++ b/ShiftOS_TheReturn/Properties/Resources.resx
@@ -139,4 +139,7 @@
<data name="sys_shiftoriumstory" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sys_shiftoriumstory.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
+ <data name="pywintemplate" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\pywintemplate.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
+ </data>
</root> \ No newline at end of file