Fix Heya crash + center menu character animations
This commit is contained in:
parent
87dba7c871
commit
438e3c1e84
@ -376,6 +376,12 @@ namespace FDK
|
|||||||
{
|
{
|
||||||
this.t2D描画(device, x - (this.szテクスチャサイズ.Width / 2), y - (this.szテクスチャサイズ.Height / 2), 1f, this.rc全画像);
|
this.t2D描画(device, x - (this.szテクスチャサイズ.Width / 2), y - (this.szテクスチャサイズ.Height / 2), 1f, this.rc全画像);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void t2D中心基準描画Mirrored(Device device, int x, int y)
|
||||||
|
{
|
||||||
|
this.t2D左右反転描画(device, x - (this.szテクスチャサイズ.Width / 2), y - (this.szテクスチャサイズ.Height / 2), 1f, this.rc全画像);
|
||||||
|
}
|
||||||
|
|
||||||
public void t2D中心基準描画(Device device, int x, int y, Rectangle rc画像内の描画領域)
|
public void t2D中心基準描画(Device device, int x, int y, Rectangle rc画像内の描画領域)
|
||||||
{
|
{
|
||||||
this.t2D描画(device, x - (rc画像内の描画領域.Width / 2), y - (rc画像内の描画領域.Height / 2), 1f, rc画像内の描画領域);
|
this.t2D描画(device, x - (rc画像内の描画領域.Width / 2), y - (rc画像内の描画領域.Height / 2), 1f, rc画像内の描画領域);
|
||||||
|
@ -140,9 +140,19 @@ namespace TJAPlayer3
|
|||||||
_ctref[player].t進行();
|
_ctref[player].t進行();
|
||||||
|
|
||||||
if (player % 2 == 0)
|
if (player % 2 == 0)
|
||||||
_ref[_ctref[player].n現在の値].t2D描画(TJAPlayer3.app.Device, x, y);
|
{
|
||||||
|
//_ref[_ctref[player].n現在の値].t2D描画(TJAPlayer3.app.Device, x, y);
|
||||||
|
|
||||||
|
_ref[_ctref[player].n現在の値].t2D中心基準描画(TJAPlayer3.app.Device, x + 150, y + 156);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
_ref[_ctref[player].n現在の値].t2D左右反転描画(TJAPlayer3.app.Device, x, y);
|
{
|
||||||
|
//_ref[_ctref[player].n現在の値].t2D左右反転描画(TJAPlayer3.app.Device, x, y);
|
||||||
|
|
||||||
|
|
||||||
|
_ref[_ctref[player].n現在の値].t2D中心基準描画Mirrored(TJAPlayer3.app.Device, x + 150, y + 156);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -469,7 +469,7 @@ namespace TJAPlayer3
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region [ キー関連 ]
|
#region [ Inputs ]
|
||||||
|
|
||||||
if (TJAPlayer3.Input管理.Keyboard.bキーが押された((int)SlimDXKeys.Key.RightArrow) ||
|
if (TJAPlayer3.Input管理.Keyboard.bキーが押された((int)SlimDXKeys.Key.RightArrow) ||
|
||||||
TJAPlayer3.Pad.b押された(E楽器パート.DRUMS, Eパッド.RBlue))
|
TJAPlayer3.Pad.b押された(E楽器パート.DRUMS, Eパッド.RBlue))
|
||||||
@ -540,6 +540,7 @@ namespace TJAPlayer3
|
|||||||
{
|
{
|
||||||
// Reload character, a bit time expensive but with a O(N) memory complexity instead of O(N * M)
|
// Reload character, a bit time expensive but with a O(N) memory complexity instead of O(N * M)
|
||||||
TJAPlayer3.Tx.ReloadCharacter(TJAPlayer3.NamePlateConfig.data.Character[iPlayer], iCharacterCurrent, iPlayer);
|
TJAPlayer3.Tx.ReloadCharacter(TJAPlayer3.NamePlateConfig.data.Character[iPlayer], iCharacterCurrent, iPlayer);
|
||||||
|
CMenuCharacter.tMenuResetTimer(CMenuCharacter.ECharacterAnimation.NORMAL);
|
||||||
|
|
||||||
TJAPlayer3.NamePlateConfig.data.Character[iPlayer] = iCharacterCurrent;
|
TJAPlayer3.NamePlateConfig.data.Character[iPlayer] = iCharacterCurrent;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user