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

View File

@@ -9,7 +9,7 @@
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<LangVersion>9.0</LangVersion>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup>

View File

@@ -1,6 +1,9 @@
namespace System.Diagnostics.CodeAnalysis;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
internal sealed class AllowNullAttribute : Attribute
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
internal sealed class AllowNullAttribute : Attribute
{
}
}

View File

@@ -1,12 +1,13 @@
namespace System.Diagnostics.CodeAnalysis;
[AttributeUsage(AttributeTargets.Parameter)]
internal class DoesNotReturnIfAttribute : Attribute
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.Parameter)]
internal class DoesNotReturnIfAttribute : Attribute
{
public DoesNotReturnIfAttribute(bool parameterValue)
{
ParameterValue = parameterValue;
}
public bool ParameterValue { get; }
}
}

View File

@@ -1,7 +1,8 @@
namespace System.Diagnostics.CodeAnalysis;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
AttributeTargets.ReturnValue)]
internal sealed class MaybeNullAttribute : Attribute
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
AttributeTargets.ReturnValue)]
internal sealed class MaybeNullAttribute : Attribute
{
}
}

View File

@@ -1,8 +1,9 @@
namespace System.Diagnostics.CodeAnalysis;
[AttributeUsage(
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(
AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
AttributeTargets.ReturnValue, AllowMultiple = true)]
internal sealed class NotNullAttribute : Attribute
{
internal sealed class NotNullAttribute : Attribute
{
}
}

View File

@@ -1,12 +1,13 @@
namespace System.Diagnostics.CodeAnalysis;
[AttributeUsage(AttributeTargets.Parameter)]
internal sealed class NotNullWhenAttribute : Attribute
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.Parameter)]
internal sealed class NotNullWhenAttribute : Attribute
{
public NotNullWhenAttribute(bool returnValue)
{
ReturnValue = returnValue;
}
public bool ReturnValue { get; }
}
}

View File

@@ -2,10 +2,10 @@ using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
namespace _2DGAMELIB;
public class Are : Rect
namespace _2DGAMELIB
{
public class Are : Rect
{
public Bitmap Dis;
protected Graphics gd;
@@ -198,4 +198,5 @@ public class Are : Rect
gh.Dispose();
}
}
}
}

View File

@@ -1,10 +1,10 @@
using System.Drawing;
using System.Drawing.Drawing2D;
namespace _2DGAMELIB;
public class AreM : Are
namespace _2DGAMELIB
{
public class AreM : Are
{
private double strength;
private double unitS;
@@ -81,4 +81,5 @@ public class AreM : Are
GD.InterpolationMode = im;
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
using System.Drawing;
namespace _2DGAMELIB;
public class But
namespace _2DGAMELIB
{
public class But
{
private bool dra = true;
private Color hc = Color.Transparent;
@@ -163,4 +163,5 @@ public class But
{
return (But1)this;
}
}
}

View File

@@ -3,10 +3,10 @@ using System.Collections.Generic;
using System.Drawing;
using System.Linq;
namespace _2DGAMELIB;
public class But1 : But
namespace _2DGAMELIB
{
public class But1 : But
{
public List<Color> BaseColors = new List<Color>();
public List<Color> OverColors = new List<Color>();
@@ -107,4 +107,5 @@ public class But1 : But
}
};
}
}
}

View File

@@ -2,10 +2,10 @@ using System.Collections.Generic;
using System.Drawing;
using System.Linq;
namespace _2DGAMELIB;
public class Buts
namespace _2DGAMELIB
{
public class Buts
{
private OrderedDictionary<string, But> buts = new OrderedDictionary<string, But>();
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);
}
}
}

View File

@@ -1,7 +1,7 @@
namespace _2DGAMELIB;
public class ConstProp
namespace _2DGAMELIB
{
public class ConstProp
{
private int c = -1;
public bool GetFlag(double Proportion)
@@ -14,4 +14,5 @@ public class ConstProp
{
c = -1;
}
}
}

View File

@@ -1,10 +1,10 @@
using System.Runtime.InteropServices;
namespace _2DGAMELIB;
[StructLayout(LayoutKind.Sequential, Size = 1)]
public struct Dat
namespace _2DGAMELIB
{
[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 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 Vec2DUnitY = new Vector2D(0.0, 1.0);
}
}

View File

@@ -2,11 +2,11 @@ using System;
using System.Collections.Generic;
using System.Drawing;
namespace _2DGAMELIB;
[Serializable]
public class Dif
namespace _2DGAMELIB
{
[Serializable]
public class Dif
{
public string Tag = "";
private List<Pars> parss = new List<Pars>();
@@ -287,4 +287,5 @@ public class Dif
item.Dispose();
}
}
}
}

View File

@@ -4,11 +4,11 @@ using System.Drawing;
using System.Linq;
using Newtonsoft.Json;
namespace _2DGAMELIB;
[Serializable]
public class Difs
namespace _2DGAMELIB
{
[Serializable]
public class Difs
{
public string Tag = "";
public double ValueX;
@@ -471,4 +471,5 @@ public class Difs
dif.Dispose();
}
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
using System.Diagnostics;
namespace _2DGAMELIB;
public class FPS
namespace _2DGAMELIB
{
public class FPS
{
public Stopwatch sw = new Stopwatch();
private long last_frame;
@@ -35,4 +35,5 @@ public class FPS
}
}
}
}

View File

@@ -1,23 +1,23 @@
using System.Drawing;
namespace _2DGAMELIB;
public enum Range
namespace _2DGAMELIB
{
public enum Range
{
ZeroOne = 1,
MinusPlus
}
}
public enum Open
{
public enum Open
{
Top = 1,
Bot,
Lef,
Rig
}
}
public class Gau
{
public class Gau
{
private Pars pars;
private Par base_;
@@ -625,4 +625,5 @@ public class Gau
MinusBrush.Dispose();
}
}
}
}

View File

@@ -1,9 +1,9 @@
using System.Drawing;
namespace _2DGAMELIB;
public static class HSV
namespace _2DGAMELIB
{
public static class HSV
{
public static void ToHSV(int r, int g, int b, out int h, out int s, out int v)
{
v = GetMax(r, g, b);
@@ -181,9 +181,9 @@ public static class HSV
}
return z;
}
}
public struct Hsv
{
}
public struct Hsv
{
public int H;
public int S;
@@ -303,4 +303,5 @@ public struct Hsv
{
return "H : " + H + " S : " + S + " V : " + V;
}
}
}

View File

@@ -1,13 +1,13 @@
using System;
using System.IO;
namespace _2DGAMELIB;
//its the position of a joint
[Serializable]
public class Joi
namespace _2DGAMELIB
{
//its the position of a joint
[Serializable]
public class Joi
{
public Vector2D Joint = Dat.Vec2DZero;
public Joi()
@@ -28,4 +28,5 @@ public class Joi
{
this.Joint = Joint;
}
}
}

View File

@@ -2,10 +2,10 @@ using System;
using System.Collections.Generic;
using System.Linq;
namespace _2DGAMELIB;
public static class Join
namespace _2DGAMELIB
{
public static class Join
{
public static double IdentityDistance = System.Math.Pow(5E-05, 2.0);
public static Joints GetJoints(this Par JoinRoot, IEnumerable<Par> EnumPar)
@@ -193,4 +193,5 @@ public static class Join
num2 = num;
}
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
namespace _2DGAMELIB;
[Serializable]
public class Joint
namespace _2DGAMELIB
{
[Serializable]
public class Joint
{
public Par Par0;
public int Index;
@@ -27,4 +27,5 @@ public class Joint
{
Par0.SetJointPA(Index, Par1);
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Collections.Generic;
namespace _2DGAMELIB;
[Serializable]
public class JointD
namespace _2DGAMELIB
{
[Serializable]
public class JointD
{
public Difs Difs0;
public List<int> Path0;
@@ -69,4 +69,5 @@ public class JointD
Path0 = .Path;
Index = .Index;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Collections.Generic;
namespace _2DGAMELIB;
[Serializable]
public class Joints
namespace _2DGAMELIB
{
[Serializable]
public class Joints
{
public List<Joint> Joins = new List<Joint>();
public void JoinP()
@@ -23,10 +23,10 @@ public class Joints
join.JoinPA();
}
}
}
[Serializable]
public class JointS
{
}
[Serializable]
public class JointS
{
public Difs Difs;
public List<int> Path;
@@ -43,4 +43,5 @@ public class JointS
Path = Par.GetPath();
this.Index = Index;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Collections.Generic;
namespace _2DGAMELIB;
[Serializable]
public class JointsD
namespace _2DGAMELIB
{
[Serializable]
public class JointsD
{
public List<JointD> Joins = new List<JointD>();
public void JoinP()
@@ -39,4 +39,5 @@ public class JointsD
join.JoinPAall();
}
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
using System.Drawing;
namespace _2DGAMELIB;
public class Lab
namespace _2DGAMELIB
{
public class Lab
{
private ParT parT;
private Med Med;
@@ -178,4 +178,5 @@ public class Lab
//((Control)Med.BaseControl).Resize -= Lab_Resize;
}
}
}
}

View File

@@ -1,10 +1,10 @@
using System.Collections.Generic;
using System.Drawing;
namespace _2DGAMELIB;
public class Labs
namespace _2DGAMELIB
{
public class Labs
{
private OrderedDictionary<string, Lab> labs = new OrderedDictionary<string, Lab>();
private Med Med;
@@ -76,4 +76,5 @@ public class Labs
value.Dispose();
}
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
namespace _2DGAMELIB;
//TODO remove these...
public static class Math
namespace _2DGAMELIB
{
//TODO remove these...
public static class Math
{
public static double RoundDown(this double Value, int 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));
}
}
}

View File

@@ -1,9 +1,9 @@
using System;
namespace _2DGAMELIB;
public static class Matrix
namespace _2DGAMELIB
{
public static class Matrix
{
public static MatrixD RotationZ(this double angle)
{
MatrixD result = default(MatrixD);
@@ -151,4 +151,5 @@ public static class Matrix
TransformCoordinate(ref r, ref transform, out result);
Vec.Add(ref result, ref BasePoint, out result);
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Globalization;
namespace _2DGAMELIB;
[Serializable]
public struct MatrixD
namespace _2DGAMELIB
{
[Serializable]
public struct MatrixD
{
public double M11;
public double M12;
@@ -584,4 +584,5 @@ public struct MatrixD
}
return false;
}
}
}

View File

@@ -5,10 +5,10 @@ using System.Drawing;
using System.Drawing.Drawing2D;
using System.Runtime.InteropServices;
namespace _2DGAMELIB;
public class Med
namespace _2DGAMELIB
{
public class Med
{
public static object obj;
private GlImage baseControl;
@@ -466,4 +466,5 @@ public class Med
obj = new object();
FPS = 60.0;
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
using System.Drawing;
namespace _2DGAMELIB;
public class Module
namespace _2DGAMELIB
{
public class Module
{
public Action<MouseButtons, Vector2D, Color> Down = delegate
{
};
@@ -36,4 +36,5 @@ public class Module
public Action Setting = delegate
{
};
}
}

View File

@@ -1,9 +1,9 @@
using System;
namespace _2DGAMELIB;
public class Mot : MotV
namespace _2DGAMELIB
{
public class Mot : MotV
{
public Action<Mot> Staing;
public Action<Mot> Runing;
@@ -73,4 +73,5 @@ public class Mot : MotV
ResetValue();
rou = false;
}
}
}

View File

@@ -1,7 +1,7 @@
namespace _2DGAMELIB;
public class MotV
namespace _2DGAMELIB
{
public class MotV
{
public double Value;
protected double min = -1.0;
@@ -105,4 +105,5 @@ public class MotV
}
}
}
}
}

View File

@@ -1,9 +1,9 @@
using System.Collections.Generic;
namespace _2DGAMELIB;
public class Mots
namespace _2DGAMELIB
{
public class Mots
{
public Dictionary<string, Mot> ms;
public Mot this[string Name]
@@ -40,4 +40,5 @@ public class Mots
value.GetValue(FPS);
}
}
}
}

View File

@@ -1,9 +1,9 @@
using System;
namespace _2DGAMELIB;
public class MyRandom : Random
namespace _2DGAMELIB
{
public class MyRandom : Random
{
protected uint x;
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);
return System.Math.Sqrt(-2.0 * System.Math.Log(d)) * System.Math.Cos(System.Math.PI * 2.0 * num3) * sigma + mu;
}
}
}

View File

@@ -4,11 +4,11 @@ using System.Drawing;
using System.Linq;
using System.IO;
namespace _2DGAMELIB;
[Serializable]
public class Obj
namespace _2DGAMELIB
{
[Serializable]
public class Obj
{
public string Tag = "";
public OrderedDictionary<string, Difs> Difss = new OrderedDictionary<string, Difs>();
@@ -609,4 +609,5 @@ public class Obj
value.Dispose();
}
}
}
}

View File

@@ -2,11 +2,11 @@ using System;
using System.Collections.Generic;
using System.Linq;
namespace _2DGAMELIB;
[Serializable]
public class OrderedDictionary<T1, T2>
namespace _2DGAMELIB
{
[Serializable]
public class OrderedDictionary<T1, T2>
{
private List<T1> keys;
private Dictionary<T1, T2> values;
@@ -203,4 +203,5 @@ public class OrderedDictionary<T1, T2>
{
return values.ContainsValue(Value);
}
}
}

View File

@@ -5,10 +5,10 @@ using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
namespace _2DGAMELIB;
public static class Oth
namespace _2DGAMELIB
{
public static class Oth
{
private static double s1;
private static double s0;
@@ -361,4 +361,5 @@ public static class Oth
{
return Path.Load<byte[]>().ToDeserialObject<T>();
}
}
}

View File

@@ -1,13 +1,13 @@
using System;
using System.Collections.Generic;
namespace _2DGAMELIB;
//outline/path/line basically represents a curve :3
[Serializable]
public class Out
namespace _2DGAMELIB
{
//outline/path/line basically represents a curve :3
[Serializable]
public class Out
{
public List<Vector2D> ps = new List<Vector2D>();
public float Tension = 0.5f;
@@ -23,4 +23,5 @@ public class Out
Tension = Out.Tension;
Outline = Out.Outline;
}
}
}

View File

@@ -5,12 +5,12 @@ using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
namespace _2DGAMELIB;
//represents a whole or part of a body part :3
[Serializable]
public class Par
namespace _2DGAMELIB
{
//represents a whole or part of a body part :3
[Serializable]
public class Par
{
private Pars parent;
public string Tag = "";
@@ -1087,4 +1087,5 @@ public class Par
OutlinePath.Dispose();
gph.Dispose();
}
}
}

View File

@@ -3,12 +3,12 @@ using System.Drawing;
using System.Drawing.Drawing2D;
using Newtonsoft.Json;
namespace _2DGAMELIB;
// renders text
[Serializable]
public class ParT : Par
namespace _2DGAMELIB
{
// renders text
[Serializable]
public class ParT : Par
{
[NonSerialized, JsonIgnore]
private Font font = new Font("", 1f);
@@ -372,4 +372,5 @@ public class ParT : Par
stringformat.Dispose();
}
}
}
}

View File

@@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace _2DGAMELIB;
[Serializable]
public class Pars
namespace _2DGAMELIB
{
[Serializable]
public class Pars
{
private Pars parent;
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)
{
return obj is Pars;
@@ -857,4 +857,5 @@ public static class pars
{
return new StringFormat(StringFormat);
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
using System.Globalization;
namespace _2DGAMELIB;
public static class Qua
namespace _2DGAMELIB
{
public static class Qua
{
public static QuaternionD RotationZQ(this double angle)
{
double num = angle * 0.5;
@@ -34,13 +34,13 @@ public static class Qua
Vec.Add(ref result, ref BasePoint, out result);
return result;
}
}
}
//used in a total of 1 places
[Serializable]
public struct QuaternionD
{
//used in a total of 1 places
[Serializable]
public struct QuaternionD
{
public double X;
public double Y;
@@ -48,4 +48,5 @@ public struct QuaternionD
public double Z;
public double W;
}
}

View File

@@ -1,9 +1,10 @@
using System;
using System.Globalization;
namespace _2DGAMELIB;
public static class RNG
namespace _2DGAMELIB
{
public static class RNG
{
public static MyRandom XS = new MyRandom((uint)(Environment.TickCount + DateTime.Now.ToBinary()));
}
}

View File

@@ -1,7 +1,7 @@
namespace _2DGAMELIB;
public class Rect
namespace _2DGAMELIB
{
public class Rect
{
public double XRatio = 1.0;
public double YRatio = 1.0;
@@ -44,4 +44,5 @@ public class Rect
{
return new Vector2D(LocalWidth * p.X, LocalHeight * p.Y);
}
}
}

View File

@@ -1,12 +1,12 @@
using System.Drawing;
using System.Drawing.Imaging;
namespace _2DGAMELIB;
//Basically used to animate switching between two static images
public class Sce
namespace _2DGAMELIB
{
//Basically used to animate switching between two static images
public class Sce
{
private Bitmap Start;
private Graphics GS;
@@ -77,4 +77,5 @@ public class Sce
GE.Dispose();
ia.Dispose();
}
}
}

View File

@@ -3,12 +3,12 @@ using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using Newtonsoft.Json;
namespace _2DGAMELIB;
//serialization stuff
public static class Ser
namespace _2DGAMELIB
{
//serialization stuff
public static class Ser
{
private static SerializableAttribute s = new SerializableAttribute();
public static T DeepCopy<T>(this T Object)
@@ -89,4 +89,5 @@ public static class Ser
TypeNameHandling = TypeNameHandling.All
}.Deserialize(reader, typeof(T));
}
}
}

View File

@@ -1,10 +1,10 @@
using System.Collections.Generic;
using System.Linq;
namespace _2DGAMELIB;
public static class Shas
namespace _2DGAMELIB
{
public static class Shas
{
public static readonly double D3 = 1.0 / 3.0;
public static readonly double D3_2 = 2.0 / 3.0;
@@ -554,4 +554,5 @@ public static class Shas
ps = { , , , }
};
}
}
}

View File

@@ -1,9 +1,9 @@
using System;
namespace _2DGAMELIB;
public class SoundPlayer
namespace _2DGAMELIB
{
public class SoundPlayer
{
//Todo Fix
//public MediaPlayer mp = new MediaPlayer();
@@ -55,4 +55,5 @@ public class SoundPlayer
{
//mp.Close();
}
}
}

View File

@@ -1,10 +1,10 @@
using System.Collections.Generic;
using System.Drawing;
namespace _2DGAMELIB;
public class Swi
namespace _2DGAMELIB
{
public class Swi
{
private bool flag;
private Color OnColor = Color.Red;
@@ -164,4 +164,5 @@ public class Swi
j++;
}
}
}
}

View File

@@ -3,10 +3,10 @@ using System.Drawing;
using System.IO;
using System.Linq;
namespace _2DGAMELIB;
public class Tex
namespace _2DGAMELIB
{
public class Tex
{
private Pars pars;
private ParT parT;
@@ -402,4 +402,5 @@ public class Tex
{
pars.Dispose();
}
}
}

View File

@@ -1,10 +1,10 @@
using System.IO;
using System.Text;
namespace _2DGAMELIB;
public static class Text
namespace _2DGAMELIB
{
public static class Text
{
public static void ToText(this string str, string Path, Encoding 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');
}
}
}

View File

@@ -3,10 +3,10 @@ using System.ComponentModel;
using System.IO;
using System.Linq;
namespace _2DGAMELIB;
public class UI //: Form
namespace _2DGAMELIB
{
public class UI //: Form
{
private Med Med;
private IContainer components;
@@ -116,4 +116,5 @@ public class UI //: Form
//base.Resize += new System.EventHandler(UI_Resize);
//base.ResumeLayout(false);
}
}
}

View File

@@ -1,9 +1,9 @@
using System;
namespace _2DGAMELIB;
public static class Vec
namespace _2DGAMELIB
{
public static class Vec
{
public static void Add(ref Vector2D v1, ref Vector2D v2, out Vector2D r)
{
@@ -64,4 +64,5 @@ public static class Vec
}
return num;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Globalization;
namespace _2DGAMELIB;
[Serializable]
public struct Vector2D
namespace _2DGAMELIB
{
[Serializable]
public struct Vector2D
{
public double X;
public double Y;
@@ -123,4 +123,5 @@ public struct Vector2D
{
return new Vector2D(value.X / scale, value.Y / scale);
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
namespace _2DGAMELIB;
[Serializable]
public struct Vector2D_2
namespace _2DGAMELIB
{
[Serializable]
public struct Vector2D_2
{
public Vector2D v1;
public Vector2D v2;
@@ -20,4 +20,5 @@ public struct Vector2D_2
this.v1 = v1;
this.v2 = v2;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Globalization;
namespace _2DGAMELIB;
[Serializable]
public struct Vector3D
namespace _2DGAMELIB
{
[Serializable]
public struct Vector3D
{
public double X;
public double Y;
@@ -186,4 +186,5 @@ public struct Vector3D
}
return false;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Globalization;
namespace _2DGAMELIB;
[Serializable]
public struct Vector4D
namespace _2DGAMELIB
{
[Serializable]
public struct Vector4D
{
public double X;
public double Y;
@@ -208,4 +208,5 @@ public struct Vector4D
}
return false;
}
}
}

View File

@@ -6,19 +6,19 @@ using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using System.Text;
namespace _2DGAMELIB;
public enum MouseButtons {
namespace _2DGAMELIB
{
public enum MouseButtons {
None = 0,
Left = 1,
Right = 2,
Middle = 4,
Button4 = 8,
Button5 = 16
}
}
public class GlImage
{
public class GlImage
{
//yeah this is a little bit sketchy
public static unsafe GLFW.Window PtrToWindow(IntPtr source)
@@ -145,7 +145,7 @@ public class GlImage
string[] vertexShaderSource = {
@"
@"
#version 100
precision mediump float;
@@ -159,7 +159,7 @@ void main()
};
string[] fragmentShaderSource = {
@"
@"
#version 100
precision mediump float;
@@ -223,11 +223,12 @@ void main()
vao = Gl.GenVertexArray();
}
}
}
/*
public class WPFImage : ElementHost
{
/*
public class WPFImage : ElementHost
{
public GlImage gl_img;
private int ByteSize;
@@ -320,5 +321,6 @@ public class WPFImage : ElementHost
gl_img.BitmapSetting(bmp);
}
}
*/
}
*/

View File

@@ -1,9 +1,9 @@
using System.Drawing;
namespace _2DGAMELIB;
public static class _Con
namespace _2DGAMELIB
{
public static class _Con
{
public static Vector2D ToVector2D(this Point Point)
{
return new Vector2D(Point.X, Point.Y);
@@ -63,4 +63,5 @@ public static class _Con
{
return new SizeF((float)Vector.X, (float)Vector.Y);
}
}
}

View File

@@ -8,7 +8,7 @@
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<LangVersion>9.0</LangVersion>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup>

View File

@@ -1,11 +1,11 @@
using System;
using System.Runtime.Serialization;
namespace SlaveMatrix;
[Serializable]
public enum ConnectionInfo
namespace SlaveMatrix
{
[Serializable]
public enum ConnectionInfo
{
none,
_基髪_接続,
_目左_接続,
@@ -424,4 +424,5 @@ public enum ConnectionInfo
_顎右_接続,
_花_接続,
_尿道_接続
}
}

View File

@@ -1,9 +1,9 @@
using _2DGAMELIB;
namespace SlaveMatrix;
public struct ContactD
namespace SlaveMatrix
{
public struct ContactD
{
public ContactType c;
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();
}
}
}

View File

@@ -3,10 +3,10 @@ using System.Drawing;
using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix;
public class InfoPanel
namespace SlaveMatrix
{
public class InfoPanel
{
public Are Are;
private Med Med;
@@ -357,4 +357,5 @@ public class InfoPanel
Sub2B.Dispose();
Sub2.Dispose();
}
}
}

View File

@@ -3,10 +3,10 @@ using System.Drawing;
using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix;
public struct sep
namespace SlaveMatrix
{
public struct sep
{
public Ele Sta;
public Ele Ele;
@@ -16,11 +16,11 @@ public struct sep
public List<int> Path;
public Vector2D Pos;
}
}
//three subclasses: one for bukkake, kiss marks, and whip marks
public class Stamp
{
//three subclasses: one for bukkake, kiss marks, and whip marks
public class Stamp
{
public Med Med;
public Are Are;
@@ -109,4 +109,5 @@ public class Stamp
}
return false;
}
}
}

View File

@@ -2,20 +2,20 @@ using System.Collections.Generic;
using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix;
public struct ryps
namespace SlaveMatrix
{
public struct ryps
{
public Par r;
public Vector2D c;
public Vector2D[] ps;
}
}
public class Sweat
{
public class Sweat
{
private HashSet<string> = new HashSet<string>
{
Sta.t.ToString(),
@@ -239,4 +239,5 @@ public class Sweat
item.Dispose();
}
}
}
}

View File

@@ -1,9 +1,9 @@
using _2DGAMELIB;
namespace SlaveMatrix;
public class T剃刀 : Ele
namespace SlaveMatrix
{
public class T剃刀 : Ele
{
public Par X0Y0_ヘッド;
public Par X0Y0_刃_刃1;
@@ -648,4 +648,5 @@ public class T剃刀 : Ele
_グリップ14CD = new ColorD(ref Col.Black, ref ret);
_グリップ15CD = new ColorD(ref Col.Black, ref ret);
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using _2DGAMELIB;
namespace SlaveMatrix;
[Serializable]
public class T剃刀D : EleD
namespace SlaveMatrix
{
[Serializable]
public class T剃刀D : EleD
{
public bool _表示 = true;
public bool _刃1_表示 = true;
@@ -55,4 +55,5 @@ public class T剃刀D : EleD
{
return new T剃刀(DisUnit, , , Med, this);
}
}
}

View File

@@ -1,8 +1,9 @@
namespace SlaveMatrix;
public enum UsageStatus
namespace SlaveMatrix
{
public enum UsageStatus
{
Standby,
InUse,
Attach
}
}

View File

@@ -1,7 +1,7 @@
namespace SlaveMatrix;
public class 1 : 0
namespace SlaveMatrix
{
public class 1 : 0
{
public virtual bool _髪縛1_表示 { get; set; }
public virtual bool _髪縛2_表示 { get; set; }
@@ -9,4 +9,5 @@ public class お下げ1 : 後髪0
public virtual void ( )
{
}
}
}

View File

@@ -1,8 +1,9 @@
using System;
namespace SlaveMatrix;
[Serializable]
public class 1D : 0D
namespace SlaveMatrix
{
[Serializable]
public class 1D : 0D
{
}
}

View File

@@ -1,7 +1,7 @@
namespace SlaveMatrix;
public class 2 : 0
namespace SlaveMatrix
{
public class 2 : 0
{
public virtual bool _髪縛1_表示 { get; set; }
public virtual bool _髪縛2_表示 { get; set; }
@@ -13,4 +13,5 @@ public class お下げ2 : 後髪0
public virtual void ( , )
{
}
}
}

View File

@@ -1,8 +1,9 @@
using System;
namespace SlaveMatrix;
[Serializable]
public class 2D : 0D
namespace SlaveMatrix
{
[Serializable]
public class 2D : 0D
{
}
}

View File

@@ -1,9 +1,9 @@
using _2DGAMELIB;
namespace SlaveMatrix;
public class _大 : Ele
namespace SlaveMatrix
{
public class _大 : Ele
{
public Par X0Y0_精液;
public Par X0Y1_精液;
@@ -197,4 +197,5 @@ public class ぶっかけ_大 : Ele
{
CD = new ColorD(ref ., ref .);
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using _2DGAMELIB;
namespace SlaveMatrix;
[Serializable]
public class _大D : EleD
namespace SlaveMatrix
{
[Serializable]
public class _大D : EleD
{
public bool _表示 = true;
public _大D()
@@ -17,4 +17,5 @@ public class ぶっかけ_大D : EleD
{
return new _大(DisUnit, , , Med, this);
}
}
}

View File

@@ -1,9 +1,9 @@
using _2DGAMELIB;
namespace SlaveMatrix;
public class _小 : Ele
namespace SlaveMatrix
{
public class _小 : Ele
{
public Par X0Y0_精液;
public Par X0Y1_精液;
@@ -197,4 +197,5 @@ public class ぶっかけ_小 : Ele
{
CD = new ColorD(ref ., ref .);
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using _2DGAMELIB;
namespace SlaveMatrix;
[Serializable]
public class _小D : EleD
namespace SlaveMatrix
{
[Serializable]
public class _小D : EleD
{
public bool _表示 = true;
public _小D()
@@ -17,4 +17,5 @@ public class ぶっかけ_小D : EleD
{
return new _小(DisUnit, , , Med, this);
}
}
}

View File

@@ -1,5 +1,6 @@
namespace SlaveMatrix;
public class : 1
namespace SlaveMatrix
{
public class : 1
{
}
}

View File

@@ -1,8 +1,9 @@
using System;
namespace SlaveMatrix;
[Serializable]
public class D : 1D
namespace SlaveMatrix
{
[Serializable]
public class D : 1D
{
}
}

View File

@@ -1,9 +1,9 @@
using _2DGAMELIB;
namespace SlaveMatrix;
public class : Ele
namespace SlaveMatrix
{
public class : Ele
{
public Par X0Y0_キスマーク;
public ColorD CD;
@@ -141,4 +141,5 @@ public class キスマーク : Ele
{
CD = new ColorD(ref Col.Empty, ref .);
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using _2DGAMELIB;
namespace SlaveMatrix;
[Serializable]
public class D : EleD
namespace SlaveMatrix
{
[Serializable]
public class D : EleD
{
public bool _表示 = true;
public D()
@@ -17,4 +17,5 @@ public class キスマークD : EleD
{
return new (DisUnit, , , Med, this);
}
}
}

View File

@@ -1,9 +1,9 @@
using _2DGAMELIB;
namespace SlaveMatrix;
public class 1 : Ele
namespace SlaveMatrix
{
public class 1 : Ele
{
public Par X0Y0_根本;
public Par X0Y0_先端;
@@ -192,4 +192,5 @@ public class キャップ1 : Ele
CD. = .;
CD. = .;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using _2DGAMELIB;
namespace SlaveMatrix;
[Serializable]
public class 1D : EleD
namespace SlaveMatrix
{
[Serializable]
public class 1D : EleD
{
public bool _表示;
public bool _表示;
@@ -19,4 +19,5 @@ public class キャップ1D : EleD
{
return new 1(DisUnit, , , Med, this);
}
}
}

View File

@@ -1,9 +1,9 @@
using _2DGAMELIB;
namespace SlaveMatrix;
public class 2 : Ele
namespace SlaveMatrix
{
public class 2 : Ele
{
public Par X0Y0_根本;
public Par X0Y0_先端;
@@ -187,4 +187,5 @@ public class キャップ2 : Ele
CD. = .;
CD. = .;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using _2DGAMELIB;
namespace SlaveMatrix;
[Serializable]
public class 2D : EleD
namespace SlaveMatrix
{
[Serializable]
public class 2D : EleD
{
public bool _表示;
public bool _表示;
@@ -19,4 +19,5 @@ public class キャップ2D : EleD
{
return new 2(DisUnit, , , Med, this);
}
}
}

View File

@@ -2,10 +2,10 @@ using System.Collections.Generic;
using System.Drawing;
using _2DGAMELIB;
namespace SlaveMatrix;
public class : B
namespace SlaveMatrix
{
public class : B
{
public ConstProp CP中 = new ConstProp();
public ConstProp CP左 = new ConstProp();
@@ -737,4 +737,5 @@ public class キャップ処理 : 処理B
調UI.2. = 0.5;
調UI.3. = 0.5;
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
namespace SlaveMatrix;
[Serializable]
public struct
namespace SlaveMatrix
{
[Serializable]
public struct
{
public bool _表示;
public bool _表示;
@@ -24,4 +24,5 @@ public struct キャップ情報
result.SetDefault();
return result;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Drawing;
namespace SlaveMatrix;
[Serializable]
public struct
namespace SlaveMatrix
{
[Serializable]
public struct
{
public Color ;
public Color ;
@@ -33,4 +33,5 @@ public struct キャップ色
Col.GetGrad(ref , out );
Col.GetGrad(ref , out );
}
}
}

View File

@@ -1,9 +1,9 @@
using _2DGAMELIB;
namespace SlaveMatrix;
public class
namespace SlaveMatrix
{
public class
{
private Med Med;
private hd;
@@ -26,4 +26,5 @@ public class キャラ台詞
string 6 = GameText.6;
hd.Text = 6;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Drawing;
namespace SlaveMatrix;
[Serializable]
public struct B色
namespace SlaveMatrix
{
[Serializable]
public struct B色
{
public Color 1;
public Color 2;
@@ -33,4 +33,5 @@ public struct クロスB色
Col.GetGrad(ref 1, out 1);
Col.GetGrad(ref 2, out 2);
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Drawing;
namespace SlaveMatrix;
[Serializable]
public struct T色
namespace SlaveMatrix
{
[Serializable]
public struct T色
{
public Color ;
public Color ;
@@ -33,4 +33,5 @@ public struct クロスT色
Col.GetGrad(ref , out );
Col.GetGrad(ref , out );
}
}
}

View File

@@ -1,5 +1,6 @@
namespace SlaveMatrix;
public class : 1
namespace SlaveMatrix
{
public class : 1
{
}
}

View File

@@ -1,8 +1,9 @@
using System;
namespace SlaveMatrix;
[Serializable]
public class D : 1D
namespace SlaveMatrix
{
[Serializable]
public class D : 1D
{
}
}

View File

@@ -3,10 +3,10 @@ using System.Drawing;
using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix;
public class B : Stamp
namespace SlaveMatrix
{
public class B : Stamp
{
private Mot ;
public override void Draw(Are Are)
@@ -95,4 +95,5 @@ public class スタンプB : Stamp
};
Mots.Add(EleD.GetHashCode().ToString(), );
}
}
}

View File

@@ -1,10 +1,10 @@
using System.Drawing;
using _2DGAMELIB;
namespace SlaveMatrix;
public class K : Stamp
namespace SlaveMatrix
{
public class K : Stamp
{
private Ele Par;
public override void Draw(Are Are)
@@ -62,4 +62,5 @@ public class スタンプK : Stamp
{
this.Par = Par;
}
}
}

View File

@@ -1,10 +1,10 @@
using System.Drawing;
using _2DGAMELIB;
namespace SlaveMatrix;
public class W : Stamp
namespace SlaveMatrix
{
public class W : Stamp
{
private Ele Par;
public override void Draw(Are Are)
@@ -64,4 +64,5 @@ public class スタンプW : Stamp
this.Par = Par;
EleD.B = 0.9;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Drawing;
namespace SlaveMatrix;
[Serializable]
public struct T色
namespace SlaveMatrix
{
[Serializable]
public struct T色
{
public Color ;
public Color ;
@@ -33,4 +33,5 @@ public struct チューブT色
Col.GetGrad(ref , out );
Col.GetGrad(ref , out );
}
}
}

View File

@@ -1,10 +1,10 @@
using System;
namespace SlaveMatrix;
[Serializable]
public struct
namespace SlaveMatrix
{
[Serializable]
public struct
{
public T_ドレス情報 T;
public M_ドレス情報 M;
@@ -36,4 +36,5 @@ public struct ドレス情報
result.SetDefault();
return result;
}
}
}

View File

@@ -1,11 +1,11 @@
using System;
using System.Drawing;
namespace SlaveMatrix;
[Serializable]
public struct
namespace SlaveMatrix
{
[Serializable]
public struct
{
public Color ;
public Color ;
@@ -47,4 +47,5 @@ public struct ドレス色
Col.GetGrad(ref , out );
Col.GetGrad(ref , out );
}
}
}

View File

@@ -1,9 +1,9 @@
using _2DGAMELIB;
namespace SlaveMatrix;
public class
namespace SlaveMatrix
{
public class
{
public _ドレス ;
public _ドレス ;
@@ -46,4 +46,5 @@ public class ドレス色更新
}
return true;
}
}
}

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