| 263 |
} |
} |
| 264 |
public static CStage r現在のステージ = null; |
public static CStage r現在のステージ = null; |
| 265 |
public static CStage r直前のステージ = null; |
public static CStage r直前のステージ = null; |
| 266 |
|
public bool b汎用ムービーである = false; |
| 267 |
public static string strEXEのあるフォルダ |
public static string strEXEのあるフォルダ |
| 268 |
{ |
{ |
| 269 |
get; |
get; |
| 490 |
if (CDTXMania.ConfigIni.b縮小文字のアンチエイリアスを有効にする == true) |
if (CDTXMania.ConfigIni.b縮小文字のアンチエイリアスを有効にする == true) |
| 491 |
{ |
{ |
| 492 |
this.Device.SetRenderState(RenderState.MultisampleAntialias, true); |
this.Device.SetRenderState(RenderState.MultisampleAntialias, true); |
| 493 |
this.Device.SetSamplerState(0, SamplerState.MinFilter, TextureFilter.PyramidalQuad); |
this.Device.SetSamplerState(0, SamplerState.MinFilter, TextureFilter.Linear); |
| 494 |
this.Device.SetSamplerState(0, SamplerState.MagFilter, TextureFilter.PyramidalQuad); |
this.Device.SetSamplerState(0, SamplerState.MagFilter, TextureFilter.Linear); |
| 495 |
} |
} |
| 496 |
|
|
| 497 |
this.Device.SetRenderState<Compare>(RenderState.AlphaFunc, Compare.Greater); |
this.Device.SetRenderState<Compare>(RenderState.AlphaFunc, Compare.Greater); |
| 1705 |
//2013.03.09.kairera0467 |
//2013.03.09.kairera0467 |
| 1706 |
//おそらくこれがSSTでいう「tDirect3Dデバイスを生成・変更・リセットする」へ渡す設定に相当しているのだと思われ。 |
//おそらくこれがSSTでいう「tDirect3Dデバイスを生成・変更・リセットする」へ渡す設定に相当しているのだと思われ。 |
| 1707 |
DeviceSettings settings = new DeviceSettings(); |
DeviceSettings settings = new DeviceSettings(); |
| 1708 |
CD3DSettings newD3DSettings = new CD3DSettings(); |
//CD3DSettings newD3DSettings = new CD3DSettings(); |
| 1709 |
#if WindowedFullscreen |
#if WindowedFullscreen |
| 1710 |
settings.Windowed = true; // #30666 2013.2.2 yyagi: Fullscreenmode is "Maximized window" mode |
settings.Windowed = true; // #30666 2013.2.2 yyagi: Fullscreenmode is "Maximized window" mode |
| 1711 |
#else |
#else |
| 1738 |
base.InactiveSleepTime = TimeSpan.FromMilliseconds((float)(ConfigIni.n非フォーカス時スリープms)); // #23568 2010.11.3 yyagi: to support valiable sleep value when !IsActive |
base.InactiveSleepTime = TimeSpan.FromMilliseconds((float)(ConfigIni.n非フォーカス時スリープms)); // #23568 2010.11.3 yyagi: to support valiable sleep value when !IsActive |
| 1739 |
// #23568 2010.11.4 ikanick changed ( 1 -> ConfigIni ) |
// #23568 2010.11.4 ikanick changed ( 1 -> ConfigIni ) |
| 1740 |
|
|
| 1741 |
|
/* |
| 1742 |
this.D3D9Device = new Device( // 失敗したら異常系とみなし、そのまま例外をthrow。 |
this.D3D9Device = new Device( // 失敗したら異常系とみなし、そのまま例外をthrow。 |
| 1743 |
new Direct3D(), |
new Direct3D(), |
| 1744 |
newD3DSettings.nAdaptor, |
newD3DSettings.nAdaptor, |
| 1746 |
newD3DSettings.PresentParameters.DeviceWindowHandle, |
newD3DSettings.PresentParameters.DeviceWindowHandle, |
| 1747 |
newD3DSettings.CreateFlags, |
newD3DSettings.CreateFlags, |
| 1748 |
newD3DSettings.PresentParameters); |
newD3DSettings.PresentParameters); |
| 1749 |
|
*/ |
| 1750 |
#if WindowedFullscreen |
#if WindowedFullscreen |
| 1751 |
this.t全画面・ウィンドウモード切り替え(); // #30666 2013.2.2 yyagi: finalize settings for "Maximized window mode" |
this.t全画面・ウィンドウモード切り替え(); // #30666 2013.2.2 yyagi: finalize settings for "Maximized window mode" |
| 1752 |
#endif |
#endif |