remove compact mode unused references
This commit is contained in:
parent
d19654e3c0
commit
b20302627f
@ -1760,8 +1760,7 @@ namespace OpenTaiko {
|
||||
bool isMenu = pad is EKeyConfigPad.Decide or EKeyConfigPad.RightChange or EKeyConfigPad.LeftChange;
|
||||
for (int i = 0; i <= (int)EKeyConfigPart.System; i++) {
|
||||
// Do not restrict duplicate keybinds for System controls
|
||||
for (int j = 0; j < (int)EKeyConfigPad.Capture; j++)
|
||||
{
|
||||
for (int j = 0; j < (int)EKeyConfigPad.Capture; j++) {
|
||||
bool isJMenu = j is (int)EKeyConfigPad.LeftChange
|
||||
or (int)EKeyConfigPad.RightChange
|
||||
or (int)EKeyConfigPad.Decide;
|
||||
@ -3563,7 +3562,7 @@ namespace OpenTaiko {
|
||||
Temp,
|
||||
}
|
||||
|
||||
private Dictionary<ESectionType, Action<string, string>> sectionProcess;
|
||||
private Dictionary<ESectionType, Action<string, string>> sectionProcess = new Dictionary<ESectionType, Action<string, string>>();
|
||||
|
||||
private bool _bDrumsEnabled;
|
||||
private bool _bGuitarEnabled;
|
||||
|
@ -737,7 +737,7 @@ namespace OpenTaiko {
|
||||
if (!this[i].bExclusive) // BGM系以外のみ読み込む。(BGM系は必要になったときに読み込む)
|
||||
{
|
||||
CSystemSound cシステムサウンド = this[i];
|
||||
if (!OpenTaiko.bコンパクトモード || cシステムサウンド.bCompact対象) {
|
||||
if (cシステムサウンド.bCompact対象) {
|
||||
try {
|
||||
cシステムサウンド.tLoading();
|
||||
Trace.TraceInformation("システムサウンドを読み込みました。({0})", cシステムサウンド.strFileName);
|
||||
|
@ -55,10 +55,6 @@ namespace OpenTaiko {
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
public static bool bコンパクトモード {
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
public static CConfigIni ConfigIni {
|
||||
get;
|
||||
private set;
|
||||
@ -634,10 +630,10 @@ namespace OpenTaiko {
|
||||
|
||||
CScoreIni scoreIni = null;
|
||||
|
||||
#region [ 曲検索スレッドの起動/終了 ] // ここに"Enumerating Songs..."表示を集約
|
||||
if (!OpenTaiko.bコンパクトモード) {
|
||||
#region [ 曲検索スレッドの起動/終了 ]
|
||||
// ここに"Enumerating Songs..."表示を集約
|
||||
actEnumSongs.Draw(); // "Enumerating Songs..."アイコンの描画
|
||||
}
|
||||
|
||||
switch (r現在のステージ.eStageID) {
|
||||
case CStage.EStage.Title:
|
||||
case CStage.EStage.Config:
|
||||
@ -721,7 +717,6 @@ namespace OpenTaiko {
|
||||
#region [ *** ]
|
||||
//-----------------------------
|
||||
if (this.n進行描画の戻り値 != 0) {
|
||||
if (!bコンパクトモード) {
|
||||
r現在のステージ.DeActivate();
|
||||
if (!ConfigIni.PreAssetsLoading) {
|
||||
r現在のステージ.ReleaseManagedResource();
|
||||
@ -736,22 +731,6 @@ namespace OpenTaiko {
|
||||
}
|
||||
r直前のステージ = r現在のステージ;
|
||||
r現在のステージ = stageタイトル;
|
||||
} else {
|
||||
r現在のステージ.DeActivate();
|
||||
if (!ConfigIni.PreAssetsLoading) {
|
||||
r現在のステージ.ReleaseManagedResource();
|
||||
r現在のステージ.ReleaseUnmanagedResource();
|
||||
}
|
||||
Trace.TraceInformation("----------------------");
|
||||
Trace.TraceInformation("■ Song Loading");
|
||||
stage曲読み込み.Activate();
|
||||
if (!ConfigIni.PreAssetsLoading) {
|
||||
stage曲読み込み.CreateManagedResource();
|
||||
stage曲読み込み.CreateUnmanagedResource();
|
||||
}
|
||||
r直前のステージ = r現在のステージ;
|
||||
r現在のステージ = stage曲読み込み;
|
||||
}
|
||||
foreach (STPlugin pg in this.PluginList) {
|
||||
Directory.SetCurrentDirectory(pg.pluginDirectory);
|
||||
pg.plugin.Onステージ変更();
|
||||
@ -2571,11 +2550,7 @@ for (int i = 0; i < 3; i++) {
|
||||
Trace.TraceInformation("----------------------");
|
||||
Trace.TraceInformation("■ Startup");
|
||||
|
||||
if (OpenTaiko.bコンパクトモード) {
|
||||
r現在のステージ = stage曲読み込み;
|
||||
} else {
|
||||
r現在のステージ = stage起動;
|
||||
}
|
||||
r現在のステージ.Activate();
|
||||
if (!ConfigIni.PreAssetsLoading) {
|
||||
r現在のステージ.CreateManagedResource();
|
||||
|
@ -218,7 +218,7 @@ namespace OpenTaiko {
|
||||
if (!OpenTaiko.Skin[i].bExclusive) // BGM系以外のみ読み込む。(BGM系は必要になったときに読み込む)
|
||||
{
|
||||
CSkin.CSystemSound cシステムサウンド = OpenTaiko.Skin[i];
|
||||
if (!OpenTaiko.bコンパクトモード || cシステムサウンド.bCompact対象) {
|
||||
if (cシステムサウンド.bCompact対象) {
|
||||
try {
|
||||
cシステムサウンド.tLoading();
|
||||
Trace.TraceInformation("システムサウンドを読み込みました。({0})", cシステムサウンド.strFileName);
|
||||
@ -244,10 +244,6 @@ namespace OpenTaiko {
|
||||
//-----------------------------
|
||||
#endregion
|
||||
|
||||
if (OpenTaiko.bコンパクトモード) {
|
||||
Trace.TraceInformation("コンパクトモードなので残りの起動処理は省略します。");
|
||||
return;
|
||||
}
|
||||
} finally {
|
||||
OpenTaiko.stage起動.ePhaseID = CStage.EPhase.Startup_6_LoadTextures;
|
||||
TimeSpan span = (TimeSpan)(DateTime.Now - now);
|
||||
|
@ -33,19 +33,6 @@ namespace OpenTaiko {
|
||||
OpenTaiko.ConfigIni.bTokkunMode = false;
|
||||
}
|
||||
|
||||
if (OpenTaiko.bコンパクトモード) {
|
||||
string strDTXファイルパス = OpenTaiko.strコンパクトモードファイル;
|
||||
|
||||
CDTX cdtx = new CDTX(strDTXファイルパス, true, 1.0, 0, 0);
|
||||
|
||||
if (File.Exists(cdtx.strフォルダ名 + @"set.def"))
|
||||
cdtx = new CDTX(strDTXファイルパス, true, 1.0, 0, 1);
|
||||
|
||||
this.str曲タイトル = cdtx.TITLE.GetString("");
|
||||
this.strサブタイトル = cdtx.SUBTITLE.GetString("");
|
||||
|
||||
cdtx.DeActivate();
|
||||
} else {
|
||||
string strDTXファイルパス = OpenTaiko.stageSongSelect.r確定されたスコア.ファイル情報.ファイルの絶対パス;
|
||||
|
||||
var strフォルダ名 = Path.GetDirectoryName(strDTXファイルパス) + Path.DirectorySeparatorChar;
|
||||
@ -62,7 +49,6 @@ namespace OpenTaiko {
|
||||
this.str曲タイトル = 譜面情報.タイトル;
|
||||
this.strサブタイトル = 譜面情報.strサブタイトル;
|
||||
}
|
||||
}
|
||||
|
||||
// For the moment, detect that we are performing
|
||||
// calibration via there being an actual single
|
||||
@ -377,11 +363,7 @@ namespace OpenTaiko {
|
||||
case CStage.EPhase.SongLoading_LoadDTXFile: {
|
||||
timeBeginLoad = DateTime.Now;
|
||||
TimeSpan span;
|
||||
str = null;
|
||||
if (!OpenTaiko.bコンパクトモード)
|
||||
str = OpenTaiko.stageSongSelect.r確定されたスコア.ファイル情報.ファイルの絶対パス;
|
||||
else
|
||||
str = OpenTaiko.strコンパクトモードファイル;
|
||||
|
||||
if ((OpenTaiko.DTX != null) && OpenTaiko.DTX.IsActivated)
|
||||
OpenTaiko.DTX.DeActivate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user