OSDN Git Service

#36183 ギターベースの判定ラインとチップの消失位置にずれが出ないよう修正。(判定ラインを上下オフセットゼロで表示している場合)
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sun, 5 Jun 2016 19:04:38 +0000 (19:04 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sun, 5 Jun 2016 19:04:38 +0000 (19:04 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@991 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXManiaプロジェクト/コード/ステージ/07.演奏/CStage演奏画面共通_描画.cs
実行時フォルダ/DTXManiaGR.exe

index fd8eb22..591f352 100644 (file)
@@ -428,6 +428,7 @@ namespace DTXMania
                                                {\r
                                                        int lineLength = CDTXMania.Instance.Coordinates.Instrument[inst].W;\r
                                                        Rectangle rc = CDTXMania.Instance.Coordinates.ImgJudgeLine;\r
+                                                       int barHeight = rc.Height;\r
                                                        for (int tmpW = 0; tmpW < lineLength; tmpW += rc.Width)\r
                                                        {\r
                                                                if (tmpW + rc.Width > lineLength)\r
@@ -435,7 +436,7 @@ namespace DTXMania
                                                                        rc.Width = lineLength - tmpW;\r
                                                                }\r
                                                                this.txヒットバー.t2D描画(CDTXMania.Instance.Device,\r
-                                                                       CDTXMania.Instance.ConfigIni.cdInstX[inst][CDTXMania.Instance.ConfigIni.eActiveInst] + tmpW, y, rc);\r
+                                                                       CDTXMania.Instance.ConfigIni.cdInstX[ inst ][ CDTXMania.Instance.ConfigIni.eActiveInst ] + tmpW, y - barHeight / 2, rc );\r
                                                        }\r
                                                }\r
                                        }\r
index 0b00fa5..39df3e5 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ