no more windows??

This commit is contained in:
lewd-alt
2025-05-07 10:45:18 -07:00
parent eecd2a0399
commit 9d89d2cb6a
933 changed files with 408908 additions and 407973 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
<Platforms>AnyCPU</Platforms> <Platforms>AnyCPU</Platforms>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<LangVersion>10.0</LangVersion> <LangVersion>9.0</LangVersion>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks> <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
@@ -1,6 +1,9 @@
namespace System.Diagnostics.CodeAnalysis; namespace System.Diagnostics.CodeAnalysis
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
internal sealed class AllowNullAttribute : Attribute
{ {
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
internal sealed class AllowNullAttribute : Attribute
{
}
} }
@@ -1,12 +1,13 @@
namespace System.Diagnostics.CodeAnalysis; namespace System.Diagnostics.CodeAnalysis
[AttributeUsage(AttributeTargets.Parameter)]
internal class DoesNotReturnIfAttribute : Attribute
{ {
[AttributeUsage(AttributeTargets.Parameter)]
internal class DoesNotReturnIfAttribute : Attribute
{
public DoesNotReturnIfAttribute(bool parameterValue) public DoesNotReturnIfAttribute(bool parameterValue)
{ {
ParameterValue = parameterValue; ParameterValue = parameterValue;
} }
public bool ParameterValue { get; } public bool ParameterValue { get; }
}
} }
@@ -1,7 +1,8 @@
namespace System.Diagnostics.CodeAnalysis; namespace System.Diagnostics.CodeAnalysis
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
AttributeTargets.ReturnValue)]
internal sealed class MaybeNullAttribute : Attribute
{ {
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
AttributeTargets.ReturnValue)]
internal sealed class MaybeNullAttribute : Attribute
{
}
} }
@@ -1,8 +1,9 @@
namespace System.Diagnostics.CodeAnalysis; namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage( [AttributeUsage(
AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
AttributeTargets.ReturnValue, AllowMultiple = true)] AttributeTargets.ReturnValue, AllowMultiple = true)]
internal sealed class NotNullAttribute : Attribute internal sealed class NotNullAttribute : Attribute
{ {
}
} }
@@ -1,12 +1,13 @@
namespace System.Diagnostics.CodeAnalysis; namespace System.Diagnostics.CodeAnalysis
[AttributeUsage(AttributeTargets.Parameter)]
internal sealed class NotNullWhenAttribute : Attribute
{ {
[AttributeUsage(AttributeTargets.Parameter)]
internal sealed class NotNullWhenAttribute : Attribute
{
public NotNullWhenAttribute(bool returnValue) public NotNullWhenAttribute(bool returnValue)
{ {
ReturnValue = returnValue; ReturnValue = returnValue;
} }
public bool ReturnValue { get; } public bool ReturnValue { get; }
}
} }
+4 -3
View File
@@ -2,10 +2,10 @@ using System.Drawing;
using System.Drawing.Drawing2D; using System.Drawing.Drawing2D;
using System.Drawing.Imaging; using System.Drawing.Imaging;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Are : Rect
{ {
public class Are : Rect
{
public Bitmap Dis; public Bitmap Dis;
protected Graphics gd; protected Graphics gd;
@@ -198,4 +198,5 @@ public class Are : Rect
gh.Dispose(); gh.Dispose();
} }
} }
}
} }
+4 -3
View File
@@ -1,10 +1,10 @@
using System.Drawing; using System.Drawing;
using System.Drawing.Drawing2D; using System.Drawing.Drawing2D;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class AreM : Are
{ {
public class AreM : Are
{
private double strength; private double strength;
private double unitS; private double unitS;
@@ -81,4 +81,5 @@ public class AreM : Are
GD.InterpolationMode = im; GD.InterpolationMode = im;
} }
}
} }
+4 -3
View File
@@ -1,10 +1,10 @@
using System; using System;
using System.Drawing; using System.Drawing;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class But
{ {
public class But
{
private bool dra = true; private bool dra = true;
private Color hc = Color.Transparent; private Color hc = Color.Transparent;
@@ -163,4 +163,5 @@ public class But
{ {
return (But1)this; return (But1)this;
} }
}
} }
+4 -3
View File
@@ -3,10 +3,10 @@ using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Linq; using System.Linq;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class But1 : But
{ {
public class But1 : But
{
public List<Color> BaseColors = new List<Color>(); public List<Color> BaseColors = new List<Color>();
public List<Color> OverColors = new List<Color>(); public List<Color> OverColors = new List<Color>();
@@ -107,4 +107,5 @@ public class But1 : But
} }
}; };
} }
}
} }
+4 -3
View File
@@ -2,10 +2,10 @@ using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Linq; using System.Linq;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Buts
{ {
public class Buts
{
private OrderedDictionary<string, But> buts = new OrderedDictionary<string, But>(); private OrderedDictionary<string, But> buts = new OrderedDictionary<string, But>();
public But this[string Name] => buts[Name]; public But this[string Name] => buts[Name];
@@ -85,4 +85,5 @@ public class Buts
{ {
return EnumBut.Any((But e) => e.Pars.Values.First().ToPar().HitColor == hc); return EnumBut.Any((But e) => e.Pars.Values.First().ToPar().HitColor == hc);
} }
}
} }
+4 -3
View File
@@ -1,7 +1,7 @@
namespace _2DGAMELIB; namespace _2DGAMELIB
public class ConstProp
{ {
public class ConstProp
{
private int c = -1; private int c = -1;
public bool GetFlag(double Proportion) public bool GetFlag(double Proportion)
@@ -14,4 +14,5 @@ public class ConstProp
{ {
c = -1; c = -1;
} }
}
} }
+5 -4
View File
@@ -1,10 +1,10 @@
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace _2DGAMELIB; namespace _2DGAMELIB
[StructLayout(LayoutKind.Sequential, Size = 1)]
public struct Dat
{ {
[StructLayout(LayoutKind.Sequential, Size = 1)]
public struct Dat
{
public static MatrixD MatDZero = new MatrixD(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); public static MatrixD MatDZero = new MatrixD(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
public static MatrixD MatDIdentity = new MatrixD(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static MatrixD MatDIdentity = new MatrixD(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0);
@@ -16,4 +16,5 @@ public struct Dat
public static Vector2D Vec2DUnitX = new Vector2D(1.0, 0.0); public static Vector2D Vec2DUnitX = new Vector2D(1.0, 0.0);
public static Vector2D Vec2DUnitY = new Vector2D(0.0, 1.0); public static Vector2D Vec2DUnitY = new Vector2D(0.0, 1.0);
}
} }
+5 -4
View File
@@ -2,11 +2,11 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing; using System.Drawing;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public class Dif
{ {
[Serializable]
public class Dif
{
public string Tag = ""; public string Tag = "";
private List<Pars> parss = new List<Pars>(); private List<Pars> parss = new List<Pars>();
@@ -287,4 +287,5 @@ public class Dif
item.Dispose(); item.Dispose();
} }
} }
}
} }
+5 -4
View File
@@ -4,11 +4,11 @@ using System.Drawing;
using System.Linq; using System.Linq;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public class Difs
{ {
[Serializable]
public class Difs
{
public string Tag = ""; public string Tag = "";
public double ValueX; public double ValueX;
@@ -471,4 +471,5 @@ public class Difs
dif.Dispose(); dif.Dispose();
} }
} }
}
} }
+4 -3
View File
@@ -1,10 +1,10 @@
using System; using System;
using System.Diagnostics; using System.Diagnostics;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class FPS
{ {
public class FPS
{
public Stopwatch sw = new Stopwatch(); public Stopwatch sw = new Stopwatch();
private long last_frame; private long last_frame;
@@ -35,4 +35,5 @@ public class FPS
} }
} }
}
} }
+10 -9
View File
@@ -1,23 +1,23 @@
using System.Drawing; using System.Drawing;
namespace _2DGAMELIB; namespace _2DGAMELIB
public enum Range
{ {
public enum Range
{
ZeroOne = 1, ZeroOne = 1,
MinusPlus MinusPlus
} }
public enum Open public enum Open
{ {
Top = 1, Top = 1,
Bot, Bot,
Lef, Lef,
Rig Rig
} }
public class Gau public class Gau
{ {
private Pars pars; private Pars pars;
private Par base_; private Par base_;
@@ -625,4 +625,5 @@ public class Gau
MinusBrush.Dispose(); MinusBrush.Dispose();
} }
} }
}
} }
+7 -6
View File
@@ -1,9 +1,9 @@
using System.Drawing; using System.Drawing;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class HSV
{ {
public static class HSV
{
public static void ToHSV(int r, int g, int b, out int h, out int s, out int v) public static void ToHSV(int r, int g, int b, out int h, out int s, out int v)
{ {
v = GetMax(r, g, b); v = GetMax(r, g, b);
@@ -181,9 +181,9 @@ public static class HSV
} }
return z; return z;
} }
} }
public struct Hsv public struct Hsv
{ {
public int H; public int H;
public int S; public int S;
@@ -303,4 +303,5 @@ public struct Hsv
{ {
return "H : " + H + " S : " + S + " V : " + V; return "H : " + H + " S : " + S + " V : " + V;
} }
}
} }
+7 -6
View File
@@ -1,13 +1,13 @@
using System; using System;
using System.IO; using System.IO;
namespace _2DGAMELIB; namespace _2DGAMELIB
//its the position of a joint
[Serializable]
public class Joi
{ {
//its the position of a joint
[Serializable]
public class Joi
{
public Vector2D Joint = Dat.Vec2DZero; public Vector2D Joint = Dat.Vec2DZero;
public Joi() public Joi()
@@ -28,4 +28,5 @@ public class Joi
{ {
this.Joint = Joint; this.Joint = Joint;
} }
}
} }
+4 -3
View File
@@ -2,10 +2,10 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class Join
{ {
public static class Join
{
public static double IdentityDistance = System.Math.Pow(5E-05, 2.0); public static double IdentityDistance = System.Math.Pow(5E-05, 2.0);
public static Joints GetJoints(this Par JoinRoot, IEnumerable<Par> EnumPar) public static Joints GetJoints(this Par JoinRoot, IEnumerable<Par> EnumPar)
@@ -193,4 +193,5 @@ public static class Join
num2 = num; num2 = num;
} }
} }
}
} }
+5 -4
View File
@@ -1,10 +1,10 @@
using System; using System;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public class Joint
{ {
[Serializable]
public class Joint
{
public Par Par0; public Par Par0;
public int Index; public int Index;
@@ -27,4 +27,5 @@ public class Joint
{ {
Par0.SetJointPA(Index, Par1); Par0.SetJointPA(Index, Par1);
} }
}
} }
+5 -4
View File
@@ -1,11 +1,11 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public class JointD
{ {
[Serializable]
public class JointD
{
public Difs Difs0; public Difs Difs0;
public List<int> Path0; public List<int> Path0;
@@ -69,4 +69,5 @@ public class JointD
Path0 = 接続元.Path; Path0 = 接続元.Path;
Index = 接続元.Index; Index = 接続元.Index;
} }
}
} }
+9 -8
View File
@@ -1,11 +1,11 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public class Joints
{ {
[Serializable]
public class Joints
{
public List<Joint> Joins = new List<Joint>(); public List<Joint> Joins = new List<Joint>();
public void JoinP() public void JoinP()
@@ -23,10 +23,10 @@ public class Joints
join.JoinPA(); join.JoinPA();
} }
} }
} }
[Serializable] [Serializable]
public class JointS public class JointS
{ {
public Difs Difs; public Difs Difs;
public List<int> Path; public List<int> Path;
@@ -43,4 +43,5 @@ public class JointS
Path = Par.GetPath(); Path = Par.GetPath();
this.Index = Index; this.Index = Index;
} }
}
} }
+5 -4
View File
@@ -1,11 +1,11 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public class JointsD
{ {
[Serializable]
public class JointsD
{
public List<JointD> Joins = new List<JointD>(); public List<JointD> Joins = new List<JointD>();
public void JoinP() public void JoinP()
@@ -39,4 +39,5 @@ public class JointsD
join.JoinPAall(); join.JoinPAall();
} }
} }
}
} }
+4 -3
View File
@@ -1,10 +1,10 @@
using System; using System;
using System.Drawing; using System.Drawing;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Lab
{ {
public class Lab
{
private ParT parT; private ParT parT;
private Med Med; private Med Med;
@@ -178,4 +178,5 @@ public class Lab
//((Control)Med.BaseControl).Resize -= Lab_Resize; //((Control)Med.BaseControl).Resize -= Lab_Resize;
} }
} }
}
} }
+4 -3
View File
@@ -1,10 +1,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing; using System.Drawing;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Labs
{ {
public class Labs
{
private OrderedDictionary<string, Lab> labs = new OrderedDictionary<string, Lab>(); private OrderedDictionary<string, Lab> labs = new OrderedDictionary<string, Lab>();
private Med Med; private Med Med;
@@ -76,4 +76,5 @@ public class Labs
value.Dispose(); value.Dispose();
} }
} }
}
} }
+5 -4
View File
@@ -1,10 +1,10 @@
using System; using System;
namespace _2DGAMELIB; namespace _2DGAMELIB
//TODO remove these...
public static class Math
{ {
//TODO remove these...
public static class Math
{
public static double RoundDown(this double Value, int Digits) public static double RoundDown(this double Value, int Digits)
{ {
double num = System.Math.Pow(10.0, Digits); double num = System.Math.Pow(10.0, Digits);
@@ -95,4 +95,5 @@ public static class Math
return System.Math.Min(Les-1, System.Math.Max(Sta, Value)); return System.Math.Min(Les-1, System.Math.Max(Sta, Value));
} }
}
} }
+4 -3
View File
@@ -1,9 +1,9 @@
using System; using System;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class Matrix
{ {
public static class Matrix
{
public static MatrixD RotationZ(this double angle) public static MatrixD RotationZ(this double angle)
{ {
MatrixD result = default(MatrixD); MatrixD result = default(MatrixD);
@@ -151,4 +151,5 @@ public static class Matrix
TransformCoordinate(ref r, ref transform, out result); TransformCoordinate(ref r, ref transform, out result);
Vec.Add(ref result, ref BasePoint, out result); Vec.Add(ref result, ref BasePoint, out result);
} }
}
} }
+5 -4
View File
@@ -1,11 +1,11 @@
using System; using System;
using System.Globalization; using System.Globalization;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public struct MatrixD
{ {
[Serializable]
public struct MatrixD
{
public double M11; public double M11;
public double M12; public double M12;
@@ -584,4 +584,5 @@ public struct MatrixD
} }
return false; return false;
} }
}
} }
+4 -3
View File
@@ -5,10 +5,10 @@ using System.Drawing;
using System.Drawing.Drawing2D; using System.Drawing.Drawing2D;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Med
{ {
public class Med
{
public static object obj; public static object obj;
private GlImage baseControl; private GlImage baseControl;
@@ -466,4 +466,5 @@ public class Med
obj = new object(); obj = new object();
FPS = 60.0; FPS = 60.0;
} }
}
} }
+4 -3
View File
@@ -1,10 +1,10 @@
using System; using System;
using System.Drawing; using System.Drawing;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Module
{ {
public class Module
{
public Action<MouseButtons, Vector2D, Color> Down = delegate public Action<MouseButtons, Vector2D, Color> Down = delegate
{ {
}; };
@@ -36,4 +36,5 @@ public class Module
public Action Setting = delegate public Action Setting = delegate
{ {
}; };
}
} }
+4 -3
View File
@@ -1,9 +1,9 @@
using System; using System;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Mot : MotV
{ {
public class Mot : MotV
{
public Action<Mot> Staing; public Action<Mot> Staing;
public Action<Mot> Runing; public Action<Mot> Runing;
@@ -73,4 +73,5 @@ public class Mot : MotV
ResetValue(); ResetValue();
rou = false; rou = false;
} }
}
} }
+4 -3
View File
@@ -1,7 +1,7 @@
namespace _2DGAMELIB; namespace _2DGAMELIB
public class MotV
{ {
public class MotV
{
public double Value; public double Value;
protected double min = -1.0; protected double min = -1.0;
@@ -105,4 +105,5 @@ public class MotV
} }
} }
} }
}
} }
+4 -3
View File
@@ -1,9 +1,9 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Mots
{ {
public class Mots
{
public Dictionary<string, Mot> ms; public Dictionary<string, Mot> ms;
public Mot this[string Name] public Mot this[string Name]
@@ -40,4 +40,5 @@ public class Mots
value.GetValue(FPS); value.GetValue(FPS);
} }
} }
}
} }
+4 -3
View File
@@ -1,9 +1,9 @@
using System; using System;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class MyRandom : Random
{ {
public class MyRandom : Random
{
protected uint x; protected uint x;
protected uint y; protected uint y;
@@ -218,4 +218,5 @@ public class MyRandom : Random
double num3 = 1.1102230246251565E-16 * ((double)(w = w ^ (w >> 19) ^ num ^ (num >> 8)) * 2097152.0 + (double)num2); double num3 = 1.1102230246251565E-16 * ((double)(w = w ^ (w >> 19) ^ num ^ (num >> 8)) * 2097152.0 + (double)num2);
return System.Math.Sqrt(-2.0 * System.Math.Log(d)) * System.Math.Cos(System.Math.PI * 2.0 * num3) * sigma + mu; return System.Math.Sqrt(-2.0 * System.Math.Log(d)) * System.Math.Cos(System.Math.PI * 2.0 * num3) * sigma + mu;
} }
}
} }
+5 -4
View File
@@ -4,11 +4,11 @@ using System.Drawing;
using System.Linq; using System.Linq;
using System.IO; using System.IO;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public class Obj
{ {
[Serializable]
public class Obj
{
public string Tag = ""; public string Tag = "";
public OrderedDictionary<string, Difs> Difss = new OrderedDictionary<string, Difs>(); public OrderedDictionary<string, Difs> Difss = new OrderedDictionary<string, Difs>();
@@ -609,4 +609,5 @@ public class Obj
value.Dispose(); value.Dispose();
} }
} }
}
} }
+5 -4
View File
@@ -2,11 +2,11 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public class OrderedDictionary<T1, T2>
{ {
[Serializable]
public class OrderedDictionary<T1, T2>
{
private List<T1> keys; private List<T1> keys;
private Dictionary<T1, T2> values; private Dictionary<T1, T2> values;
@@ -203,4 +203,5 @@ public class OrderedDictionary<T1, T2>
{ {
return values.ContainsValue(Value); return values.ContainsValue(Value);
} }
}
} }
+4 -3
View File
@@ -5,10 +5,10 @@ using System.Drawing.Drawing2D;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class Oth
{ {
public static class Oth
{
private static double s1; private static double s1;
private static double s0; private static double s0;
@@ -361,4 +361,5 @@ public static class Oth
{ {
return Path.Load<byte[]>().ToDeserialObject<T>(); return Path.Load<byte[]>().ToDeserialObject<T>();
} }
}
} }
+7 -6
View File
@@ -1,13 +1,13 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace _2DGAMELIB; namespace _2DGAMELIB
//outline/path/line basically represents a curve :3
[Serializable]
public class Out
{ {
//outline/path/line basically represents a curve :3
[Serializable]
public class Out
{
public List<Vector2D> ps = new List<Vector2D>(); public List<Vector2D> ps = new List<Vector2D>();
public float Tension = 0.5f; public float Tension = 0.5f;
@@ -23,4 +23,5 @@ public class Out
Tension = Out.Tension; Tension = Out.Tension;
Outline = Out.Outline; Outline = Out.Outline;
} }
}
} }
+6 -5
View File
@@ -5,12 +5,12 @@ using System.Drawing;
using System.Drawing.Drawing2D; using System.Drawing.Drawing2D;
using System.Linq; using System.Linq;
namespace _2DGAMELIB; namespace _2DGAMELIB
//represents a whole or part of a body part :3
[Serializable]
public class Par
{ {
//represents a whole or part of a body part :3
[Serializable]
public class Par
{
private Pars parent; private Pars parent;
public string Tag = ""; public string Tag = "";
@@ -1087,4 +1087,5 @@ public class Par
OutlinePath.Dispose(); OutlinePath.Dispose();
gph.Dispose(); gph.Dispose();
} }
}
} }
+6 -5
View File
@@ -3,12 +3,12 @@ using System.Drawing;
using System.Drawing.Drawing2D; using System.Drawing.Drawing2D;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace _2DGAMELIB; namespace _2DGAMELIB
// renders text
[Serializable]
public class ParT : Par
{ {
// renders text
[Serializable]
public class ParT : Par
{
[NonSerialized, JsonIgnore] [NonSerialized, JsonIgnore]
private Font font = new Font("", 1f); private Font font = new Font("", 1f);
@@ -372,4 +372,5 @@ public class ParT : Par
stringformat.Dispose(); stringformat.Dispose();
} }
} }
}
} }
+8 -7
View File
@@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Drawing.Drawing2D; using System.Drawing.Drawing2D;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public class Pars
{ {
[Serializable]
public class Pars
{
private Pars parent; private Pars parent;
public string Tag = ""; public string Tag = "";
@@ -755,9 +755,9 @@ public class Pars
} }
} }
} }
} }
public static class pars public static class pars
{ {
public static bool IsPars(this object obj) public static bool IsPars(this object obj)
{ {
return obj is Pars; return obj is Pars;
@@ -857,4 +857,5 @@ public static class pars
{ {
return new StringFormat(StringFormat); return new StringFormat(StringFormat);
} }
}
} }
+9 -8
View File
@@ -1,10 +1,10 @@
using System; using System;
using System.Globalization; using System.Globalization;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class Qua
{ {
public static class Qua
{
public static QuaternionD RotationZQ(this double angle) public static QuaternionD RotationZQ(this double angle)
{ {
double num = angle * 0.5; double num = angle * 0.5;
@@ -34,13 +34,13 @@ public static class Qua
Vec.Add(ref result, ref BasePoint, out result); Vec.Add(ref result, ref BasePoint, out result);
return result; return result;
} }
} }
//used in a total of 1 places //used in a total of 1 places
[Serializable] [Serializable]
public struct QuaternionD public struct QuaternionD
{ {
public double X; public double X;
public double Y; public double Y;
@@ -48,4 +48,5 @@ public struct QuaternionD
public double Z; public double Z;
public double W; public double W;
}
} }
+4 -3
View File
@@ -1,9 +1,10 @@
using System; using System;
using System.Globalization; using System.Globalization;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class RNG
{ {
public static class RNG
{
public static MyRandom XS = new MyRandom((uint)(Environment.TickCount + DateTime.Now.ToBinary())); public static MyRandom XS = new MyRandom((uint)(Environment.TickCount + DateTime.Now.ToBinary()));
}
} }
+4 -3
View File
@@ -1,7 +1,7 @@
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Rect
{ {
public class Rect
{
public double XRatio = 1.0; public double XRatio = 1.0;
public double YRatio = 1.0; public double YRatio = 1.0;
@@ -44,4 +44,5 @@ public class Rect
{ {
return new Vector2D(LocalWidth * p.X, LocalHeight * p.Y); return new Vector2D(LocalWidth * p.X, LocalHeight * p.Y);
} }
}
} }
+6 -5
View File
@@ -1,12 +1,12 @@
using System.Drawing; using System.Drawing;
using System.Drawing.Imaging; using System.Drawing.Imaging;
namespace _2DGAMELIB; namespace _2DGAMELIB
//Basically used to animate switching between two static images
public class Sce
{ {
//Basically used to animate switching between two static images
public class Sce
{
private Bitmap Start; private Bitmap Start;
private Graphics GS; private Graphics GS;
@@ -77,4 +77,5 @@ public class Sce
GE.Dispose(); GE.Dispose();
ia.Dispose(); ia.Dispose();
} }
}
} }
+6 -5
View File
@@ -3,12 +3,12 @@ using System.IO;
using System.Runtime.Serialization.Formatters.Binary; using System.Runtime.Serialization.Formatters.Binary;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace _2DGAMELIB; namespace _2DGAMELIB
//serialization stuff
public static class Ser
{ {
//serialization stuff
public static class Ser
{
private static SerializableAttribute s = new SerializableAttribute(); private static SerializableAttribute s = new SerializableAttribute();
public static T DeepCopy<T>(this T Object) public static T DeepCopy<T>(this T Object)
@@ -89,4 +89,5 @@ public static class Ser
TypeNameHandling = TypeNameHandling.All TypeNameHandling = TypeNameHandling.All
}.Deserialize(reader, typeof(T)); }.Deserialize(reader, typeof(T));
} }
}
} }
+4 -3
View File
@@ -1,10 +1,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class Shas
{ {
public static class Shas
{
public static readonly double D3 = 1.0 / 3.0; public static readonly double D3 = 1.0 / 3.0;
public static readonly double D3_2 = 2.0 / 3.0; public static readonly double D3_2 = 2.0 / 3.0;
@@ -554,4 +554,5 @@ public static class Shas
ps = { 左端上端, 右端上端, 右端下端, 左端下端 } ps = { 左端上端, 右端上端, 右端下端, 左端下端 }
}; };
} }
}
} }
+4 -3
View File
@@ -1,9 +1,9 @@
using System; using System;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class SoundPlayer
{ {
public class SoundPlayer
{
//Todo Fix //Todo Fix
//public MediaPlayer mp = new MediaPlayer(); //public MediaPlayer mp = new MediaPlayer();
@@ -55,4 +55,5 @@ public class SoundPlayer
{ {
//mp.Close(); //mp.Close();
} }
}
} }
+4 -3
View File
@@ -1,10 +1,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing; using System.Drawing;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Swi
{ {
public class Swi
{
private bool flag; private bool flag;
private Color OnColor = Color.Red; private Color OnColor = Color.Red;
@@ -164,4 +164,5 @@ public class Swi
j++; j++;
} }
} }
}
} }
+4 -3
View File
@@ -3,10 +3,10 @@ using System.Drawing;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class Tex
{ {
public class Tex
{
private Pars pars; private Pars pars;
private ParT parT; private ParT parT;
@@ -402,4 +402,5 @@ public class Tex
{ {
pars.Dispose(); pars.Dispose();
} }
}
} }
+4 -3
View File
@@ -1,10 +1,10 @@
using System.IO; using System.IO;
using System.Text; using System.Text;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class Text
{ {
public static class Text
{
public static void ToText(this string str, string Path, Encoding Encoding) public static void ToText(this string str, string Path, Encoding Encoding)
{ {
using StreamWriter streamWriter = new StreamWriter(Path, append: false, Encoding); using StreamWriter streamWriter = new StreamWriter(Path, append: false, Encoding);
@@ -24,4 +24,5 @@ public static class Text
{ {
return Path.FromText().Replace("\r", "").Split('\n'); return Path.FromText().Replace("\r", "").Split('\n');
} }
}
} }
+4 -3
View File
@@ -3,10 +3,10 @@ using System.ComponentModel;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
namespace _2DGAMELIB; namespace _2DGAMELIB
public class UI //: Form
{ {
public class UI //: Form
{
private Med Med; private Med Med;
private IContainer components; private IContainer components;
@@ -116,4 +116,5 @@ public class UI //: Form
//base.Resize += new System.EventHandler(UI_Resize); //base.Resize += new System.EventHandler(UI_Resize);
//base.ResumeLayout(false); //base.ResumeLayout(false);
} }
}
} }
+4 -3
View File
@@ -1,9 +1,9 @@
using System; using System;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class Vec
{ {
public static class Vec
{
public static void Add(ref Vector2D v1, ref Vector2D v2, out Vector2D r) public static void Add(ref Vector2D v1, ref Vector2D v2, out Vector2D r)
{ {
@@ -64,4 +64,5 @@ public static class Vec
} }
return num; return num;
} }
}
} }
+5 -4
View File
@@ -1,11 +1,11 @@
using System; using System;
using System.Globalization; using System.Globalization;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public struct Vector2D
{ {
[Serializable]
public struct Vector2D
{
public double X; public double X;
public double Y; public double Y;
@@ -123,4 +123,5 @@ public struct Vector2D
{ {
return new Vector2D(value.X / scale, value.Y / scale); return new Vector2D(value.X / scale, value.Y / scale);
} }
}
} }
+5 -4
View File
@@ -1,10 +1,10 @@
using System; using System;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public struct Vector2D_2
{ {
[Serializable]
public struct Vector2D_2
{
public Vector2D v1; public Vector2D v1;
public Vector2D v2; public Vector2D v2;
@@ -20,4 +20,5 @@ public struct Vector2D_2
this.v1 = v1; this.v1 = v1;
this.v2 = v2; this.v2 = v2;
} }
}
} }
+5 -4
View File
@@ -1,11 +1,11 @@
using System; using System;
using System.Globalization; using System.Globalization;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public struct Vector3D
{ {
[Serializable]
public struct Vector3D
{
public double X; public double X;
public double Y; public double Y;
@@ -186,4 +186,5 @@ public struct Vector3D
} }
return false; return false;
} }
}
} }
+5 -4
View File
@@ -1,11 +1,11 @@
using System; using System;
using System.Globalization; using System.Globalization;
namespace _2DGAMELIB; namespace _2DGAMELIB
[Serializable]
public struct Vector4D
{ {
[Serializable]
public struct Vector4D
{
public double X; public double X;
public double Y; public double Y;
@@ -208,4 +208,5 @@ public struct Vector4D
} }
return false; return false;
} }
}
} }
+15 -13
View File
@@ -6,19 +6,19 @@ using System.Drawing.Imaging;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
namespace _2DGAMELIB; namespace _2DGAMELIB
{
public enum MouseButtons { public enum MouseButtons {
None = 0, None = 0,
Left = 1, Left = 1,
Right = 2, Right = 2,
Middle = 4, Middle = 4,
Button4 = 8, Button4 = 8,
Button5 = 16 Button5 = 16
} }
public class GlImage public class GlImage
{ {
//yeah this is a little bit sketchy //yeah this is a little bit sketchy
public static unsafe GLFW.Window PtrToWindow(IntPtr source) public static unsafe GLFW.Window PtrToWindow(IntPtr source)
@@ -145,7 +145,7 @@ public class GlImage
string[] vertexShaderSource = { string[] vertexShaderSource = {
@" @"
#version 100 #version 100
precision mediump float; precision mediump float;
@@ -159,7 +159,7 @@ void main()
}; };
string[] fragmentShaderSource = { string[] fragmentShaderSource = {
@" @"
#version 100 #version 100
precision mediump float; precision mediump float;
@@ -223,11 +223,12 @@ void main()
vao = Gl.GenVertexArray(); vao = Gl.GenVertexArray();
} }
} }
/*
public class WPFImage : ElementHost /*
{ public class WPFImage : ElementHost
{
public GlImage gl_img; public GlImage gl_img;
private int ByteSize; private int ByteSize;
@@ -320,5 +321,6 @@ public class WPFImage : ElementHost
gl_img.BitmapSetting(bmp); gl_img.BitmapSetting(bmp);
} }
}
*/
} }
*/
+4 -3
View File
@@ -1,9 +1,9 @@
using System.Drawing; using System.Drawing;
namespace _2DGAMELIB; namespace _2DGAMELIB
public static class _Con
{ {
public static class _Con
{
public static Vector2D ToVector2D(this Point Point) public static Vector2D ToVector2D(this Point Point)
{ {
return new Vector2D(Point.X, Point.Y); return new Vector2D(Point.X, Point.Y);
@@ -63,4 +63,5 @@ public static class _Con
{ {
return new SizeF((float)Vector.X, (float)Vector.Y); return new SizeF((float)Vector.X, (float)Vector.Y);
} }
}
} }
+1 -1
View File
@@ -8,7 +8,7 @@
<PlatformTarget>x86</PlatformTarget> <PlatformTarget>x86</PlatformTarget>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<LangVersion>10.0</LangVersion> <LangVersion>9.0</LangVersion>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks> <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
@@ -1,11 +1,11 @@
using System; using System;
using System.Runtime.Serialization; using System.Runtime.Serialization;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public enum ConnectionInfo
{ {
[Serializable]
public enum ConnectionInfo
{
none, none,
頭_基髪_接続, 頭_基髪_接続,
頭_目左_接続, 頭_目左_接続,
@@ -424,4 +424,5 @@ public enum ConnectionInfo
大顎基_顎右_接続, 大顎基_顎右_接続,
植_花_接続, 植_花_接続,
ペニス_尿道_接続 ペニス_尿道_接続
}
} }
@@ -1,9 +1,9 @@
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public struct ContactD
{ {
public struct ContactD
{
public ContactType c; public ContactType c;
public Ele e; public Ele e;
@@ -14,4 +14,5 @@ public struct ContactD
{ {
return ("接触:" + c).ToString() + "\r\n" + ("Ele:" + ((e == null) ? "null" : e.ToString())).ToString() + "\r\n" + ("Par:" + ((p == null) ? "null" : p.ToString())).ToString(); return ("接触:" + c).ToString() + "\r\n" + ("Ele:" + ((e == null) ? "null" : e.ToString())).ToString() + "\r\n" + ("Par:" + ((p == null) ? "null" : p.ToString())).ToString();
} }
}
} }
@@ -3,10 +3,10 @@ using System.Drawing;
using System.Linq; using System.Linq;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class InfoPanel
{ {
public class InfoPanel
{
public Are Are; public Are Are;
private Med Med; private Med Med;
@@ -357,4 +357,5 @@ public class InfoPanel
Sub2B.Dispose(); Sub2B.Dispose();
Sub2.Dispose(); Sub2.Dispose();
} }
}
} }
@@ -3,10 +3,10 @@ using System.Drawing;
using System.Linq; using System.Linq;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public struct sep
{ {
public struct sep
{
public Ele Sta; public Ele Sta;
public Ele Ele; public Ele Ele;
@@ -16,11 +16,11 @@ public struct sep
public List<int> Path; public List<int> Path;
public Vector2D Pos; public Vector2D Pos;
} }
//three subclasses: one for bukkake, kiss marks, and whip marks //three subclasses: one for bukkake, kiss marks, and whip marks
public class Stamp public class Stamp
{ {
public Med Med; public Med Med;
public Are Are; public Are Are;
@@ -109,4 +109,5 @@ public class Stamp
} }
return false; return false;
} }
}
} }
@@ -2,20 +2,20 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public struct ryps
{ {
public struct ryps
{
public Par r; public Par r;
public Vector2D c; public Vector2D c;
public Vector2D[] ps; public Vector2D[] ps;
} }
public class Sweat public class Sweat
{ {
private HashSet<string> 汗対象 = new HashSet<string> private HashSet<string> 汗対象 = new HashSet<string>
{ {
Sta.胸t.ToString(), Sta.胸t.ToString(),
@@ -239,4 +239,5 @@ public class Sweat
item.Dispose(); item.Dispose();
} }
} }
}
} }
@@ -1,9 +1,9 @@
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class T剃刀 : Ele
{ {
public class T剃刀 : Ele
{
public Par X0Y0_ヘッド; public Par X0Y0_ヘッド;
public Par X0Y0_刃_刃1; public Par X0Y0_刃_刃1;
@@ -648,4 +648,5 @@ public class T剃刀 : Ele
グリップ_グリップ14CD = new ColorD(ref Col.Black, ref ret); グリップ_グリップ14CD = new ColorD(ref Col.Black, ref ret);
グリップ_グリップ15CD = new ColorD(ref Col.Black, ref ret); グリップ_グリップ15CD = new ColorD(ref Col.Black, ref ret);
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class T剃刀D : EleD
{ {
[Serializable]
public class T剃刀D : EleD
{
public bool ヘッド_表示 = true; public bool ヘッド_表示 = true;
public bool 刃_刃1_表示 = true; public bool 刃_刃1_表示 = true;
@@ -55,4 +55,5 @@ public class T剃刀D : EleD
{ {
return new T剃刀(DisUnit, 配色指定, 体配色, Med, this); return new T剃刀(DisUnit, 配色指定, 体配色, Med, this);
} }
}
} }
@@ -1,8 +1,9 @@
namespace SlaveMatrix; namespace SlaveMatrix
public enum UsageStatus
{ {
public enum UsageStatus
{
Standby, Standby,
InUse, InUse,
Attach Attach
}
} }
@@ -1,7 +1,7 @@
namespace SlaveMatrix; namespace SlaveMatrix
public class お下げ1 : 後髪0
{ {
public class お下げ1 : 後髪0
{
public virtual bool お下げ_髪縛1_表示 { get; set; } public virtual bool お下げ_髪縛1_表示 { get; set; }
public virtual bool お下げ_髪縛2_表示 { get; set; } public virtual bool お下げ_髪縛2_表示 { get; set; }
@@ -9,4 +9,5 @@ public class お下げ1 : 後髪0
public virtual void 髪留配色(髪留色 配色) public virtual void 髪留配色(髪留色 配色)
{ {
} }
}
} }
@@ -1,8 +1,9 @@
using System; using System;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class お下げ1D : 後髪0D
{ {
[Serializable]
public class お下げ1D : 後髪0D
{
}
} }
@@ -1,7 +1,7 @@
namespace SlaveMatrix; namespace SlaveMatrix
public class お下げ2 : 後髪0
{ {
public class お下げ2 : 後髪0
{
public virtual bool お下げ左_髪縛1_表示 { get; set; } public virtual bool お下げ左_髪縛1_表示 { get; set; }
public virtual bool お下げ左_髪縛2_表示 { get; set; } public virtual bool お下げ左_髪縛2_表示 { get; set; }
@@ -13,4 +13,5 @@ public class お下げ2 : 後髪0
public virtual void 髪留配色(髪留色 配色左, 髪留色 配色右) public virtual void 髪留配色(髪留色 配色左, 髪留色 配色右)
{ {
} }
}
} }
@@ -1,8 +1,9 @@
using System; using System;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class お下げ2D : 後髪0D
{ {
[Serializable]
public class お下げ2D : 後髪0D
{
}
} }
@@ -1,9 +1,9 @@
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class ぶっかけ_大 : Ele
{ {
public class ぶっかけ_大 : Ele
{
public Par X0Y0_精液; public Par X0Y0_精液;
public Par X0Y1_精液; public Par X0Y1_精液;
@@ -197,4 +197,5 @@ public class ぶっかけ_大 : Ele
{ {
精液CD = new ColorD(ref 体配色.精線, ref 体配色.精液ぶっかけ); 精液CD = new ColorD(ref 体配色.精線, ref 体配色.精液ぶっかけ);
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class ぶっかけ_大D : EleD
{ {
[Serializable]
public class ぶっかけ_大D : EleD
{
public bool 精液_表示 = true; public bool 精液_表示 = true;
public ぶっかけ_大D() public ぶっかけ_大D()
@@ -17,4 +17,5 @@ public class ぶっかけ_大D : EleD
{ {
return new ぶっかけ_大(DisUnit, 配色指定, 体配色, Med, this); return new ぶっかけ_大(DisUnit, 配色指定, 体配色, Med, this);
} }
}
} }
@@ -1,9 +1,9 @@
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class ぶっかけ_小 : Ele
{ {
public class ぶっかけ_小 : Ele
{
public Par X0Y0_精液; public Par X0Y0_精液;
public Par X0Y1_精液; public Par X0Y1_精液;
@@ -197,4 +197,5 @@ public class ぶっかけ_小 : Ele
{ {
精液CD = new ColorD(ref 体配色.精線, ref 体配色.精液ぶっかけ); 精液CD = new ColorD(ref 体配色.精線, ref 体配色.精液ぶっかけ);
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class ぶっかけ_小D : EleD
{ {
[Serializable]
public class ぶっかけ_小D : EleD
{
public bool 精液_表示 = true; public bool 精液_表示 = true;
public ぶっかけ_小D() public ぶっかけ_小D()
@@ -17,4 +17,5 @@ public class ぶっかけ_小D : EleD
{ {
return new ぶっかけ_小(DisUnit, 配色指定, 体配色, Med, this); return new ぶっかけ_小(DisUnit, 配色指定, 体配色, Med, this);
} }
}
} }
@@ -1,5 +1,6 @@
namespace SlaveMatrix; namespace SlaveMatrix
public class アップ : 後髪1
{ {
public class アップ : 後髪1
{
}
} }
@@ -1,8 +1,9 @@
using System; using System;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class アップD : 後髪1D
{ {
[Serializable]
public class アップD : 後髪1D
{
}
} }
@@ -1,9 +1,9 @@
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class キスマーク : Ele
{ {
public class キスマーク : Ele
{
public Par X0Y0_キスマーク; public Par X0Y0_キスマーク;
public ColorD キスマークCD; public ColorD キスマークCD;
@@ -141,4 +141,5 @@ public class キスマーク : Ele
{ {
キスマークCD = new ColorD(ref Col.Empty, ref 体配色.粘膜); キスマークCD = new ColorD(ref Col.Empty, ref 体配色.粘膜);
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class キスマークD : EleD
{ {
[Serializable]
public class キスマークD : EleD
{
public bool キスマーク_表示 = true; public bool キスマーク_表示 = true;
public キスマークD() public キスマークD()
@@ -17,4 +17,5 @@ public class キスマークD : EleD
{ {
return new キスマーク(DisUnit, 配色指定, 体配色, Med, this); return new キスマーク(DisUnit, 配色指定, 体配色, Med, this);
} }
}
} }
@@ -1,9 +1,9 @@
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class キャップ1 : Ele
{ {
public class キャップ1 : Ele
{
public Par X0Y0_根本; public Par X0Y0_根本;
public Par X0Y0_先端; public Par X0Y0_先端;
@@ -192,4 +192,5 @@ public class キャップ1 : Ele
根本CD.色 = 配色.根本色; 根本CD.色 = 配色.根本色;
先端CD.色 = 配色.先端色; 先端CD.色 = 配色.先端色;
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class キャップ1D : EleD
{ {
[Serializable]
public class キャップ1D : EleD
{
public bool 根本_表示; public bool 根本_表示;
public bool 先端_表示; public bool 先端_表示;
@@ -19,4 +19,5 @@ public class キャップ1D : EleD
{ {
return new キャップ1(DisUnit, 配色指定, 体配色, Med, this); return new キャップ1(DisUnit, 配色指定, 体配色, Med, this);
} }
}
} }
@@ -1,9 +1,9 @@
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class キャップ2 : Ele
{ {
public class キャップ2 : Ele
{
public Par X0Y0_根本; public Par X0Y0_根本;
public Par X0Y0_先端; public Par X0Y0_先端;
@@ -187,4 +187,5 @@ public class キャップ2 : Ele
根本CD.色 = 配色.根本色; 根本CD.色 = 配色.根本色;
先端CD.色 = 配色.先端色; 先端CD.色 = 配色.先端色;
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class キャップ2D : EleD
{ {
[Serializable]
public class キャップ2D : EleD
{
public bool 根本_表示; public bool 根本_表示;
public bool 先端_表示; public bool 先端_表示;
@@ -19,4 +19,5 @@ public class キャップ2D : EleD
{ {
return new キャップ2(DisUnit, 配色指定, 体配色, Med, this); return new キャップ2(DisUnit, 配色指定, 体配色, Med, this);
} }
}
} }
@@ -2,10 +2,10 @@ using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class キャップ処理 : 処理B
{ {
public class キャップ処理 : 処理B
{
public ConstProp CP中 = new ConstProp(); public ConstProp CP中 = new ConstProp();
public ConstProp CP左 = new ConstProp(); public ConstProp CP左 = new ConstProp();
@@ -737,4 +737,5 @@ public class キャップ処理 : 処理B
調教UI.キャップ2.濃度 = 0.5; 調教UI.キャップ2.濃度 = 0.5;
調教UI.キャップ3.濃度 = 0.5; 調教UI.キャップ3.濃度 = 0.5;
} }
}
} }
@@ -1,10 +1,10 @@
using System; using System;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public struct キャップ情報
{ {
[Serializable]
public struct キャップ情報
{
public bool 根本_表示; public bool 根本_表示;
public bool 先端_表示; public bool 先端_表示;
@@ -24,4 +24,5 @@ public struct キャップ情報
result.SetDefault(); result.SetDefault();
return result; return result;
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using System.Drawing; using System.Drawing;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public struct キャップ色
{ {
[Serializable]
public struct キャップ色
{
public Color 根本; public Color 根本;
public Color 先端; public Color 先端;
@@ -33,4 +33,5 @@ public struct キャップ色
Col.GetGrad(ref 根本, out 根本色); Col.GetGrad(ref 根本, out 根本色);
Col.GetGrad(ref 先端, out 先端色); Col.GetGrad(ref 先端, out 先端色);
} }
}
} }
@@ -1,9 +1,9 @@
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class キャラ台詞
{ {
public class キャラ台詞
{
private Med Med; private Med Med;
private 吹き出し hd; private 吹き出し hd;
@@ -26,4 +26,5 @@ public class キャラ台詞
string 点6ハート = GameText.点6ハート; string 点6ハート = GameText.点6ハート;
hd.Text = 点6ハート; hd.Text = 点6ハート;
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using System.Drawing; using System.Drawing;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public struct クロスB色
{ {
[Serializable]
public struct クロスB色
{
public Color 生地1; public Color 生地1;
public Color 生地2; public Color 生地2;
@@ -33,4 +33,5 @@ public struct クロスB色
Col.GetGrad(ref 生地1, out 生地1色); Col.GetGrad(ref 生地1, out 生地1色);
Col.GetGrad(ref 生地2, out 生地2色); Col.GetGrad(ref 生地2, out 生地2色);
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using System.Drawing; using System.Drawing;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public struct クロスT色
{ {
[Serializable]
public struct クロスT色
{
public Color 生地; public Color 生地;
public Color 縁; public Color 縁;
@@ -33,4 +33,5 @@ public struct クロスT色
Col.GetGrad(ref 生地, out 生地色); Col.GetGrad(ref 生地, out 生地色);
Col.GetGrad(ref 縁, out 縁色); Col.GetGrad(ref 縁, out 縁色);
} }
}
} }
@@ -1,5 +1,6 @@
namespace SlaveMatrix; namespace SlaveMatrix
public class サイド : 後髪1
{ {
public class サイド : 後髪1
{
}
} }
@@ -1,8 +1,9 @@
using System; using System;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public class サイドD : 後髪1D
{ {
[Serializable]
public class サイドD : 後髪1D
{
}
} }
@@ -3,10 +3,10 @@ using System.Drawing;
using System.Linq; using System.Linq;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class スタンプB : Stamp
{ {
public class スタンプB : Stamp
{
private Mot ぶっかけ垂れ; private Mot ぶっかけ垂れ;
public override void Draw(Are Are) public override void Draw(Are Are)
@@ -95,4 +95,5 @@ public class スタンプB : Stamp
}; };
Mots.Add(EleD.GetHashCode().ToString(), ぶっかけ垂れ); Mots.Add(EleD.GetHashCode().ToString(), ぶっかけ垂れ);
} }
}
} }
@@ -1,10 +1,10 @@
using System.Drawing; using System.Drawing;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class スタンプK : Stamp
{ {
public class スタンプK : Stamp
{
private Ele Par; private Ele Par;
public override void Draw(Are Are) public override void Draw(Are Are)
@@ -62,4 +62,5 @@ public class スタンプK : Stamp
{ {
this.Par = Par; this.Par = Par;
} }
}
} }
@@ -1,10 +1,10 @@
using System.Drawing; using System.Drawing;
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class スタンプW : Stamp
{ {
public class スタンプW : Stamp
{
private Ele Par; private Ele Par;
public override void Draw(Are Are) public override void Draw(Are Are)
@@ -64,4 +64,5 @@ public class スタンプW : Stamp
this.Par = Par; this.Par = Par;
EleD.尺度B = 0.9; EleD.尺度B = 0.9;
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using System.Drawing; using System.Drawing;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public struct チューブT色
{ {
[Serializable]
public struct チューブT色
{
public Color 生地; public Color 生地;
public Color 縁; public Color 縁;
@@ -33,4 +33,5 @@ public struct チューブT色
Col.GetGrad(ref 生地, out 生地色); Col.GetGrad(ref 生地, out 生地色);
Col.GetGrad(ref 縁, out 縁色); Col.GetGrad(ref 縁, out 縁色);
} }
}
} }
@@ -1,10 +1,10 @@
using System; using System;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public struct ドレス情報
{ {
[Serializable]
public struct ドレス情報
{
public 上着T_ドレス情報 T; public 上着T_ドレス情報 T;
public 上着M_ドレス情報 M; public 上着M_ドレス情報 M;
@@ -36,4 +36,5 @@ public struct ドレス情報
result.SetDefault(); result.SetDefault();
return result; return result;
} }
}
} }
@@ -1,11 +1,11 @@
using System; using System;
using System.Drawing; using System.Drawing;
namespace SlaveMatrix; namespace SlaveMatrix
[Serializable]
public struct ドレス色
{ {
[Serializable]
public struct ドレス色
{
public Color 生地; public Color 生地;
public Color 柄; public Color 柄;
@@ -47,4 +47,5 @@ public struct ドレス色
Col.GetGrad(ref 縁, out 縁色); Col.GetGrad(ref 縁, out 縁色);
Col.GetGrad(ref 紐, out 紐色); Col.GetGrad(ref 紐, out 紐色);
} }
}
} }
@@ -1,9 +1,9 @@
using _2DGAMELIB; using _2DGAMELIB;
namespace SlaveMatrix; namespace SlaveMatrix
public class ドレス色更新
{ {
public class ドレス色更新
{
public 上着トップ_ドレス トップ; public 上着トップ_ドレス トップ;
public 上着ミドル_ドレス ミドル; public 上着ミドル_ドレス ミドル;
@@ -46,4 +46,5 @@ public class ドレス色更新
} }
return true; return true;
} }
}
} }

Some files were not shown because too many files have changed in this diff Show More