Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/DTXManiaプロジェクト/コード/全体/CDTXMania.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 44 by kairera0467, Fri Mar 15 02:34:32 2013 UTC revision 45 by kairera0467, Sat Mar 16 06:11:06 2013 UTC
# Line 263  namespace DTXMania Line 263  namespace DTXMania
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;
# Line 489  namespace DTXMania Line 490  namespace DTXMania
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);
# Line 1704  for (int i = 0; i < 3; i++) { Line 1705  for (int i = 0; i < 3; i++) {
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
# Line 1737  for (int i = 0; i < 3; i++) { Line 1738  for (int i = 0; i < 3; i++) {
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,
# Line 1744  for (int i = 0; i < 3; i++) { Line 1746  for (int i = 0; i < 3; i++) {
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

Legend:
Removed from v.44  
changed lines
  Added in v.45

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26