1
0
mirror of synced 2025-01-19 09:27:26 +01:00

Changing game lyric anchor + disabling lyrics on 4P+ (#459)

* Basic WebVTT support for song lyrics

* Sample VTTs for existing OpenTaiko Originals

- DON'T LOOK BACK
- Dear Stars
- Forever Fading Away
- TRIPLE HELIX

* Change lyric anchor & disable lyrics for 4P+

* oops hang on, forgot something
This commit is contained in:
DragonRatTiger 2023-03-30 18:49:26 -04:00 committed by GitHub
parent e6a5968021
commit e9d86f5a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -4004,7 +4004,7 @@ namespace TJAPlayer3
this.listChip.Add(chip);
}
else if (command == "#LYRIC" && !usingLyricsFile) // Do not parse LYRIC tags if a lyric file is already loaded
else if (command == "#LYRIC" && !usingLyricsFile && TJAPlayer3.ConfigIni.nPlayerCount < 4) // Do not parse LYRIC tags if a lyric file is already loaded
{
if (TJAPlayer3.r現在のステージ.eステージID == CStage.Eステージ.)//起動時に重たくなってしまう問題の修正用
this.listLyric.Add(this.pf歌詞フォント.DrawPrivateFont(argument, TJAPlayer3.Skin.Game_Lyric_ForeColor, TJAPlayer3.Skin.Game_Lyric_BackColor));
@ -5422,7 +5422,7 @@ namespace TJAPlayer3
this.bHIDDENBRANCH = true;
}
}
else if (strCommandName.Equals("LYRICS") && !usingLyricsFile)
else if (strCommandName.Equals("LYRICS") && !usingLyricsFile && TJAPlayer3.ConfigIni.nPlayerCount < 4)
{
if (!string.IsNullOrEmpty(strCommandParam))
{
@ -5463,7 +5463,7 @@ namespace TJAPlayer3
}
}
}
else if (strCommandName.Equals("LYRICFILE") && !usingLyricsFile)
else if (strCommandName.Equals("LYRICFILE") && !usingLyricsFile && TJAPlayer3.ConfigIni.nPlayerCount < 4)
{
if (!string.IsNullOrEmpty(strCommandParam))
{

View File

@ -180,15 +180,15 @@ namespace TJAPlayer3
{
if (TJAPlayer3.Skin.Game_Lyric_ReferencePoint == CSkin.ReferencePoint.Left)
{
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X , TJAPlayer3.Skin.Game_Lyric_Y);
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X , TJAPlayer3.Skin.Game_Lyric_Y - (this.tx歌詞テクスチャ.szテクスチャサイズ.Height));
}
else if (TJAPlayer3.Skin.Game_Lyric_ReferencePoint == CSkin.ReferencePoint.Right)
{
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X - this.tx歌詞テクスチャ.szテクスチャサイズ.Width, TJAPlayer3.Skin.Game_Lyric_Y);
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X - this.tx歌詞テクスチャ.szテクスチャサイズ.Width, TJAPlayer3.Skin.Game_Lyric_Y - (this.tx歌詞テクスチャ.szテクスチャサイズ.Height));
}
else
{
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X - (this.tx歌詞テクスチャ.szテクスチャサイズ.Width / 2), TJAPlayer3.Skin.Game_Lyric_Y);
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X - (this.tx歌詞テクスチャ.szテクスチャサイズ.Width / 2), TJAPlayer3.Skin.Game_Lyric_Y - (this.tx歌詞テクスチャ.szテクスチャサイズ.Height));
}
}
}

View File

@ -78,7 +78,7 @@ Game_Lyric_FontSize=57
Game_Lyric_X=960
Game_Lyric_Y=945
Game_Lyric_Y=1065
Game_Judge_X=546,546