Add Scene Preset support for TJAs (#478)
This commit is contained in:
parent
60eb1cffde
commit
347b3d0077
@ -1335,6 +1335,8 @@ namespace TJAPlayer3
|
||||
private int listBalloon_Expert_数値管理;
|
||||
private int listBalloon_Master_数値管理;
|
||||
|
||||
public string scenePreset;
|
||||
|
||||
public bool[] b譜面が存在する = new bool[(int)Difficulty.Total];
|
||||
|
||||
private string[] dlmtSpace = { " " };
|
||||
@ -5450,6 +5452,13 @@ namespace TJAPlayer3
|
||||
this.SELECTBG = strCommandParam;
|
||||
}
|
||||
}
|
||||
else if (strCommandName.Equals("SCENEPRESET"))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(strCommandParam))
|
||||
{
|
||||
this.scenePreset = strCommandParam;
|
||||
}
|
||||
}
|
||||
else if (strCommandName.Equals("DEMOSTART"))
|
||||
{
|
||||
//2015.04.10 kairera0467
|
||||
|
@ -145,7 +145,13 @@ namespace TJAPlayer3
|
||||
&& ((Dictionary<string, DBSkinPreset.SkinScene>)_ps).ContainsKey(TJAPlayer3.stage選曲.r確定された曲.strScenePreset))
|
||||
? ((Dictionary<string,DBSkinPreset.SkinScene>)_ps)[TJAPlayer3.stage選曲.r確定された曲.strScenePreset]
|
||||
: null;
|
||||
|
||||
|
||||
if (_ps != null
|
||||
&& TJAPlayer3.DTX.scenePreset != null
|
||||
&& ((Dictionary<string, DBSkinPreset.SkinScene>)_ps).ContainsKey(TJAPlayer3.DTX.scenePreset)) // If currently selected song has valid SCENEPRESET metadata within TJA
|
||||
{
|
||||
preset = ((Dictionary<string, DBSkinPreset.SkinScene>)_ps)[TJAPlayer3.DTX.scenePreset];
|
||||
}
|
||||
|
||||
Random random = new Random();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user