1
0
mirror of synced 2025-02-20 20:41:46 +01:00

Link Online Lounge menu binds with main menu (contents not implemented yet)

This commit is contained in:
0aubsq 2022-05-05 00:14:50 +02:00
parent f2bdf75341
commit 5d87d2994f
6 changed files with 83 additions and 22 deletions

View File

@ -24,10 +24,10 @@ using Color = System.Drawing.Color;
namespace TJAPlayer3
{
internal class TJAPlayer3 : Game
{
// プロパティ
#region [ properties ]
public static readonly string VERSION = Assembly.GetExecutingAssembly().GetName().Version.ToString().Substring(0, Assembly.GetExecutingAssembly().GetName().Version.ToString().Length - 2);
{
// プロパティ
#region [ properties ]
public static readonly string VERSION = Assembly.GetExecutingAssembly().GetName().Version.ToString();//.Substring(0, Assembly.GetExecutingAssembly().GetName().Version.ToString().Length - 2);
public static readonly string AppDisplayThreePartVersion = GetAppDisplayThreePartVersion();
public static readonly string AppNumericThreePartVersion = GetAppNumericThreePartVersion();
@ -321,6 +321,12 @@ namespace TJAPlayer3
get;
private set;
}
public static CStageOnlineLounge stageOnlineLounge
{
get;
private set;
}
public static CStage曲読み込み stage曲読み込み
{
get;
@ -916,23 +922,36 @@ namespace TJAPlayer3
//-----------------------------
#endregion
break;
case (int)CStageタイトル.E戻り値.ONLINELOUNGE:
#region [Online Lounge]
//-----------------------------
r現在のステージ.On非活性化();
Trace.TraceInformation("----------------------");
Trace.TraceInformation("■ Online Lounge");
stageOnlineLounge.On活性化();
r直前のステージ = r現在のステージ;
r現在のステージ = stageOnlineLounge;
//-----------------------------
#endregion
break;
#region [ OPTION: ]
// case 2: // #24525 OPTIONとCONFIGの統合に伴い、OPTIONは廃止
// #region [ *** ]
// //-----------------------------
// r現在のステージ.On非活性化();
// Trace.TraceInformation( "----------------------" );
// Trace.TraceInformation( "■ オプション" );
// stageオプション.On活性化();
// r直前のステージ = r現在のステージ;
// r現在のステージ = stageオプション;
// //-----------------------------
// #endregion
// break;
#endregion
#region [ OPTION: ]
// case 2: // #24525 OPTIONとCONFIGの統合に伴い、OPTIONは廃止
// #region [ *** ]
// //-----------------------------
// r現在のステージ.On非活性化();
// Trace.TraceInformation( "----------------------" );
// Trace.TraceInformation( "■ オプション" );
// stageオプション.On活性化();
// r直前のステージ = r現在のステージ;
// r現在のステージ = stageオプション;
// //-----------------------------
// #endregion
// break;
#endregion
case (int)CStageタイトル.E戻り値.CONFIG:
case (int)CStageタイトル.E戻り値.CONFIG:
#region [ *** ]
//-----------------------------
r現在のステージ.On非活性化();
@ -1716,6 +1735,38 @@ for (int i = 0; i < 3; i++) {
//-----------------------------
#endregion
break;
default:
#region [ *** ]
switch (this.n進行描画の戻り値)
{
case (int)CStage選曲.E戻り値.:
#region [ *** ]
//-----------------------------
r現在のステージ.On非活性化();
Trace.TraceInformation("----------------------");
Trace.TraceInformation("■ タイトル");
stageタイトル.On活性化();
r直前のステージ = r現在のステージ;
r現在のステージ = stageタイトル;
CSongSelectSongManager.stopSong();
CSongSelectSongManager.enable();
foreach (STPlugin pg in this.listプラグイン)
{
Directory.SetCurrentDirectory(pg.strプラグインフォルダ);
pg.plugin.Onステージ変更();
Directory.SetCurrentDirectory(TJAPlayer3.strEXEのあるフォルダ);
}
this.tガベージコレクションを実行する();
break;
//-----------------------------
#endregion
}
#endregion
break;
}
actScanningLoudness.On進行描画();
@ -2484,6 +2535,7 @@ for (int i = 0; i < 3; i++) {
stage選曲 = new CStage選曲();
stage段位選択 = new CStage段位選択();
stageHeya = new CStageHeya();
stageOnlineLounge = new CStageOnlineLounge();
stage曲読み込み = new CStage曲読み込み();
stage演奏ドラム画面 = new CStage演奏ドラム画面();
stage結果 = new CStage結果();
@ -2501,6 +2553,7 @@ for (int i = 0; i < 3; i++) {
this.listトップレベルActivities.Add( stage選曲 );
this.listトップレベルActivities.Add( stage段位選択 );
this.listトップレベルActivities.Add( stageHeya );
this.listトップレベルActivities.Add( stageOnlineLounge );
this.listトップレベルActivities.Add( stage曲読み込み );
this.listトップレベルActivities.Add( stage演奏ドラム画面 );
this.listトップレベルActivities.Add( stage結果 );

View File

@ -33,8 +33,8 @@ using System.Resources;
// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
// 既定値にすることができます:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.5.3.1")]
[assembly: AssemblyFileVersion("0.5.3.1")]
[assembly: AssemblyVersion("0.5.3.2")]
[assembly: AssemblyFileVersion("0.5.3.2")]
[assembly: NeutralResourcesLanguage("ja-JP")]
// このアセンブリは「ライブラリ」である(難読化ツールへの指示)。

View File

@ -126,7 +126,7 @@ namespace TJAPlayer3
true,
true,
true,
false,
true,
false,
false,
false,

View File

@ -16,6 +16,9 @@ namespace TJAPlayer3
// Load CActivity objects here
// base.list子Activities.Add(this.act = new CAct());
base.list子Activities.Add(this.actFOtoTitle = new CActFIFOBlack());
}
public override void On活性化()

View File

@ -16,6 +16,9 @@ namespace TJAPlayer3
// Load CActivity objects here
// base.list子Activities.Add(this.act = new CAct());
base.list子Activities.Add(this.actFOtoTitle = new CActFIFOBlack());
}
public override void On活性化()

View File

@ -146,6 +146,7 @@
<Compile Include="I18N\CLang_jp.cs" />
<Compile Include="I18N\CLang_zh.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Stages\XX.Templates\CStageTemplate.cs" />
<EmbeddedResource Include="Properties\Discord.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Discord.Designer.cs</LastGenOutput>
@ -295,6 +296,7 @@
<Compile Include="Stages\10.ChangeSkin\CStageChangeSkin.cs" />
<Compile Include="Stages\11.Heya\CStageHeya.cs" />
<Compile Include="Stages\12.OnlineLounge\API.cs" />
<Compile Include="Stages\12.OnlineLounge\CStageOnlineLounge.cs" />
<Compile Include="Stages\CActDFPFont.cs" />
<Compile Include="Stages\CActFIFOBlack.cs" />
<Compile Include="Stages\CActFIFOStart.cs" />