Added rename Shoulder

This commit is contained in:
Absolutely disgusting
2025-11-04 09:19:00 +04:00
parent 011dc69d0f
commit b7cd096825
21 changed files with 946 additions and 942 deletions

View File

@@ -17,9 +17,9 @@ namespace _2DGAMELIB
["後髪0"] = "BackHair0", ["後髪0"] = "BackHair0",
["後髪1"] = "BackHair1", ["後髪1"] = "BackHair1",
["横髪"] = "SideHair", ["横髪"] = "SideHair",
["脚"] = "Leg" ["脚"] = "Leg",
//["腕"] = "Arm", //["腕"] = "Arm"
//["肩"] = "Shoulder", ["肩"] = "Shoulder"
//["胸"] = "Chest", //["胸"] = "Chest",
//["乳房"] = "Breast", //["乳房"] = "Breast",
//["腹"] = "Abdomen", //["腹"] = "Abdomen",

View File

@@ -70,7 +70,7 @@ namespace SlaveMatrix
_翼下右_接続, _翼下右_接続,
_背中_接続, _背中_接続,
_噴乳_接続, _噴乳_接続,
_上腕_接続, Shoulder_上腕_接続,
Torso_胸_接続, Torso_胸_接続,
Torso_肌_接続, Torso_肌_接続,
Torso_翼左_接続, Torso_翼左_接続,

View File

@@ -5756,7 +5756,8 @@ namespace SlaveMatrix
{ {
Leg_人 Leg_人2 = this; Leg_人 Leg_人2 = this;
ThisType = GetType(); ThisType = GetType();
= new Difs(Sta.["脚"]); //Leg but if renamed to Leg it broke game
= new Difs(Sta.["Leg"]);
Pars pars = [0][0]; Pars pars = [0][0];
X0Y0_Leg = pars["脚"].ToPar(); X0Y0_Leg = pars["脚"].ToPar();
X0Y0_筋 = pars["筋"].ToPar(); X0Y0_筋 = pars["筋"].ToPar();

View File

@@ -0,0 +1,478 @@
using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix
{
public class Shoulder : Ele
{
public Par X0Y0_脇_脇;
public Par X0Y0_脇_筋肉;
public Par X0Y0_Shoulder_Shoulder;
public Par X0Y0_Shoulder_虫性_甲殻1;
public Par X0Y0_Shoulder_虫性_甲殻2;
public Par X0Y0_Shoulder_傷I1;
public Par X0Y0_Shoulder_傷I2;
public Par X0Y0_Shoulder_傷I3;
public Par X0Y0_Shoulder_傷I4;
public Par X0Y0_Shoulder_シャツ;
public Par X0Y0_Shoulder_ナース;
public ColorD _脇CD;
public ColorD _筋肉CD;
public ColorD Shoulder_ShoulderCD;
public ColorD Shoulder_虫性_甲殻1CD;
public ColorD Shoulder_虫性_甲殻2CD;
public ColorD Shoulder_傷I1CD;
public ColorD Shoulder_傷I2CD;
public ColorD Shoulder_傷I3CD;
public ColorD Shoulder_傷I4CD;
public ColorD Shoulder_シャツCD;
public ColorD Shoulder_ナースCD;
public ColorP X0Y0_脇_脇CP;
public ColorP X0Y0_脇_筋肉CP;
public ColorP X0Y0_Shoulder_ShoulderCP;
public ColorP X0Y0_Shoulder_虫性_甲殻1CP;
public ColorP X0Y0_Shoulder_虫性_甲殻2CP;
public ColorP X0Y0_Shoulder_傷I1CP;
public ColorP X0Y0_Shoulder_傷I2CP;
public ColorP X0Y0_Shoulder_傷I3CP;
public ColorP X0Y0_Shoulder_傷I4CP;
public ColorP X0Y0_Shoulder_シャツCP;
public ColorP X0Y0_Shoulder_ナースCP;
public K ;
public W ;
public Ele[] _接続;
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
_筋肉_表示 = _;
X0Y0_脇_脇.OP.ExpansionXY(X0Y0_脇_脇.OP.GetCenter(), 0.0005);
X0Y0_脇_脇.JP.ExpansionXY(X0Y0_脇_脇.JP.GetCenter(), 0.0005);
X0Y0_Shoulder_Shoulder.OP.ExpansionXY(X0Y0_Shoulder_Shoulder.OP.GetCenter(), 0.0005);
X0Y0_Shoulder_Shoulder.JP.ExpansionXY(X0Y0_Shoulder_Shoulder.JP.GetCenter(), 0.0005);
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public bool _脇_表示
{
get
{
return X0Y0_脇_脇.Dra;
}
set
{
X0Y0_脇_脇.Dra = value;
X0Y0_脇_脇.Hit = value;
}
}
public bool _筋肉_表示
{
get
{
return X0Y0_脇_筋肉.Dra;
}
set
{
X0Y0_脇_筋肉.Dra = value;
X0Y0_脇_筋肉.Hit = value;
}
}
public bool Shoulder_表示
{
get
{
return X0Y0_Shoulder_Shoulder.Dra;
}
set
{
X0Y0_Shoulder_Shoulder.Dra = value;
X0Y0_Shoulder_Shoulder.Hit = value;
}
}
public bool Shoulder_虫性_甲殻1_表示
{
get
{
return X0Y0_Shoulder_虫性_甲殻1.Dra;
}
set
{
X0Y0_Shoulder_虫性_甲殻1.Dra = value;
X0Y0_Shoulder_虫性_甲殻1.Hit = value;
}
}
public bool Shoulder_虫性_甲殻2_表示
{
get
{
return X0Y0_Shoulder_虫性_甲殻2.Dra;
}
set
{
X0Y0_Shoulder_虫性_甲殻2.Dra = value;
X0Y0_Shoulder_虫性_甲殻2.Hit = value;
}
}
public bool Shoulder_傷I1_表示
{
get
{
return X0Y0_Shoulder_傷I1.Dra;
}
set
{
X0Y0_Shoulder_傷I1.Dra = value;
X0Y0_Shoulder_傷I1.Hit = value;
}
}
public bool Shoulder_傷I2_表示
{
get
{
return X0Y0_Shoulder_傷I2.Dra;
}
set
{
X0Y0_Shoulder_傷I2.Dra = value;
X0Y0_Shoulder_傷I2.Hit = value;
}
}
public bool Shoulder_傷I3_表示
{
get
{
return X0Y0_Shoulder_傷I3.Dra;
}
set
{
X0Y0_Shoulder_傷I3.Dra = value;
X0Y0_Shoulder_傷I3.Hit = value;
}
}
public bool Shoulder_傷I4_表示
{
get
{
return X0Y0_Shoulder_傷I4.Dra;
}
set
{
X0Y0_Shoulder_傷I4.Dra = value;
X0Y0_Shoulder_傷I4.Hit = value;
}
}
public bool Shoulder_シャツ_表示
{
get
{
return X0Y0_Shoulder_シャツ.Dra;
}
set
{
X0Y0_Shoulder_シャツ.Dra = value;
X0Y0_Shoulder_シャツ.Hit = value;
}
}
public bool Shoulder_ナース_表示
{
get
{
return X0Y0_Shoulder_ナース.Dra;
}
set
{
X0Y0_Shoulder_ナース.Dra = value;
X0Y0_Shoulder_ナース.Hit = value;
}
}
public override bool
{
get
{
return _脇_表示;
}
set
{
_脇_表示 = value;
_筋肉_表示 = value;
Shoulder_表示 = value;
Shoulder_虫性_甲殻1_表示 = value;
Shoulder_虫性_甲殻2_表示 = value;
Shoulder_傷I1_表示 = value;
Shoulder_傷I2_表示 = value;
Shoulder_傷I3_表示 = value;
Shoulder_傷I4_表示 = value;
Shoulder_シャツ_表示 = value;
Shoulder_ナース_表示 = value;
}
}
public override double
{
get
{
return _脇CD.;
}
set
{
_脇CD. = value;
_筋肉CD. = value;
Shoulder_ShoulderCD. = value;
Shoulder_虫性_甲殻1CD. = value;
Shoulder_虫性_甲殻2CD. = value;
Shoulder_傷I1CD. = value;
Shoulder_傷I2CD. = value;
Shoulder_傷I3CD. = value;
Shoulder_傷I4CD. = value;
Shoulder_シャツCD. = value;
Shoulder_ナースCD. = value;
}
}
public JointS _接続点 => new JointS(, X0Y0_Shoulder_Shoulder, 1);
public Shoulder(double DisUnit, , , Med Med, ShoulderD e)
{
Shoulder Shoulder2 = this;
ThisType = GetType();
= new Difs(Sta.["Shoulder"]);
Pars pars = [0][0];
Pars pars2 = pars["脇"].ToPars();
X0Y0_脇_脇 = pars2["脇"].ToPar();
X0Y0_脇_筋肉 = pars2["筋肉"].ToPar();
pars2 = pars["肩"].ToPars();
X0Y0_Shoulder_Shoulder = pars2["肩"].ToPar();
Pars pars3 = pars2["虫性"].ToPars();
X0Y0_Shoulder_虫性_甲殻1 = pars3["甲殻1"].ToPar();
X0Y0_Shoulder_虫性_甲殻2 = pars3["甲殻2"].ToPar();
X0Y0_Shoulder_傷I1 = pars2["傷I1"].ToPar();
X0Y0_Shoulder_傷I2 = pars2["傷I2"].ToPar();
X0Y0_Shoulder_傷I3 = pars2["傷I3"].ToPar();
X0Y0_Shoulder_傷I4 = pars2["傷I4"].ToPar();
X0Y0_Shoulder_シャツ = pars2["シャツ"].ToPar();
X0Y0_Shoulder_ナース = pars2["ナース"].ToPar();
.SetJoints();
= new JointD();
= e.;
X = e.X;
Y = e.Y;
C = e.C;
C = e.C;
B = e.B;
C = e.C;
B = e.B;
C = e.C;
XB = e.XB;
XC = e.XC;
YB = e.YB;
YC = e.YC;
= e.;
= e.;
Xv = e.Xv;
Yv = e.Yv;
Xi = e.Xi;
Yi = e.Yi;
= e.;
X = e.X;
Y = e.Y;
_脇_表示 = e._脇_表示;
_筋肉_表示 = e._筋肉_表示;
Shoulder_表示 = e.Shoulder_表示;
Shoulder_虫性_甲殻1_表示 = e.Shoulder_虫性_甲殻1_表示;
Shoulder_虫性_甲殻2_表示 = e.Shoulder_虫性_甲殻2_表示;
Shoulder_傷I1_表示 = e.Shoulder_傷I1_表示;
Shoulder_傷I2_表示 = e.Shoulder_傷I2_表示;
Shoulder_傷I3_表示 = e.Shoulder_傷I3_表示;
Shoulder_傷I4_表示 = e.Shoulder_傷I4_表示;
Shoulder_シャツ_表示 = e.Shoulder_シャツ_表示;
Shoulder_ナース_表示 = e.Shoulder_ナース_表示;
= e.;
= e.;
= e.;
if (!e.)
{
= false;
}
if (e._接続.Count > 0)
{
Ele f;
_接続 = e._接続.Select(delegate(EleD g)
{
f = g.GetEle(DisUnit, Med, );
f.Par = Shoulder2;
f.ConnectionType = ConnectionInfo.Shoulder_上腕_接続;
f.(Shoulder2._接続点);
return f;
}).ToArray();
}
base. = ;
();
X0Y0_脇_脇CP = new ColorP(X0Y0_脇_脇, _脇CD, DisUnit, abj: true);
X0Y0_脇_筋肉CP = new ColorP(X0Y0_脇_筋肉, _筋肉CD, DisUnit, abj: true);
X0Y0_Shoulder_ShoulderCP = new ColorP(X0Y0_Shoulder_Shoulder, Shoulder_ShoulderCD, DisUnit, abj: true);
X0Y0_Shoulder_虫性_甲殻1CP = new ColorP(X0Y0_Shoulder_虫性_甲殻1, Shoulder_虫性_甲殻1CD, DisUnit, abj: true);
X0Y0_Shoulder_虫性_甲殻2CP = new ColorP(X0Y0_Shoulder_虫性_甲殻2, Shoulder_虫性_甲殻2CD, DisUnit, abj: true);
X0Y0_Shoulder_傷I1CP = new ColorP(X0Y0_Shoulder_傷I1, Shoulder_傷I1CD, DisUnit, abj: true);
X0Y0_Shoulder_傷I2CP = new ColorP(X0Y0_Shoulder_傷I2, Shoulder_傷I2CD, DisUnit, abj: true);
X0Y0_Shoulder_傷I3CP = new ColorP(X0Y0_Shoulder_傷I3, Shoulder_傷I3CD, DisUnit, abj: true);
X0Y0_Shoulder_傷I4CP = new ColorP(X0Y0_Shoulder_傷I4, Shoulder_傷I4CD, DisUnit, abj: true);
X0Y0_Shoulder_シャツCP = new ColorP(X0Y0_Shoulder_シャツ, Shoulder_シャツCD, DisUnit, abj: true);
X0Y0_Shoulder_ナースCP = new ColorP(X0Y0_Shoulder_ナース, Shoulder_ナースCD, DisUnit, abj: true);
= e.;
X0Y0_脇_脇.BasePointBase = X0Y0_脇_脇.BasePointBase.AddY(-0.001);
}
public void (RenderArea Are)
{
Are.Draw(X0Y0_脇_脇);
Are.Draw(X0Y0_脇_筋肉);
}
public void (RenderArea Are)
{
Are.Draw(X0Y0_Shoulder_シャツ);
Are.Draw(X0Y0_Shoulder_ナース);
}
public override void 0(RenderArea Are)
{
Are.Draw(X0Y0_Shoulder_Shoulder);
Are.Draw(X0Y0_Shoulder_傷I1);
Are.Draw(X0Y0_Shoulder_傷I2);
Are.Draw(X0Y0_Shoulder_傷I3);
Are.Draw(X0Y0_Shoulder_傷I4);
.Draw(Are);
.Draw(Are);
Are.Draw(X0Y0_Shoulder_虫性_甲殻1);
Are.Draw(X0Y0_Shoulder_虫性_甲殻2);
}
public override bool Is布(Par p)
{
if (p != X0Y0_Shoulder_シャツ)
{
return p == X0Y0_Shoulder_ナース;
}
return true;
}
public override void ()
{
X0Y0_脇_脇CP.Update();
X0Y0_脇_筋肉CP.Update();
X0Y0_Shoulder_ShoulderCP.Update();
X0Y0_Shoulder_虫性_甲殻1CP.Update();
X0Y0_Shoulder_虫性_甲殻2CP.Update();
X0Y0_Shoulder_傷I1CP.Update();
X0Y0_Shoulder_傷I2CP.Update();
X0Y0_Shoulder_傷I3CP.Update();
X0Y0_Shoulder_傷I4CP.Update();
}
public void (Vector2D[] )
{
X0Y0_Shoulder_シャツCP.Update();
}
public void (Vector2D[] )
{
X0Y0_Shoulder_ナースCP.Update();
}
private void ( )
{
N0();
}
private void N0( )
{
_脇CD = new ColorD(ref Col.Black, ref .R);
_筋肉CD = new ColorD(ref Col.Black, ref .R);
Shoulder_ShoulderCD = new ColorD(ref Col.Black, ref .O);
Shoulder_虫性_甲殻1CD = new ColorD(ref Col.Black, ref .1O);
Shoulder_虫性_甲殻2CD = new ColorD(ref Col.Black, ref .1O);
Shoulder_傷I1CD = new ColorD(ref Col.Empty, ref .);
Shoulder_傷I2CD = new ColorD(ref Col.Empty, ref .);
Shoulder_傷I3CD = new ColorD(ref Col.Empty, ref .);
Shoulder_傷I4CD = new ColorD(ref Col.Empty, ref .);
Shoulder_シャツCD = new ColorD();
Shoulder_ナースCD = new ColorD();
}
}
}

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
using _2DGAMELIB;
namespace SlaveMatrix
{
[Serializable]
public class ShoulderD : EleD
{
public bool _脇_表示 = true;
public bool _筋肉_表示;
public bool Shoulder_表示 = true;
public bool Shoulder_虫性_甲殻1_表示;
public bool Shoulder_虫性_甲殻2_表示;
public bool Shoulder_傷I1_表示;
public bool Shoulder_傷I2_表示;
public bool Shoulder_傷I3_表示;
public bool Shoulder_傷I4_表示;
public bool Shoulder_シャツ_表示;
public bool Shoulder_ナース_表示;
public List<EleD> _接続 = new List<EleD>();
public ShoulderD()
{
ThisType = GetType();
}
public void (EleD e)
{
_接続.Add(e);
e.Par = this;
e. = ConnectionInfo.Shoulder_上腕_接続;
}
public override Ele GetEle(double DisUnit, Med Med, )
{
return new Shoulder(DisUnit, , , Med, this);
}
}
}

View File

@@ -20,7 +20,7 @@ namespace SlaveMatrix
{ {
Sta.t.ToString(), Sta.t.ToString(),
Sta.t.ToString(), Sta.t.ToString(),
Sta.t.ToString(), Sta.Shouldert.ToString(),
Sta.t.ToString() Sta.t.ToString()
}; };

View File

@@ -62,11 +62,11 @@ namespace SlaveMatrix
private ContactType ; private ContactType ;
private ; private Shoulder Shoulder;
private ; private Shoulder ;
private ; private Shoulder ;
private _人 ; private _人 ;
@@ -740,7 +740,7 @@ namespace SlaveMatrix
2.Cha._人_手コキ右(0, 0.0, 0.0, 0.0, 0.0); 2.Cha._人_手コキ右(0, 0.0, 0.0, 0.0, 0.0);
} }
2. = true; 2. = true;
2. = (2. ? 2. : 2.); 2.Shoulder = (2. ? 2. : 2.);
2. = (2. ? 2. : 2.); 2. = (2. ? 2. : 2.);
2. = (2. ? 2. : 2.); 2. = (2. ? 2. : 2.);
2. = (2. ? 2. : 2.); 2. = (2. ? 2. : 2.);
@@ -755,9 +755,9 @@ namespace SlaveMatrix
}, },
Runing = delegate(Mot m) Runing = delegate(Mot m)
{ {
if (2. != null) if (2.Shoulder != null)
{ {
2..C = s * 5.0 * m.Value; 2.Shoulder.C = s * 5.0 * m.Value;
} }
if (2. != null) if (2. != null)
{ {
@@ -794,9 +794,9 @@ namespace SlaveMatrix
{ {
2. = false; 2. = false;
調UI. = false; 調UI. = false;
if (2. != null) if (2.Shoulder != null)
{ {
2..C = 0.0; 2.Shoulder.C = 0.0;
} }
if (2. != null) if (2. != null)
{ {
@@ -1106,11 +1106,11 @@ namespace SlaveMatrix
Bod = Cha.Bod; Bod = Cha.Bod;
if (Bod.n > 0) if (Bod.n > 0)
{ {
= Bod.[0].; = Bod.[0].Shoulder;
= Bod.[0].; = Bod.[0].;
= Bod.[0].; = Bod.[0].;
= Bod.[0].; = Bod.[0].;
= Bod.[0].; = Bod.[0].Shoulder;
= Bod.[0].; = Bod.[0].;
= Bod.[0].; = Bod.[0].;
= Bod.[0].; = Bod.[0].;

View File

@@ -87,7 +87,7 @@ namespace SlaveMatrix
Sta.Dt.ToString() Sta.Dt.ToString()
}; };
private static HashSet<string> = new HashSet<string> { Sta.Dt.ToString() }; private static HashSet<string> = new HashSet<string> { Sta.ShoulderDt.ToString() };
private static HashSet<string> = new HashSet<string> private static HashSet<string> = new HashSet<string>
{ {
@@ -1247,7 +1247,7 @@ namespace SlaveMatrix
}, },
{ {
ConnectionInfo._上腕_接続, ConnectionInfo.Shoulder_上腕_接続,
}, },
{ {
@@ -3784,7 +3784,7 @@ namespace SlaveMatrix
{ {
((_蝙D)item32)._鱗1_表示 = false; ((_蝙D)item32)._鱗1_表示 = false;
} }
else if (item32 is D && item32.Par is D) else if (item32 is D && item32.Par is ShoulderD)
{ {
item32.AlignR(); item32.AlignR();
} }
@@ -4448,7 +4448,7 @@ namespace SlaveMatrix
if (!) if (!)
{ {
string text = .ToString(); string text = .ToString();
if (text.Contains("") || text.Contains("脇") || text.Contains("翼")) if (text.Contains("Shoulder") || text.Contains("脇") || text.Contains("翼"))
{ {
if (num.Lot()) if (num.Lot())
{ {

View File

@@ -1,478 +0,0 @@
using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix
{
public class : Ele
{
public Par X0Y0_脇_脇;
public Par X0Y0_脇_筋肉;
public Par X0Y0_肩_肩;
public Par X0Y0_肩_虫性_甲殻1;
public Par X0Y0_肩_虫性_甲殻2;
public Par X0Y0_肩_傷I1;
public Par X0Y0_肩_傷I2;
public Par X0Y0_肩_傷I3;
public Par X0Y0_肩_傷I4;
public Par X0Y0_肩_シャツ;
public Par X0Y0_肩_ナース;
public ColorD _脇CD;
public ColorD _筋肉CD;
public ColorD _肩CD;
public ColorD _虫性_甲殻1CD;
public ColorD _虫性_甲殻2CD;
public ColorD _傷I1CD;
public ColorD _傷I2CD;
public ColorD _傷I3CD;
public ColorD _傷I4CD;
public ColorD _シャツCD;
public ColorD _ナースCD;
public ColorP X0Y0_脇_脇CP;
public ColorP X0Y0_脇_筋肉CP;
public ColorP X0Y0_肩_肩CP;
public ColorP X0Y0_肩_虫性_甲殻1CP;
public ColorP X0Y0_肩_虫性_甲殻2CP;
public ColorP X0Y0_肩_傷I1CP;
public ColorP X0Y0_肩_傷I2CP;
public ColorP X0Y0_肩_傷I3CP;
public ColorP X0Y0_肩_傷I4CP;
public ColorP X0Y0_肩_シャツCP;
public ColorP X0Y0_肩_ナースCP;
public K ;
public W ;
public Ele[] _接続;
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
_筋肉_表示 = _;
X0Y0_脇_脇.OP.ExpansionXY(X0Y0_脇_脇.OP.GetCenter(), 0.0005);
X0Y0_脇_脇.JP.ExpansionXY(X0Y0_脇_脇.JP.GetCenter(), 0.0005);
X0Y0_肩_肩.OP.ExpansionXY(X0Y0_肩_肩.OP.GetCenter(), 0.0005);
X0Y0_肩_肩.JP.ExpansionXY(X0Y0_肩_肩.JP.GetCenter(), 0.0005);
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public bool _脇_表示
{
get
{
return X0Y0_脇_脇.Dra;
}
set
{
X0Y0_脇_脇.Dra = value;
X0Y0_脇_脇.Hit = value;
}
}
public bool _筋肉_表示
{
get
{
return X0Y0_脇_筋肉.Dra;
}
set
{
X0Y0_脇_筋肉.Dra = value;
X0Y0_脇_筋肉.Hit = value;
}
}
public bool _表示
{
get
{
return X0Y0_肩_肩.Dra;
}
set
{
X0Y0_肩_肩.Dra = value;
X0Y0_肩_肩.Hit = value;
}
}
public bool _虫性_甲殻1_表示
{
get
{
return X0Y0_肩_虫性_甲殻1.Dra;
}
set
{
X0Y0_肩_虫性_甲殻1.Dra = value;
X0Y0_肩_虫性_甲殻1.Hit = value;
}
}
public bool _虫性_甲殻2_表示
{
get
{
return X0Y0_肩_虫性_甲殻2.Dra;
}
set
{
X0Y0_肩_虫性_甲殻2.Dra = value;
X0Y0_肩_虫性_甲殻2.Hit = value;
}
}
public bool _傷I1_表示
{
get
{
return X0Y0_肩_傷I1.Dra;
}
set
{
X0Y0_肩_傷I1.Dra = value;
X0Y0_肩_傷I1.Hit = value;
}
}
public bool _傷I2_表示
{
get
{
return X0Y0_肩_傷I2.Dra;
}
set
{
X0Y0_肩_傷I2.Dra = value;
X0Y0_肩_傷I2.Hit = value;
}
}
public bool _傷I3_表示
{
get
{
return X0Y0_肩_傷I3.Dra;
}
set
{
X0Y0_肩_傷I3.Dra = value;
X0Y0_肩_傷I3.Hit = value;
}
}
public bool _傷I4_表示
{
get
{
return X0Y0_肩_傷I4.Dra;
}
set
{
X0Y0_肩_傷I4.Dra = value;
X0Y0_肩_傷I4.Hit = value;
}
}
public bool _シャツ_表示
{
get
{
return X0Y0_肩_シャツ.Dra;
}
set
{
X0Y0_肩_シャツ.Dra = value;
X0Y0_肩_シャツ.Hit = value;
}
}
public bool _ナース_表示
{
get
{
return X0Y0_肩_ナース.Dra;
}
set
{
X0Y0_肩_ナース.Dra = value;
X0Y0_肩_ナース.Hit = value;
}
}
public override bool
{
get
{
return _脇_表示;
}
set
{
_脇_表示 = value;
_筋肉_表示 = value;
_表示 = value;
_虫性_甲殻1_表示 = value;
_虫性_甲殻2_表示 = value;
_傷I1_表示 = value;
_傷I2_表示 = value;
_傷I3_表示 = value;
_傷I4_表示 = value;
_シャツ_表示 = value;
_ナース_表示 = value;
}
}
public override double
{
get
{
return _脇CD.;
}
set
{
_脇CD. = value;
_筋肉CD. = value;
_肩CD. = value;
_虫性_甲殻1CD. = value;
_虫性_甲殻2CD. = value;
_傷I1CD. = value;
_傷I2CD. = value;
_傷I3CD. = value;
_傷I4CD. = value;
_シャツCD. = value;
_ナースCD. = value;
}
}
public JointS _接続点 => new JointS(, X0Y0_肩_肩, 1);
public (double DisUnit, , , Med Med, D e)
{
2 = this;
ThisType = GetType();
= new Difs(Sta.["肩"]);
Pars pars = [0][0];
Pars pars2 = pars["脇"].ToPars();
X0Y0_脇_脇 = pars2["脇"].ToPar();
X0Y0_脇_筋肉 = pars2["筋肉"].ToPar();
pars2 = pars["肩"].ToPars();
X0Y0_肩_肩 = pars2["肩"].ToPar();
Pars pars3 = pars2["虫性"].ToPars();
X0Y0_肩_虫性_甲殻1 = pars3["甲殻1"].ToPar();
X0Y0_肩_虫性_甲殻2 = pars3["甲殻2"].ToPar();
X0Y0_肩_傷I1 = pars2["傷I1"].ToPar();
X0Y0_肩_傷I2 = pars2["傷I2"].ToPar();
X0Y0_肩_傷I3 = pars2["傷I3"].ToPar();
X0Y0_肩_傷I4 = pars2["傷I4"].ToPar();
X0Y0_肩_シャツ = pars2["シャツ"].ToPar();
X0Y0_肩_ナース = pars2["ナース"].ToPar();
.SetJoints();
= new JointD();
= e.;
X = e.X;
Y = e.Y;
C = e.C;
C = e.C;
B = e.B;
C = e.C;
B = e.B;
C = e.C;
XB = e.XB;
XC = e.XC;
YB = e.YB;
YC = e.YC;
= e.;
= e.;
Xv = e.Xv;
Yv = e.Yv;
Xi = e.Xi;
Yi = e.Yi;
= e.;
X = e.X;
Y = e.Y;
_脇_表示 = e._脇_表示;
_筋肉_表示 = e._筋肉_表示;
_表示 = e._表示;
_虫性_甲殻1_表示 = e._虫性_甲殻1_表示;
_虫性_甲殻2_表示 = e._虫性_甲殻2_表示;
_傷I1_表示 = e._傷I1_表示;
_傷I2_表示 = e._傷I2_表示;
_傷I3_表示 = e._傷I3_表示;
_傷I4_表示 = e._傷I4_表示;
_シャツ_表示 = e._シャツ_表示;
_ナース_表示 = e._ナース_表示;
= e.;
= e.;
= e.;
if (!e.)
{
= false;
}
if (e._接続.Count > 0)
{
Ele f;
_接続 = e._接続.Select(delegate(EleD g)
{
f = g.GetEle(DisUnit, Med, );
f.Par = 2;
f.ConnectionType = ConnectionInfo._上腕_接続;
f.(2._接続点);
return f;
}).ToArray();
}
base. = ;
();
X0Y0_脇_脇CP = new ColorP(X0Y0_脇_脇, _脇CD, DisUnit, abj: true);
X0Y0_脇_筋肉CP = new ColorP(X0Y0_脇_筋肉, _筋肉CD, DisUnit, abj: true);
X0Y0_肩_肩CP = new ColorP(X0Y0_肩_肩, _肩CD, DisUnit, abj: true);
X0Y0_肩_虫性_甲殻1CP = new ColorP(X0Y0_肩_虫性_甲殻1, _虫性_甲殻1CD, DisUnit, abj: true);
X0Y0_肩_虫性_甲殻2CP = new ColorP(X0Y0_肩_虫性_甲殻2, _虫性_甲殻2CD, DisUnit, abj: true);
X0Y0_肩_傷I1CP = new ColorP(X0Y0_肩_傷I1, _傷I1CD, DisUnit, abj: true);
X0Y0_肩_傷I2CP = new ColorP(X0Y0_肩_傷I2, _傷I2CD, DisUnit, abj: true);
X0Y0_肩_傷I3CP = new ColorP(X0Y0_肩_傷I3, _傷I3CD, DisUnit, abj: true);
X0Y0_肩_傷I4CP = new ColorP(X0Y0_肩_傷I4, _傷I4CD, DisUnit, abj: true);
X0Y0_肩_シャツCP = new ColorP(X0Y0_肩_シャツ, _シャツCD, DisUnit, abj: true);
X0Y0_肩_ナースCP = new ColorP(X0Y0_肩_ナース, _ナースCD, DisUnit, abj: true);
= e.;
X0Y0_脇_脇.BasePointBase = X0Y0_脇_脇.BasePointBase.AddY(-0.001);
}
public void (RenderArea Are)
{
Are.Draw(X0Y0_脇_脇);
Are.Draw(X0Y0_脇_筋肉);
}
public void (RenderArea Are)
{
Are.Draw(X0Y0_肩_シャツ);
Are.Draw(X0Y0_肩_ナース);
}
public override void 0(RenderArea Are)
{
Are.Draw(X0Y0_肩_肩);
Are.Draw(X0Y0_肩_傷I1);
Are.Draw(X0Y0_肩_傷I2);
Are.Draw(X0Y0_肩_傷I3);
Are.Draw(X0Y0_肩_傷I4);
.Draw(Are);
.Draw(Are);
Are.Draw(X0Y0_肩_虫性_甲殻1);
Are.Draw(X0Y0_肩_虫性_甲殻2);
}
public override bool Is布(Par p)
{
if (p != X0Y0_肩_シャツ)
{
return p == X0Y0_肩_ナース;
}
return true;
}
public override void ()
{
X0Y0_脇_脇CP.Update();
X0Y0_脇_筋肉CP.Update();
X0Y0_肩_肩CP.Update();
X0Y0_肩_虫性_甲殻1CP.Update();
X0Y0_肩_虫性_甲殻2CP.Update();
X0Y0_肩_傷I1CP.Update();
X0Y0_肩_傷I2CP.Update();
X0Y0_肩_傷I3CP.Update();
X0Y0_肩_傷I4CP.Update();
}
public void (Vector2D[] )
{
X0Y0_肩_シャツCP.Update();
}
public void (Vector2D[] )
{
X0Y0_肩_ナースCP.Update();
}
private void ( )
{
N0();
}
private void N0( )
{
_脇CD = new ColorD(ref Col.Black, ref .R);
_筋肉CD = new ColorD(ref Col.Black, ref .R);
_肩CD = new ColorD(ref Col.Black, ref .O);
_虫性_甲殻1CD = new ColorD(ref Col.Black, ref .1O);
_虫性_甲殻2CD = new ColorD(ref Col.Black, ref .1O);
_傷I1CD = new ColorD(ref Col.Empty, ref .);
_傷I2CD = new ColorD(ref Col.Empty, ref .);
_傷I3CD = new ColorD(ref Col.Empty, ref .);
_傷I4CD = new ColorD(ref Col.Empty, ref .);
_シャツCD = new ColorD();
_ナースCD = new ColorD();
}
}
}

View File

@@ -1,51 +0,0 @@
using System;
using System.Collections.Generic;
using _2DGAMELIB;
namespace SlaveMatrix
{
[Serializable]
public class D : EleD
{
public bool _脇_表示 = true;
public bool _筋肉_表示;
public bool _表示 = true;
public bool _虫性_甲殻1_表示;
public bool _虫性_甲殻2_表示;
public bool _傷I1_表示;
public bool _傷I2_表示;
public bool _傷I3_表示;
public bool _傷I4_表示;
public bool _シャツ_表示;
public bool _ナース_表示;
public List<EleD> _接続 = new List<EleD>();
public D()
{
ThisType = GetType();
}
public void (EleD e)
{
_接続.Add(e);
e.Par = this;
e. = ConnectionInfo._上腕_接続;
}
public override Ele GetEle(double DisUnit, Med Med, )
{
return new (DisUnit, , , Med, this);
}
}
}

View File

@@ -2,7 +2,7 @@ namespace SlaveMatrix
{ {
public struct public struct
{ {
public ; public Shoulder Shoulder;
public _人 ; public _人 ;

View File

@@ -2,7 +2,7 @@ namespace SlaveMatrix
{ {
public struct public struct
{ {
public ; public Shoulder;
public ; public ;

View File

@@ -2,7 +2,7 @@ namespace SlaveMatrix
{ {
public struct public struct
{ {
public ; public Shoulder Shoulder;
public _蝙 ; public _蝙 ;

View File

@@ -2,7 +2,7 @@ namespace SlaveMatrix
{ {
public struct public struct
{ {
public ; public Shoulder Shoulder;
public _鳥 ; public _鳥 ;

View File

@@ -173,7 +173,7 @@ namespace SlaveMatrix
} }
else else
{ {
if (.ConnectionType == ConnectionInfo._上腕_接続) if (.ConnectionType == ConnectionInfo.Shoulder_上腕_接続)
{ {
X0Y0_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(.X0Y0_獣翼上腕.ToGlobal(.X0Y0_獣翼上腕.OP[3].ps[1])); X0Y0_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(.X0Y0_獣翼上腕.ToGlobal(.X0Y0_獣翼上腕.OP[3].ps[1]));
} }
@@ -197,7 +197,7 @@ namespace SlaveMatrix
X0Y0_飛膜.OP[2].ps[1] += (vector2D5 - X0Y0_飛膜.OP[2].ps[1]) * 0.3; X0Y0_飛膜.OP[2].ps[1] += (vector2D5 - X0Y0_飛膜.OP[2].ps[1]) * 0.3;
X0Y0_飛膜.OP[2].ps[2] += (vector2D5 - X0Y0_飛膜.OP[2].ps[2]) * 0.3; X0Y0_飛膜.OP[2].ps[2] += (vector2D5 - X0Y0_飛膜.OP[2].ps[2]) * 0.3;
} }
if (.ConnectionType != ConnectionInfo._上腕_接続) if (.ConnectionType != ConnectionInfo.Shoulder_上腕_接続)
{ {
X0Y0_飛膜.OP[3].ps[0] = X0Y0_飛膜.OP[2].ps[3]; X0Y0_飛膜.OP[3].ps[0] = X0Y0_飛膜.OP[2].ps[3];
} }
@@ -263,7 +263,7 @@ namespace SlaveMatrix
} }
else else
{ {
if (.ConnectionType == ConnectionInfo._上腕_接続) if (.ConnectionType == ConnectionInfo.Shoulder_上腕_接続)
{ {
X0Y0_飛膜.OP[6].ps[0] = X0Y0_飛膜.ToLocal(.X0Y0_獣翼上腕.ToGlobal(.X0Y0_獣翼上腕.OP[0].ps[4])); X0Y0_飛膜.OP[6].ps[0] = X0Y0_飛膜.ToLocal(.X0Y0_獣翼上腕.ToGlobal(.X0Y0_獣翼上腕.OP[0].ps[4]));
} }
@@ -287,7 +287,7 @@ namespace SlaveMatrix
X0Y0_飛膜.OP[6].ps[2] += (vector2D5 - X0Y0_飛膜.OP[6].ps[2]) * 0.3; X0Y0_飛膜.OP[6].ps[2] += (vector2D5 - X0Y0_飛膜.OP[6].ps[2]) * 0.3;
X0Y0_飛膜.OP[6].ps[1] += (vector2D5 - X0Y0_飛膜.OP[6].ps[1]) * 0.3; X0Y0_飛膜.OP[6].ps[1] += (vector2D5 - X0Y0_飛膜.OP[6].ps[1]) * 0.3;
} }
if (.ConnectionType != ConnectionInfo._上腕_接続) if (.ConnectionType != ConnectionInfo.Shoulder_上腕_接続)
{ {
X0Y0_飛膜.OP[5].ps[2] = X0Y0_飛膜.OP[6].ps[0]; X0Y0_飛膜.OP[5].ps[2] = X0Y0_飛膜.OP[6].ps[0];
} }
@@ -353,7 +353,7 @@ namespace SlaveMatrix
} }
else else
{ {
if (.ConnectionType == ConnectionInfo._上腕_接続) if (.ConnectionType == ConnectionInfo.Shoulder_上腕_接続)
{ {
X0Y1_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(.X0Y0_獣翼上腕.ToGlobal(.X0Y0_獣翼上腕.OP[3].ps[1])); X0Y1_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(.X0Y0_獣翼上腕.ToGlobal(.X0Y0_獣翼上腕.OP[3].ps[1]));
} }
@@ -377,7 +377,7 @@ namespace SlaveMatrix
X0Y1_飛膜.OP[2].ps[1] += (vector2D5 - X0Y1_飛膜.OP[2].ps[1]) * 0.3; X0Y1_飛膜.OP[2].ps[1] += (vector2D5 - X0Y1_飛膜.OP[2].ps[1]) * 0.3;
X0Y1_飛膜.OP[2].ps[2] += (vector2D5 - X0Y1_飛膜.OP[2].ps[2]) * 0.3; X0Y1_飛膜.OP[2].ps[2] += (vector2D5 - X0Y1_飛膜.OP[2].ps[2]) * 0.3;
} }
if (.ConnectionType != ConnectionInfo._上腕_接続) if (.ConnectionType != ConnectionInfo.Shoulder_上腕_接続)
{ {
X0Y1_飛膜.OP[3].ps[0] = X0Y1_飛膜.OP[2].ps[3]; X0Y1_飛膜.OP[3].ps[0] = X0Y1_飛膜.OP[2].ps[3];
} }
@@ -487,7 +487,7 @@ namespace SlaveMatrix
} }
else else
{ {
if (.ConnectionType == ConnectionInfo._上腕_接続) if (.ConnectionType == ConnectionInfo.Shoulder_上腕_接続)
{ {
X0Y1_飛膜.OP[40].ps[0] = X0Y0_飛膜.ToLocal(.X0Y0_獣翼上腕.ToGlobal(.X0Y0_獣翼上腕.OP[0].ps[4])); X0Y1_飛膜.OP[40].ps[0] = X0Y0_飛膜.ToLocal(.X0Y0_獣翼上腕.ToGlobal(.X0Y0_獣翼上腕.OP[0].ps[4]));
} }
@@ -511,7 +511,7 @@ namespace SlaveMatrix
X0Y1_飛膜.OP[40].ps[2] += (vector2D5 - X0Y1_飛膜.OP[40].ps[2]) * 0.3; X0Y1_飛膜.OP[40].ps[2] += (vector2D5 - X0Y1_飛膜.OP[40].ps[2]) * 0.3;
X0Y1_飛膜.OP[40].ps[1] += (vector2D5 - X0Y1_飛膜.OP[40].ps[1]) * 0.3; X0Y1_飛膜.OP[40].ps[1] += (vector2D5 - X0Y1_飛膜.OP[40].ps[1]) * 0.3;
} }
if (.ConnectionType != ConnectionInfo._上腕_接続) if (.ConnectionType != ConnectionInfo.Shoulder_上腕_接続)
{ {
X0Y1_飛膜.OP[39].ps[2] = X0Y1_飛膜.OP[40].ps[0]; X0Y1_飛膜.OP[39].ps[2] = X0Y1_飛膜.OP[40].ps[0];
} }

View File

@@ -344,17 +344,17 @@ namespace SlaveMatrix
private List<Ele> = new List<Ele>(); private List<Ele> = new List<Ele>();
private [] s = new [0]; private Shoulder[] s = new Shoulder[0];
private [] s = new [0]; private Shoulder[] s = new Shoulder[0];
public List<Ele>[] s = new List<Ele>[0]; public List<Ele>[] s = new List<Ele>[0];
public List<Ele>[] s = new List<Ele>[0]; public List<Ele>[] s = new List<Ele>[0];
private ; private Shoulder ;
private ; private Shoulder ;
private List<Ele> = new List<Ele>(); private List<Ele> = new List<Ele>();
@@ -2947,7 +2947,7 @@ namespace SlaveMatrix
}; };
D wd = new D(); D wd = new D();
= new List<>(); = new List<>();
; Shoulder ;
; ;
_人 ; _人 ;
; ;
@@ -2982,9 +2982,9 @@ namespace SlaveMatrix
} }
if (current_element.) if (current_element.)
{ {
if (current_element is ) if (current_element is Shoulder)
{ {
= ()current_element; = (Shoulder)current_element;
. = new K(Med, Are, Cha, this, kd, ); . = new K(Med, Are, Cha, this, kd, );
sk.Add(.); sk.Add(.);
. = new W(Med, Are, Cha, this, wd, ); . = new W(Med, Are, Cha, this, wd, );
@@ -2998,7 +2998,7 @@ namespace SlaveMatrix
current_element. = false; current_element. = false;
} }
= default(); = default();
. = 2; .Shoulder = 2;
2._接続.SetEle(delegate( ) 2._接続.SetEle(delegate( )
{ {
. = ; . = ;
@@ -3111,13 +3111,13 @@ namespace SlaveMatrix
} }
else if (current_element is ) else if (current_element is )
{ {
if (current_element.ConnectionType == ConnectionInfo._上腕_接続) if (current_element.ConnectionType == ConnectionInfo.Shoulder_上腕_接続)
{ {
= ()current_element.Par; = (Shoulder)current_element.Par;
if (current_element is _鳥) if (current_element is _鳥)
{ {
= default(); = default();
. = ; .Shoulder = ;
._接続.SetEle(delegate(_鳥 ) ._接続.SetEle(delegate(_鳥 )
{ {
. = new K(Med, Are, Cha, bod, kd, ); . = new K(Med, Are, Cha, bod, kd, );
@@ -3140,10 +3140,10 @@ namespace SlaveMatrix
else if (current_element is _蝙) else if (current_element is _蝙)
{ {
= default(); = default();
. = ; .Shoulder = ;
._接続.SetEle(delegate(_蝙 ) ._接続.SetEle(delegate(_蝙 )
{ {
.CD.c2.Col1 = ._肩CD.c2.Col1; .CD.c2.Col1 = .Shoulder_ShoulderCD.c2.Col1;
. = ; . = ;
._接続.SetEle(delegate(_蝙 ) ._接続.SetEle(delegate(_蝙 )
{ {
@@ -3161,7 +3161,7 @@ namespace SlaveMatrix
else else
{ {
= default(); = default();
. = ; .Shoulder = ;
._接続.SetEle(delegate(_人 ) ._接続.SetEle(delegate(_人 )
{ {
. = new K(Med, Are, Cha, bod, kd, ); . = new K(Med, Are, Cha, bod, kd, );
@@ -3375,9 +3375,9 @@ namespace SlaveMatrix
.Add(()current_element); .Add(()current_element);
} }
} }
else if (current_element is ) else if (current_element is Shoulder)
{ {
= ()current_element; = (Shoulder)current_element;
. = new K(Med, Are, Cha, this, kd, ); . = new K(Med, Are, Cha, this, kd, );
sk.Add(.); sk.Add(.);
. = new W(Med, Are, Cha, this, wd, ); . = new W(Med, Are, Cha, this, wd, );
@@ -3391,7 +3391,7 @@ namespace SlaveMatrix
current_element. = false; current_element. = false;
} }
= default(); = default();
. = 2; .Shoulder = 2;
2._接続.SetEle(delegate( ) 2._接続.SetEle(delegate( )
{ {
. = ; . = ;
@@ -3504,13 +3504,13 @@ namespace SlaveMatrix
} }
else if (current_element is ) else if (current_element is )
{ {
if (current_element.ConnectionType == ConnectionInfo._上腕_接続) if (current_element.ConnectionType == ConnectionInfo.Shoulder_上腕_接続)
{ {
= ()current_element.Par; = (Shoulder)current_element.Par;
if (current_element is _鳥) if (current_element is _鳥)
{ {
= default(); = default();
. = ; .Shoulder = ;
._接続.SetEle(delegate(_鳥 ) ._接続.SetEle(delegate(_鳥 )
{ {
. = new K(Med, Are, Cha, bod, kd, ); . = new K(Med, Are, Cha, bod, kd, );
@@ -3533,10 +3533,10 @@ namespace SlaveMatrix
else if (current_element is _蝙) else if (current_element is _蝙)
{ {
= default(); = default();
. = ; .Shoulder = ;
._接続.SetEle(delegate(_蝙 ) ._接続.SetEle(delegate(_蝙 )
{ {
.CD.c2.Col1 = ._肩CD.c2.Col1; .CD.c2.Col1 = .Shoulder_ShoulderCD.c2.Col1;
. = ; . = ;
._接続.SetEle(delegate(_蝙 ) ._接続.SetEle(delegate(_蝙 )
{ {
@@ -3554,7 +3554,7 @@ namespace SlaveMatrix
else else
{ {
= default(); = default();
. = ; .Shoulder = ;
._接続.SetEle(delegate(_人 ) ._接続.SetEle(delegate(_人 )
{ {
. = new K(Med, Are, Cha, bod, kd, ); . = new K(Med, Are, Cha, bod, kd, );
@@ -4180,7 +4180,7 @@ namespace SlaveMatrix
} }
if (._接続 != null) if (._接続 != null)
{ {
s = ._接続.GetEles<>().ToArray(); s = ._接続.GetEles<Shoulder>().ToArray();
= s.LastOrDefault(); = s.LastOrDefault();
if (s.Length > 1) if (s.Length > 1)
{ {
@@ -4210,7 +4210,7 @@ namespace SlaveMatrix
nsl = new bool[1 + ((s != null) ? s.Length : 0)]; nsl = new bool[1 + ((s != null) ? s.Length : 0)];
if (._接続 != null) if (._接続 != null)
{ {
s = ._接続.GetEles<>().ToArray(); s = ._接続.GetEles<Shoulder>().ToArray();
= s.LastOrDefault(); = s.LastOrDefault();
if (s.Length > 1) if (s.Length > 1)
{ {
@@ -4307,7 +4307,7 @@ namespace SlaveMatrix
{ {
Sort(._接続.Select((Ele e) => e.EnumEle()).JoinEnum(), ); Sort(._接続.Select((Ele e) => e.EnumEle()).JoinEnum(), );
} }
if (.Count > 0 && .First().._接続.IsEle<>()) if (.Count > 0 && .First().Shoulder._接続.IsEle<>())
{ {
Sort(from e in .EnumEle().Skip(1) Sort(from e in .EnumEle().Skip(1)
where !bod..Contains(e) where !bod..Contains(e)
@@ -4342,7 +4342,7 @@ namespace SlaveMatrix
{ {
Sort(._接続.Select((Ele e) => e.EnumEle()).JoinEnum(), ); Sort(._接続.Select((Ele e) => e.EnumEle()).JoinEnum(), );
} }
if (.Count > 0 && .First().._接続.IsEle<>()) if (.Count > 0 && .First().Shoulder._接続.IsEle<>())
{ {
Sort(from e in .EnumEle().Skip(1) Sort(from e in .EnumEle().Skip(1)
where !bod..Contains(e) where !bod..Contains(e)
@@ -5495,7 +5495,7 @@ namespace SlaveMatrix
bod..1(are); bod..1(are);
bod..0(are); bod..0(are);
bod..1(are); bod..1(are);
[] array5 = bod.s; Shoulder[] array5 = bod.s;
for (int n = 0; n < array5.Length; n++) for (int n = 0; n < array5.Length; n++)
{ {
array5[n].(are); array5[n].(are);

View File

@@ -2050,7 +2050,7 @@ namespace SlaveMatrix
{ {
result.p = result.e..GetHitPar_(HitColor); result.p = result.e..GetHitPar_(HitColor);
bool flag = false; bool flag = false;
bool flag2 = result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is Leg || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is ; bool flag2 = result.e is Shoulder || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is Leg || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is || result.e is ;
if (result.e is || result.e is ) if (result.e is || result.e is )
{ {
result.c = ContactType.Head; result.c = ContactType.Head;
@@ -2075,7 +2075,7 @@ namespace SlaveMatrix
{ {
result.c = ContactType.Neck; result.c = ContactType.Neck;
} }
else if (result.e is ) else if (result.e is Shoulder)
{ {
result.c = ContactType.Shoulder; result.c = ContactType.Shoulder;
} }

View File

@@ -599,7 +599,7 @@ namespace SlaveMatrix
ConnectionInfo._翼下右_接続 => 0, ConnectionInfo._翼下右_接続 => 0,
ConnectionInfo._背中_接続 => 0, ConnectionInfo._背中_接続 => 0,
ConnectionInfo._噴乳_接続 => 1, ConnectionInfo._噴乳_接続 => 1,
ConnectionInfo._上腕_接続 => 1, ConnectionInfo.Shoulder_上腕_接続 => 1,
ConnectionInfo.Torso_胸_接続 => 1, ConnectionInfo.Torso_胸_接続 => 1,
ConnectionInfo.Torso_肌_接続 => 1, ConnectionInfo.Torso_肌_接続 => 1,
ConnectionInfo.Torso_翼左_接続 => 0, ConnectionInfo.Torso_翼左_接続 => 0,

View File

@@ -4421,8 +4421,8 @@ namespace SlaveMatrix
public static void _人左(this Cha Cha, int n, double u1, double u2, double u3, double u4, double B, double B, double B, double B, double XC, double XC, double XC, double C, double C, bool , bool , bool Y, int Yi, bool ) public static void _人左(this Cha Cha, int n, double u1, double u2, double u3, double u4, double B, double B, double B, double B, double XC, double XC, double XC, double C, double C, bool , bool , bool Y, int Yi, bool )
{ {
2 = Cha.Bod.[n]; 2 = Cha.Bod.[n];
2..SetAngle0(); 2.Shoulder.SetAngle0();
2..B = B + u1; 2.Shoulder.B = B + u1;
if (2. != null) if (2. != null)
{ {
2.._外線 = ; 2.._外線 = ;
@@ -4504,14 +4504,14 @@ namespace SlaveMatrix
} }
} }
} }
2..(); 2.Shoulder.();
} }
public static void _人右(this Cha Cha, int n, double u1, double u2, double u3, double u4, double B, double B, double B, double B, double XC, double XC, double XC, double C, double C, bool , bool , bool Y, int Yi, bool ) public static void _人右(this Cha Cha, int n, double u1, double u2, double u3, double u4, double B, double B, double B, double B, double XC, double XC, double XC, double C, double C, bool , bool , bool Y, int Yi, bool )
{ {
2 = Cha.Bod.[n]; 2 = Cha.Bod.[n];
2..SetAngle0(); 2.Shoulder.SetAngle0();
2..B = 0.0 - B + (0.0 - u1); 2.Shoulder.B = 0.0 - B + (0.0 - u1);
if (2. != null) if (2. != null)
{ {
2.._外線 = ; 2.._外線 = ;
@@ -4593,7 +4593,7 @@ namespace SlaveMatrix
} }
} }
} }
2..(); 2.Shoulder.();
} }
public static void _人_腕置き左(this Cha Cha, int n, double u1, double u2, double u3, double u4) public static void _人_腕置き左(this Cha Cha, int n, double u1, double u2, double u3, double u4)
@@ -4997,7 +4997,7 @@ namespace SlaveMatrix
{ {
foreach ( item in Cha.Bod.) foreach ( item in Cha.Bod.)
{ {
item..C = a * RNG.XS.NextDouble(); item.Shoulder.C = a * RNG.XS.NextDouble();
if (item. == null) if (item. == null)
{ {
continue; continue;
@@ -5014,7 +5014,7 @@ namespace SlaveMatrix
} }
foreach ( item2 in Cha.Bod.) foreach ( item2 in Cha.Bod.)
{ {
item2..C = (0.0 - a) * RNG.XS.NextDouble(); item2.Shoulder.C = (0.0 - a) * RNG.XS.NextDouble();
if (item2. == null) if (item2. == null)
{ {
continue; continue;
@@ -5034,10 +5034,10 @@ namespace SlaveMatrix
public static void _翼鳥左(this Cha Cha, int n, double u1, double u2, double u3, double u4, double , double , double , double B, double B, double B, double B) public static void _翼鳥左(this Cha Cha, int n, double u1, double u2, double u3, double u4, double , double , double , double B, double B, double B, double B)
{ {
2 = Cha.Bod.[n]; 2 = Cha.Bod.[n];
2..SetAngle0(); 2.Shoulder.SetAngle0();
if (n == 0) if (n == 0)
{ {
2..B = B + u1; 2.Shoulder.B = B + u1;
} }
if (2. != null) if (2. != null)
{ {
@@ -5057,16 +5057,16 @@ namespace SlaveMatrix
} }
} }
} }
2..(); 2.Shoulder.();
} }
public static void _翼鳥右(this Cha Cha, int n, double u1, double u2, double u3, double u4, double , double , double , double B, double B, double B, double B) public static void _翼鳥右(this Cha Cha, int n, double u1, double u2, double u3, double u4, double , double , double , double B, double B, double B, double B)
{ {
2 = Cha.Bod.[n]; 2 = Cha.Bod.[n];
2..SetAngle0(); 2.Shoulder.SetAngle0();
if (n == 0) if (n == 0)
{ {
2..B = 0.0 - B + (0.0 - u1); 2.Shoulder.B = 0.0 - B + (0.0 - u1);
} }
if (2. != null) if (2. != null)
{ {
@@ -5086,7 +5086,7 @@ namespace SlaveMatrix
} }
} }
} }
2..(); 2.Shoulder.();
} }
public static void _翼鳥_脱力左(this Cha Cha, int n, double u1, double u2, double u3, double u4) public static void _翼鳥_脱力左(this Cha Cha, int n, double u1, double u2, double u3, double u4)
@@ -5247,21 +5247,21 @@ namespace SlaveMatrix
{ {
foreach ( item in Cha.Bod.) foreach ( item in Cha.Bod.)
{ {
item..C = a * RNG.XS.NextDouble(); item.Shoulder.C = a * RNG.XS.NextDouble();
} }
foreach ( item2 in Cha.Bod.) foreach ( item2 in Cha.Bod.)
{ {
item2..C = (0.0 - a) * RNG.XS.NextDouble(); item2.Shoulder.C = (0.0 - a) * RNG.XS.NextDouble();
} }
} }
public static void _翼獣左(this Cha Cha, int n, double u1, double u2, double u3, double u4, double , double , double , double B, double B, double B, double B) public static void _翼獣左(this Cha Cha, int n, double u1, double u2, double u3, double u4, double , double , double , double B, double B, double B, double B)
{ {
2 = Cha.Bod.[n]; 2 = Cha.Bod.[n];
2..SetAngle0(); 2.Shoulder.SetAngle0();
if (n == 0) if (n == 0)
{ {
2..B = B + u1; 2.Shoulder.B = B + u1;
} }
if (2. != null) if (2. != null)
{ {
@@ -5281,16 +5281,16 @@ namespace SlaveMatrix
} }
} }
} }
2..(); 2.Shoulder.();
} }
public static void _翼獣右(this Cha Cha, int n, double u1, double u2, double u3, double u4, double , double , double , double B, double B, double B, double B) public static void _翼獣右(this Cha Cha, int n, double u1, double u2, double u3, double u4, double , double , double , double B, double B, double B, double B)
{ {
2 = Cha.Bod.[n]; 2 = Cha.Bod.[n];
2..SetAngle0(); 2.Shoulder.SetAngle0();
if (n == 0) if (n == 0)
{ {
2..B = 0.0 - B + (0.0 - u1); 2.Shoulder.B = 0.0 - B + (0.0 - u1);
} }
if (2. != null) if (2. != null)
{ {
@@ -5310,7 +5310,7 @@ namespace SlaveMatrix
} }
} }
} }
2..(); 2.Shoulder.();
} }
public static void _翼獣_脱力左(this Cha Cha, int n, double u1, double u2, double u3, double u4) public static void _翼獣_脱力左(this Cha Cha, int n, double u1, double u2, double u3, double u4)
@@ -5439,18 +5439,18 @@ namespace SlaveMatrix
{ {
foreach ( item in Cha.Bod.) foreach ( item in Cha.Bod.)
{ {
item..C = a * RNG.XS.NextDouble(); item.Shoulder.C = a * RNG.XS.NextDouble();
} }
foreach ( item2 in Cha.Bod.) foreach ( item2 in Cha.Bod.)
{ {
item2..C = (0.0 - a) * RNG.XS.NextDouble(); item2.Shoulder.C = (0.0 - a) * RNG.XS.NextDouble();
} }
} }
public static void _獣左(this Cha Cha, int n, double u2, double u3, double u4, double B, double B, double B, double XC, double XC, double XC) public static void _獣左(this Cha Cha, int n, double u2, double u3, double u4, double B, double B, double B, double XC, double XC, double XC)
{ {
2 = Cha.Bod.[n]; 2 = Cha.Bod.[n];
2..SetAngle0(); 2.Shoulder.SetAngle0();
if (2. != null) if (2. != null)
{ {
2..SetAngle0(); 2..SetAngle0();
@@ -5469,13 +5469,13 @@ namespace SlaveMatrix
} }
} }
} }
2..(); 2.Shoulder.();
} }
public static void _獣右(this Cha Cha, int n, double u2, double u3, double u4, double B, double B, double B, double XC, double XC, double XC) public static void _獣右(this Cha Cha, int n, double u2, double u3, double u4, double B, double B, double B, double XC, double XC, double XC)
{ {
2 = Cha.Bod.[n]; 2 = Cha.Bod.[n];
2..SetAngle0(); 2.Shoulder.SetAngle0();
if (2. != null) if (2. != null)
{ {
2..SetAngle0(); 2..SetAngle0();
@@ -5494,7 +5494,7 @@ namespace SlaveMatrix
} }
} }
} }
2..(); 2.Shoulder.();
} }
public static void _獣_基本左(this Cha Cha, int n, double u1, double u2, double u3, double u4) public static void _獣_基本左(this Cha Cha, int n, double u1, double u2, double u3, double u4)

File diff suppressed because it is too large Load Diff

View File

@@ -52,7 +52,7 @@ namespace SlaveMatrix
public static Type t; public static Type t;
public static Type t; public static Type Shouldert;
public static Type t; public static Type t;
@@ -88,7 +88,7 @@ namespace SlaveMatrix
public static Type _獣Dt; public static Type _獣Dt;
public static Type Dt; public static Type ShoulderDt;
public static Type 1_Dt; public static Type 1_Dt;
@@ -1092,7 +1092,9 @@ namespace SlaveMatrix
//Ser.ToJson(胴体, "C:\\Users\\dave\\Documents\\胴体.json"); //Ser.ToJson(胴体, "C:\\Users\\dave\\Documents\\胴体.json");
//胴体 = Ser.UnJson<Obj>("C:\\Users\\dave\\Documents\\胴体.json"); //胴体 = Ser.UnJson<Obj>("C:\\Users\\dave\\Documents\\胴体.json");
= Resources..ObjLoad(); obj = Resources..ObjLoad();
obj.MigrateKeys();
= obj;
//肩左.SaveExMod("C:\\Users\\dave\\Documents\\肩左"); //肩左.SaveExMod("C:\\Users\\dave\\Documents\\肩左");
//Ser.ToJson(肩左, "C:\\Users\\dave\\Documents\\肩左.json"); //Ser.ToJson(肩左, "C:\\Users\\dave\\Documents\\肩左.json");
//肩左 = Ser.UnJson<Obj>("C:\\Users\\dave\\Documents\\肩左.json"); //肩左 = Ser.UnJson<Obj>("C:\\Users\\dave\\Documents\\肩左.json");
@@ -1102,8 +1104,9 @@ namespace SlaveMatrix
//Ser.ToJson(腕左, "C:\\Users\\dave\\Documents\\腕左.json"); //Ser.ToJson(腕左, "C:\\Users\\dave\\Documents\\腕左.json");
//腕左 = Ser.UnJson<Obj>("C:\\Users\\dave\\Documents\\腕左.json"); //腕左 = Ser.UnJson<Obj>("C:\\Users\\dave\\Documents\\腕左.json");
obj = Resources..ObjLoad();
= Resources..ObjLoad(); obj.MigrateKeys();
= obj;
//脚左.SaveExMod("C:\\Users\\dave\\Documents\\脚左"); //脚左.SaveExMod("C:\\Users\\dave\\Documents\\脚左");
//Ser.ToJson(脚左, "C:\\Users\\dave\\Documents\\脚左.json"); //Ser.ToJson(脚左, "C:\\Users\\dave\\Documents\\脚左.json");
//脚左 = Ser.UnJson<Obj>("C:\\Users\\dave\\Documents\\脚左.json"); //脚左 = Ser.UnJson<Obj>("C:\\Users\\dave\\Documents\\脚左.json");
@@ -1162,7 +1165,7 @@ namespace SlaveMatrix
Elet = typeof(Ele); Elet = typeof(Ele);
EleDt = typeof(EleD); EleDt = typeof(EleD);
t = typeof(); t = typeof();
t = typeof(); Shouldert = typeof(Shoulder);
t = typeof(Torso); t = typeof(Torso);
t = typeof(Waist); t = typeof(Waist);
_鯨t = typeof(_鯨); _鯨t = typeof(_鯨);
@@ -1180,7 +1183,7 @@ namespace SlaveMatrix
_鰭Dt = typeof(_鰭D); _鰭Dt = typeof(_鰭D);
_羽Dt = typeof(_羽D); _羽Dt = typeof(_羽D);
_獣Dt = typeof(_獣D); _獣Dt = typeof(_獣D);
Dt = typeof(D); ShoulderDt = typeof(ShoulderD);
1_Dt = typeof(1_D); 1_Dt = typeof(1_D);
1_Dt = typeof(1_D); 1_Dt = typeof(1_D);
1_Dt = typeof(1_D); 1_Dt = typeof(1_D);