OSDN Git Service

#36695 Fixed to show wailing chip correctly from the beginning.
authoryyagi <yyagi.dtxmania@gmail.com>
Mon, 10 Oct 2016 15:51:25 +0000 (23:51 +0800)
committeryyagi <yyagi.dtxmania@gmail.com>
Mon, 10 Oct 2016 15:51:25 +0000 (23:51 +0800)
DTXManiaプロジェクト/コード/ステージ/07.演奏/CWailingChip.cs
実行時フォルダ/DTXManiaGR.exe

index 7139f14..2616625 100644 (file)
@@ -54,8 +54,8 @@ namespace DTXMania
                                                y = y + (int)(pChip.nバーからの距離dot[gb]);\r
                                        }\r
 \r
-                                       int numA = (int)(26 * Scale.Y);     // ドラム画面かギター画面かで変わる値\r
-                                       int showRangeY1 = (int)(355 * Scale.Y); // ドラム画面かギター画面かで変わる値\r
+                                       int numA = (int)(26 * Scale.Y);                 // wailing chipの高さの半分\r
+                                       int showRangeY1 = SampleFramework.GameWindowSize.Height;\r
                                        int numB = y - (int)(0x39 * Scale.Y);\r
                                        int numC = 0;\r
                                        if ((numB < (showRangeY1 + numA)) && (numB > -numA))\r
index ca2db1d..4e98774 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ