MotV => MotionBase, FPS -> FpsCounter
This commit is contained in:
@@ -3,7 +3,7 @@ using System.Diagnostics;
|
|||||||
|
|
||||||
namespace _2DGAMELIB
|
namespace _2DGAMELIB
|
||||||
{
|
{
|
||||||
public class FPS
|
public class FpsCounter
|
||||||
{
|
{
|
||||||
public Stopwatch sw = new Stopwatch();
|
public Stopwatch sw = new Stopwatch();
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ namespace _2DGAMELIB
|
|||||||
public double Value;
|
public double Value;
|
||||||
|
|
||||||
private double ticks_per_frame;
|
private double ticks_per_frame;
|
||||||
public FPS(double FPS)
|
public FpsCounter(double FPS)
|
||||||
{
|
{
|
||||||
Value = FPS;
|
Value = FPS;
|
||||||
ticks_per_frame = (double)Stopwatch.Frequency / FPS;
|
ticks_per_frame = (double)Stopwatch.Frequency / FPS;
|
||||||
@@ -30,7 +30,7 @@ namespace _2DGAMELIB
|
|||||||
public Graphics HitGraphics;
|
public Graphics HitGraphics;
|
||||||
|
|
||||||
public SceneFader SceneFader;
|
public SceneFader SceneFader;
|
||||||
public FPS FPSF = new FPS(60.0);
|
public FpsCounter FPSF = new FpsCounter(60.0);
|
||||||
|
|
||||||
private Size BaseSize = Size.Empty;
|
private Size BaseSize = Size.Empty;
|
||||||
private Vector2D resVector = DataConsts.Vec2DZero;
|
private Vector2D resVector = DataConsts.Vec2DZero;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
public Action<FPS> Draw = delegate
|
public Action<FpsCounter> Draw = delegate
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using System;
|
|||||||
|
|
||||||
namespace _2DGAMELIB
|
namespace _2DGAMELIB
|
||||||
{
|
{
|
||||||
public class Motion : MotV
|
public class Motion : MotionBase
|
||||||
{
|
{
|
||||||
public Action<Motion> OnStart;
|
public Action<Motion> OnStart;
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public new void GetValue(FPS FPS)
|
public new void GetValue(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (!run)
|
if (!run)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
namespace _2DGAMELIB
|
namespace _2DGAMELIB
|
||||||
{
|
{
|
||||||
public class MotV
|
public class MotionBase
|
||||||
{
|
{
|
||||||
public double Value;
|
public double Value;
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public MotV(double Min, double Max)
|
public MotionBase(double Min, double Max)
|
||||||
{
|
{
|
||||||
min = Min;
|
min = Min;
|
||||||
max = Max;
|
max = Max;
|
||||||
@@ -78,13 +78,13 @@ namespace _2DGAMELIB
|
|||||||
Value = min;
|
Value = min;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Count(FPS FPS)
|
private void Count(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
m = Frame / FPS.Value;
|
m = Frame / FPS.Value;
|
||||||
Value += (m * d + m * LowestIncrease) * BaseSpeed * ((s > 0) ? GotoSpeed : RetuSpeed) * (double)s;
|
Value += (m * d + m * LowestIncrease) * BaseSpeed * ((s > 0) ? GotoSpeed : RetuSpeed) * (double)s;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void GetValue(FPS FPS)
|
public void GetValue(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (!((double)(FPS.sw.ElapsedMilliseconds - st) < Interval) && FPS.Value > 0.0)
|
if (!((double)(FPS.sw.ElapsedMilliseconds - st) < Interval) && FPS.Value > 0.0)
|
||||||
{
|
{
|
||||||
@@ -35,7 +35,7 @@ namespace _2DGAMELIB
|
|||||||
ms.Remove(Name);
|
ms.Remove(Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Drive(FPS FPS)
|
public void Drive(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
foreach (Motion value in ms.Values)
|
foreach (Motion value in ms.Values)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
private MotV mv;
|
private MotionBase mv;
|
||||||
|
|
||||||
private bool f1;
|
private bool f1;
|
||||||
|
|
||||||
@@ -162,7 +162,7 @@ namespace _2DGAMELIB
|
|||||||
this.Action = Action;
|
this.Action = Action;
|
||||||
SetParT(Name, ref Position, Size, Width, Height, Font, TextSize, Text, ref TextColor, ref ShadColor, ref BackColor);
|
SetParT(Name, ref Position, Size, Width, Height, Font, TextSize, Text, ref TextColor, ref ShadColor, ref BackColor);
|
||||||
SetFeed(Name, Size, ref FeedColor);
|
SetFeed(Name, Size, ref FeedColor);
|
||||||
mv = new MotV(0.0, 255.0);
|
mv = new MotionBase(0.0, 255.0);
|
||||||
mv.BaseSpeed = 2.0;
|
mv.BaseSpeed = 2.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -258,7 +258,7 @@ namespace _2DGAMELIB
|
|||||||
_shapePartT.HitColor = Med.GetUniqueColor();
|
_shapePartT.HitColor = Med.GetUniqueColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Progression(FPS FPS)
|
public void Progression(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (!f1)
|
if (!f1)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -310,7 +310,7 @@ namespace SlaveMatrix
|
|||||||
nb.Up(ref HitColor);
|
nb.Up(ref HitColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Draw(RenderArea Are, FPS FPS)
|
public void Draw(RenderArea Are, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (MaiShow)
|
if (MaiShow)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ namespace SlaveMatrix
|
|||||||
TextBlock.Position = 吹出し.X0Y0_吹出し.ToGlobal(吹出し.X0Y0_吹出し.JP[0].Joint);
|
TextBlock.Position = 吹出し.X0Y0_吹出し.ToGlobal(吹出し.X0Y0_吹出し.JP[0].Joint);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Draw(RenderArea Are, FPS FPS)
|
public void Draw(RenderArea Are, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
TextBlock.Progression(FPS);
|
TextBlock.Progression(FPS);
|
||||||
if (Dis)
|
if (Dis)
|
||||||
|
|||||||
@@ -1685,7 +1685,7 @@ namespace SlaveMatrix
|
|||||||
this.SetInitialAngle();
|
this.SetInitialAngle();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Draw(RenderArea Are, FPS FPS)
|
public void Draw(RenderArea Are, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
this.FPS = FPS.Value;
|
this.FPS = FPS.Value;
|
||||||
Motions.Drive(FPS);
|
Motions.Drive(FPS);
|
||||||
|
|||||||
@@ -158,23 +158,23 @@ namespace SlaveMatrix
|
|||||||
public static RenderArea drawArea;
|
public static RenderArea drawArea;
|
||||||
|
|
||||||
|
|
||||||
private static Action<RenderArea, FPS> メインフォーム描画;
|
private static Action<RenderArea, FpsCounter> メインフォーム描画;
|
||||||
private static Action<RenderArea, FPS> 調教描画;
|
private static Action<RenderArea, FpsCounter> 調教描画;
|
||||||
public static Action<RenderArea, FPS> 撮影描画;
|
public static Action<RenderArea, FpsCounter> 撮影描画;
|
||||||
private static Action<RenderArea, FPS> 対象描画;
|
private static Action<RenderArea, FpsCounter> 対象描画;
|
||||||
private static Action<RenderArea, FPS> DrawBlessing;
|
private static Action<RenderArea, FpsCounter> DrawBlessing;
|
||||||
private static Action<RenderArea, FPS> DrawOffice;
|
private static Action<RenderArea, FpsCounter> DrawOffice;
|
||||||
private static Action<RenderArea, FPS> DrawDebt;
|
private static Action<RenderArea, FpsCounter> DrawDebt;
|
||||||
private static Action<RenderArea, FPS> DrawSlaveShop;
|
private static Action<RenderArea, FpsCounter> DrawSlaveShop;
|
||||||
private static Action<RenderArea, FPS> DrawToolShop;
|
private static Action<RenderArea, FpsCounter> DrawToolShop;
|
||||||
private static Action<RenderArea, FPS> 中継描画;
|
private static Action<RenderArea, FpsCounter> 中継描画;
|
||||||
private static Action<RenderArea, FPS> DrawOP0;
|
private static Action<RenderArea, FpsCounter> DrawOP0;
|
||||||
private static Action<RenderArea, FPS> DrawOP1;
|
private static Action<RenderArea, FpsCounter> DrawOP1;
|
||||||
private static Action<RenderArea, FPS> 説明描画;
|
private static Action<RenderArea, FpsCounter> 説明描画;
|
||||||
private static Action<RenderArea, FPS> 初事務所描画;
|
private static Action<RenderArea, FpsCounter> 初事務所描画;
|
||||||
private static Action<RenderArea, FPS> 返済イベント描画;
|
private static Action<RenderArea, FpsCounter> 返済イベント描画;
|
||||||
private static Action<RenderArea, FPS> 日数進行描画;
|
private static Action<RenderArea, FpsCounter> 日数進行描画;
|
||||||
private static Action<RenderArea, FPS> PlayerInformationSliders;
|
private static Action<RenderArea, FpsCounter> PlayerInformationSliders;
|
||||||
private static Action 対象UI初期化;
|
private static Action 対象UI初期化;
|
||||||
private static Action 奴隷UI初期化;
|
private static Action 奴隷UI初期化;
|
||||||
|
|
||||||
@@ -520,13 +520,13 @@ namespace SlaveMatrix
|
|||||||
|
|
||||||
//would really prefer not to have these here...
|
//would really prefer not to have these here...
|
||||||
private static bool fade_in;
|
private static bool fade_in;
|
||||||
static MotV mv = new MotV(0.0, 1.0)
|
static MotionBase mv = new MotionBase(0.0, 1.0)
|
||||||
{
|
{
|
||||||
BaseSpeed = 2.0
|
BaseSpeed = 2.0
|
||||||
};
|
};
|
||||||
static double v = 0.0;
|
static double v = 0.0;
|
||||||
|
|
||||||
private static void SwitchMode(ModeEventDispatcher Med, RenderArea Are, FPS FPS, Action<RenderArea, FPS> 描画)
|
private static void SwitchMode(ModeEventDispatcher Med, RenderArea Are, FpsCounter FPS, Action<RenderArea, FpsCounter> 描画)
|
||||||
{
|
{
|
||||||
if (fade_in)
|
if (fade_in)
|
||||||
{
|
{
|
||||||
@@ -552,7 +552,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SwitchMode(this ModeEventDispatcher Med, string Mode, RenderArea Are, Action<RenderArea, FPS> 描画)
|
public static void SwitchMode(this ModeEventDispatcher Med, string Mode, RenderArea Are, Action<RenderArea, FpsCounter> 描画)
|
||||||
{
|
{
|
||||||
Med.Mode = Mode;
|
Med.Mode = Mode;
|
||||||
描画(drawArea, Med.FPSF);
|
描画(drawArea, Med.FPSF);
|
||||||
@@ -1158,7 +1158,7 @@ namespace SlaveMatrix
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
public static Module Credit(ModeEventDispatcher Med) {
|
public static Module Credit(ModeEventDispatcher Med) {
|
||||||
MotV mv = new MotV(0.0, 1.0){BaseSpeed = 0.5};
|
MotionBase mv = new MotionBase(0.0, 1.0){BaseSpeed = 0.5};
|
||||||
|
|
||||||
double v = 0.0;
|
double v = 0.0;
|
||||||
bool fadeIn = true;
|
bool fadeIn = true;
|
||||||
@@ -1185,7 +1185,7 @@ namespace SlaveMatrix
|
|||||||
Med.Mode = "Title";
|
Med.Mode = "Title";
|
||||||
},
|
},
|
||||||
|
|
||||||
Draw = delegate (FPS FPS)
|
Draw = delegate (FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (fadeIn || fadeOut)
|
if (fadeIn || fadeOut)
|
||||||
{
|
{
|
||||||
@@ -1239,7 +1239,7 @@ namespace SlaveMatrix
|
|||||||
|
|
||||||
public static Module Title(ModeEventDispatcher Med)
|
public static Module Title(ModeEventDispatcher Med)
|
||||||
{
|
{
|
||||||
MotV mv = new MotV(0.0, 1.0)
|
MotionBase mv = new MotionBase(0.0, 1.0)
|
||||||
{
|
{
|
||||||
BaseSpeed = 0.5
|
BaseSpeed = 0.5
|
||||||
};
|
};
|
||||||
@@ -1345,7 +1345,7 @@ namespace SlaveMatrix
|
|||||||
listView.Leave();
|
listView.Leave();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Draw = delegate (FPS FPS)
|
Draw = delegate (FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (b1)
|
if (b1)
|
||||||
{
|
{
|
||||||
@@ -1457,7 +1457,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
メインフォーム描画 = delegate (RenderArea a, FPS FPS)
|
メインフォーム描画 = delegate (RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
@@ -1609,7 +1609,7 @@ namespace SlaveMatrix
|
|||||||
npl.ShapePartT.PositionBase = new Vector2D(Player.UI.ステート.Position.X, 0.026);
|
npl.ShapePartT.PositionBase = new Vector2D(Player.UI.ステート.Position.X, 0.026);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Draw = delegate (FPS FPS)
|
Draw = delegate (FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, メインフォーム描画);
|
SwitchMode(Med, DrawBuffer, FPS, メインフォーム描画);
|
||||||
},
|
},
|
||||||
@@ -1678,7 +1678,7 @@ namespace SlaveMatrix
|
|||||||
ContactD cd = default(ContactD);
|
ContactD cd = default(ContactD);
|
||||||
Vector2D op = DataConsts.Vec2DZero;
|
Vector2D op = DataConsts.Vec2DZero;
|
||||||
|
|
||||||
調教描画 = delegate (RenderArea a, FPS FPS)
|
調教描画 = delegate (RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Player.UI.Mots.Drive(FPS);
|
Player.UI.Mots.Drive(FPS);
|
||||||
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
||||||
@@ -1711,7 +1711,7 @@ namespace SlaveMatrix
|
|||||||
調教済みチェック = false;
|
調教済みチェック = false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
撮影描画 = delegate (RenderArea a, FPS FPS)
|
撮影描画 = delegate (RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
a.Draw(TrainingBackground);
|
a.Draw(TrainingBackground);
|
||||||
TrainingTarget.Draw(a, FPS);
|
TrainingTarget.Draw(a, FPS);
|
||||||
@@ -1794,7 +1794,7 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
Player.UI.Wheel(ref mb, ref cp, ref dt, ref hc, ref cd);
|
Player.UI.Wheel(ref mb, ref cp, ref dt, ref hc, ref cd);
|
||||||
},
|
},
|
||||||
Draw = delegate (FPS FPS)
|
Draw = delegate (FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 調教描画);
|
SwitchMode(Med, DrawBuffer, FPS, 調教描画);
|
||||||
},
|
},
|
||||||
@@ -1808,7 +1808,7 @@ namespace SlaveMatrix
|
|||||||
|
|
||||||
public static Module 調教中継行(ModeEventDispatcher Med)
|
public static Module 調教中継行(ModeEventDispatcher Med)
|
||||||
{
|
{
|
||||||
中継描画 = delegate(RenderArea a, FPS FPS)
|
中継描画 = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
@@ -1849,7 +1849,7 @@ namespace SlaveMatrix
|
|||||||
Player.UI.擬音キュー.Clear();
|
Player.UI.擬音キュー.Clear();
|
||||||
Player.UI.擬音.Clear();
|
Player.UI.擬音.Clear();
|
||||||
},
|
},
|
||||||
Draw = delegate (FPS FPS)
|
Draw = delegate (FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 中継描画);
|
SwitchMode(Med, DrawBuffer, FPS, 中継描画);
|
||||||
}
|
}
|
||||||
@@ -1983,7 +1983,7 @@ namespace SlaveMatrix
|
|||||||
Sta.GameData.拘束具 = false;
|
Sta.GameData.拘束具 = false;
|
||||||
Sta.GameData.断面 = false;
|
Sta.GameData.断面 = false;
|
||||||
},
|
},
|
||||||
Draw = delegate (FPS FPS)
|
Draw = delegate (FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 中継描画);
|
SwitchMode(Med, DrawBuffer, FPS, 中継描画);
|
||||||
}
|
}
|
||||||
@@ -2451,7 +2451,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Draw = delegate (FPS FPS)
|
Draw = delegate (FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 対象描画);
|
SwitchMode(Med, DrawBuffer, FPS, 対象描画);
|
||||||
},
|
},
|
||||||
@@ -3264,7 +3264,7 @@ namespace SlaveMatrix
|
|||||||
|
|
||||||
bs.SetHitColor(Med);
|
bs.SetHitColor(Med);
|
||||||
|
|
||||||
対象描画 = delegate (RenderArea a, FPS FPS)
|
対象描画 = delegate (RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
@@ -3483,7 +3483,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
DrawBlessing = delegate (RenderArea a, FPS FPS)
|
DrawBlessing = delegate (RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
@@ -3618,7 +3618,7 @@ namespace SlaveMatrix
|
|||||||
d = true;
|
d = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Draw = delegate (FPS FPS)
|
Draw = delegate (FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, DrawBlessing);
|
SwitchMode(Med, DrawBuffer, FPS, DrawBlessing);
|
||||||
},
|
},
|
||||||
@@ -3870,7 +3870,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
DrawOffice = delegate(RenderArea a, FPS FPS)
|
DrawOffice = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
{
|
{
|
||||||
@@ -3888,7 +3888,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, DrawOffice);
|
SwitchMode(Med, DrawBuffer, FPS, DrawOffice);
|
||||||
};
|
};
|
||||||
@@ -4378,7 +4378,7 @@ namespace SlaveMatrix
|
|||||||
//bs["nr"].Dra = Sta.GameData.借金 != 0;
|
//bs["nr"].Dra = Sta.GameData.借金 != 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
DrawDebt = delegate(RenderArea a, FPS FPS)
|
DrawDebt = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
@@ -4397,7 +4397,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, DrawDebt);
|
SwitchMode(Med, DrawBuffer, FPS, DrawDebt);
|
||||||
};
|
};
|
||||||
@@ -5057,7 +5057,7 @@ namespace SlaveMatrix
|
|||||||
si.Set(bre: false);
|
si.Set(bre: false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
DrawSlaveShop = delegate(RenderArea a, FPS FPS)
|
DrawSlaveShop = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
@@ -5078,7 +5078,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, DrawSlaveShop);
|
SwitchMode(Med, DrawBuffer, FPS, DrawSlaveShop);
|
||||||
};
|
};
|
||||||
@@ -5424,7 +5424,7 @@ namespace SlaveMatrix
|
|||||||
subinfo();
|
subinfo();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
DrawToolShop = delegate(RenderArea a, FPS FPS)
|
DrawToolShop = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
@@ -5442,7 +5442,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
Med.Draw(DrawBuffer);
|
Med.Draw(DrawBuffer);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, DrawToolShop);
|
SwitchMode(Med, DrawBuffer, FPS, DrawToolShop);
|
||||||
};
|
};
|
||||||
@@ -5513,7 +5513,7 @@ namespace SlaveMatrix
|
|||||||
si.Set(bre: false);
|
si.Set(bre: false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
日数進行描画 = delegate(RenderArea a, FPS FPS)
|
日数進行描画 = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (TrainingTarget != null)
|
if (TrainingTarget != null)
|
||||||
{
|
{
|
||||||
@@ -5528,7 +5528,7 @@ namespace SlaveMatrix
|
|||||||
ip.Draw(a, FPS);
|
ip.Draw(a, FPS);
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
obj.Draw = delegate(FPS FPS)
|
obj.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 日数進行描画);
|
SwitchMode(Med, DrawBuffer, FPS, 日数進行描画);
|
||||||
};
|
};
|
||||||
@@ -5837,7 +5837,7 @@ namespace SlaveMatrix
|
|||||||
ls["ラベル14"].Text = "H:" + $"{身長.Value:0.00}";
|
ls["ラベル14"].Text = "H:" + $"{身長.Value:0.00}";
|
||||||
ls["ラベル15"].Text = "W:" + $"{体重.Value:0.00}";
|
ls["ラベル15"].Text = "W:" + $"{体重.Value:0.00}";
|
||||||
};
|
};
|
||||||
PlayerInformationSliders = delegate(RenderArea a, FPS FPS)
|
PlayerInformationSliders = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
Med.HitGraphics.Clear(ColorHelper.Transparent);
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
@@ -5860,7 +5860,7 @@ namespace SlaveMatrix
|
|||||||
完了.Draw(a);
|
完了.Draw(a);
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, PlayerInformationSliders);
|
SwitchMode(Med, DrawBuffer, FPS, PlayerInformationSliders);
|
||||||
};
|
};
|
||||||
@@ -5934,7 +5934,7 @@ namespace SlaveMatrix
|
|||||||
ip.Text = tsp[i];
|
ip.Text = tsp[i];
|
||||||
ip.SubInfo = sub[i];
|
ip.SubInfo = sub[i];
|
||||||
};
|
};
|
||||||
DrawOP0 = delegate(RenderArea a, FPS FPS)
|
DrawOP0 = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
{
|
{
|
||||||
@@ -5945,7 +5945,7 @@ namespace SlaveMatrix
|
|||||||
ip.Draw(a, FPS);
|
ip.Draw(a, FPS);
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, DrawOP0);
|
SwitchMode(Med, DrawBuffer, FPS, DrawOP0);
|
||||||
};
|
};
|
||||||
@@ -6199,7 +6199,7 @@ namespace SlaveMatrix
|
|||||||
Viola.両目_見つめ();
|
Viola.両目_見つめ();
|
||||||
Viola.Set基本姿勢();
|
Viola.Set基本姿勢();
|
||||||
};
|
};
|
||||||
DrawOP1 = delegate(RenderArea a, FPS FPS)
|
DrawOP1 = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
a.Draw(OfficeBackground);
|
a.Draw(OfficeBackground);
|
||||||
Viola.Draw(a, FPS);
|
Viola.Draw(a, FPS);
|
||||||
@@ -6208,7 +6208,7 @@ namespace SlaveMatrix
|
|||||||
ip.Draw(a, FPS);
|
ip.Draw(a, FPS);
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, DrawOP1);
|
SwitchMode(Med, DrawBuffer, FPS, DrawOP1);
|
||||||
};
|
};
|
||||||
@@ -6352,7 +6352,7 @@ namespace SlaveMatrix
|
|||||||
ip.Text = tsp[i];
|
ip.Text = tsp[i];
|
||||||
ip.SubInfo = sub[i];
|
ip.SubInfo = sub[i];
|
||||||
};
|
};
|
||||||
説明描画 = delegate(RenderArea a, FPS FPS)
|
説明描画 = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
{
|
{
|
||||||
@@ -6365,7 +6365,7 @@ namespace SlaveMatrix
|
|||||||
ip.Draw(a, FPS);
|
ip.Draw(a, FPS);
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 説明描画);
|
SwitchMode(Med, DrawBuffer, FPS, 説明描画);
|
||||||
};
|
};
|
||||||
@@ -6659,7 +6659,7 @@ namespace SlaveMatrix
|
|||||||
ip.Text = tsp[i];
|
ip.Text = tsp[i];
|
||||||
ip.SubInfo = sub[i];
|
ip.SubInfo = sub[i];
|
||||||
};
|
};
|
||||||
初事務所描画 = delegate(RenderArea a, FPS FPS)
|
初事務所描画 = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
{
|
{
|
||||||
@@ -6672,7 +6672,7 @@ namespace SlaveMatrix
|
|||||||
ip.Draw(a, FPS);
|
ip.Draw(a, FPS);
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 初事務所描画);
|
SwitchMode(Med, DrawBuffer, FPS, 初事務所描画);
|
||||||
};
|
};
|
||||||
@@ -6767,7 +6767,7 @@ namespace SlaveMatrix
|
|||||||
ip.Text = tsp[i];
|
ip.Text = tsp[i];
|
||||||
ip.SubInfo = sub[i];
|
ip.SubInfo = sub[i];
|
||||||
};
|
};
|
||||||
返済イベント描画 = delegate(RenderArea a, FPS FPS)
|
返済イベント描画 = delegate(RenderArea a, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
if (a.HitGraphics != null)
|
if (a.HitGraphics != null)
|
||||||
{
|
{
|
||||||
@@ -6780,7 +6780,7 @@ namespace SlaveMatrix
|
|||||||
ip.Draw(a, FPS);
|
ip.Draw(a, FPS);
|
||||||
Med.Draw(a);
|
Med.Draw(a);
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 返済イベント描画);
|
SwitchMode(Med, DrawBuffer, FPS, 返済イベント描画);
|
||||||
};
|
};
|
||||||
@@ -6881,7 +6881,7 @@ namespace SlaveMatrix
|
|||||||
ip.Text = tsp[i];
|
ip.Text = tsp[i];
|
||||||
ip.SubInfo = sub[i];
|
ip.SubInfo = sub[i];
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 返済イベント描画);
|
SwitchMode(Med, DrawBuffer, FPS, 返済イベント描画);
|
||||||
};
|
};
|
||||||
@@ -7172,7 +7172,7 @@ namespace SlaveMatrix
|
|||||||
ip.Text = tsp[i];
|
ip.Text = tsp[i];
|
||||||
ip.SubInfo = sub[i];
|
ip.SubInfo = sub[i];
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 返済イベント描画);
|
SwitchMode(Med, DrawBuffer, FPS, 返済イベント描画);
|
||||||
};
|
};
|
||||||
@@ -7282,7 +7282,7 @@ namespace SlaveMatrix
|
|||||||
ip.SubInfo = sub[i];
|
ip.SubInfo = sub[i];
|
||||||
Sta.GameData.祝福 = Sta.GameData.ヴィオラ;
|
Sta.GameData.祝福 = Sta.GameData.ヴィオラ;
|
||||||
};
|
};
|
||||||
mod.Draw = delegate(FPS FPS)
|
mod.Draw = delegate(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
SwitchMode(Med, DrawBuffer, FPS, 返済イベント描画);
|
SwitchMode(Med, DrawBuffer, FPS, 返済イベント描画);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ namespace SlaveMatrix
|
|||||||
mot.Start();
|
mot.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Draw(FPS FPS)
|
public void Draw(FpsCounter FPS)
|
||||||
{
|
{
|
||||||
ms.Drive(FPS);
|
ms.Drive(FPS);
|
||||||
foreach (string item in del)
|
foreach (string item in del)
|
||||||
|
|||||||
@@ -2915,7 +2915,7 @@ namespace SlaveMatrix
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void StaDraw(RenderArea Are, FPS FPS)
|
public void StaDraw(RenderArea Are, FpsCounter FPS)
|
||||||
{
|
{
|
||||||
Player.表示ステート更新();
|
Player.表示ステート更新();
|
||||||
Player.ModBox();
|
Player.ModBox();
|
||||||
|
|||||||
Reference in New Issue
Block a user