From 45d9e988dfd94f103f84b5d3144698c6a1a0000d Mon Sep 17 00:00:00 2001 From: qihuanye <2728290997@qq.com> Date: Tue, 28 Apr 2026 20:57:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=87=8D=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/source/TetrisLogic.cpp | 12 ------------ src/source/TetrisRogue.cpp | 13 ------------- 2 files changed, 25 deletions(-) diff --git a/src/source/TetrisLogic.cpp b/src/source/TetrisLogic.cpp index 6a4e939..3fd2b55 100644 --- a/src/source/TetrisLogic.cpp +++ b/src/source/TetrisLogic.cpp @@ -467,7 +467,6 @@ void Fixing() voidClearedCount = TriggerMiniBlackHole(5); AwardRogueSkillClearRewards(voidClearedCount, voidScore, voidExp, false); } - ApplyBoardGravity(); } TCHAR rainbowDetail[128]; @@ -501,7 +500,6 @@ void Fixing() rogueStats.screenBombCount--; int clearedByTerminal = TriggerScreenBomb(); - ApplyBoardGravity(); rogueStats.feverTicks = 10; currentFallInterval = GetRogueFallInterval(); @@ -520,7 +518,6 @@ void Fixing() { DeleteOneLine(GetRoguePlayableHeight() - 1); } - ApplyBoardGravity(); SetFeedbackMessage( _T("最后一搏"), @@ -548,7 +545,6 @@ void Fixing() if (currentMode == MODE_ROGUE && explosiveCellsCleared > 0) { AwardRogueSkillClearRewards(explosiveCellsCleared, explosiveScoreGain, explosiveExpGain, false); - ApplyBoardGravity(); } TCHAR explosiveDetail[128]; @@ -594,7 +590,6 @@ void Fixing() int laserScore = 0; int laserExp = 0; AwardRogueSkillClearRewards(laserCellsCleared, laserScore, laserExp, false); - ApplyBoardGravity(); TCHAR laserDetail[128]; _stprintf_s(laserDetail, _T("激光贯穿第 %d 列,清除 %d 格 +%d 分 +%d EXP"), laserColumn + 1, laserCellsCleared, laserScore, laserExp); @@ -648,7 +643,6 @@ void Fixing() int crossScore = 0; int crossExp = 0; AwardRogueSkillClearRewards(totalCrossCleared, crossScore, crossExp, false); - ApplyBoardGravity(); TCHAR crossDetail[128]; _stprintf_s(crossDetail, _T("十字冲击第 %d 行 / 第 %d 列,清除 %d 格 +%d 分 +%d EXP"), crossRow + 1, crossColumn + 1, totalCrossCleared, crossScore, crossExp); @@ -745,11 +739,6 @@ int DeleteLines() } ApplyLineClearResult(clearedLines); - if (clearedLines > 0) - { - ApplyBoardGravity(); - } - if (currentScreen == SCREEN_UPGRADE) { QueueLineClearEffect(clearedRows, clearedRowCount, clearedLines); @@ -791,7 +780,6 @@ int DeleteLines() int followupScore = 0; int followupExp = 0; AwardRogueSkillClearRewards(followupCleared, followupScore, followupExp, false); - ApplyBoardGravity(); TCHAR followupDetail[128]; _stprintf_s( diff --git a/src/source/TetrisRogue.cpp b/src/source/TetrisRogue.cpp index 7132eb9..e4d5192 100644 --- a/src/source/TetrisRogue.cpp +++ b/src/source/TetrisRogue.cpp @@ -351,7 +351,6 @@ void AdvanceRogueDifficulty(int elapsedMs) { rogueStats.lockedRows = nextLockedRows; ClearLockedRows(); - ApplyBoardGravity(); ComputeTarget(); } @@ -2205,7 +2204,6 @@ void ApplyLineClearResult(int linesCleared) int chainBlastScore = 0; int chainBlastExp = 0; AwardRogueSkillClearRewards(chainBlastCells, chainBlastScore, chainBlastExp, false); - ApplyBoardGravity(); TCHAR blastDetail[128]; _stprintf_s( @@ -2246,7 +2244,6 @@ void ApplyLineClearResult(int linesCleared) int thunderScore = 0; int thunderExp = 0; AwardRogueSkillClearRewards(thunderRowsCleared, thunderScore, thunderExp, false); - ApplyBoardGravity(); SetFeedbackMessage(_T("雷霆四消"), _T("雷击落下,额外清理了 2 行范围内的方块。"), 12); } } @@ -2264,7 +2261,6 @@ void ApplyLineClearResult(int linesCleared) int laserScore = 0; int laserExp = 0; AwardRogueSkillClearRewards(laserCellsCleared, laserScore, laserExp, false); - ApplyBoardGravity(); TCHAR thunderLaserDetail[128]; _stprintf_s( @@ -2292,8 +2288,6 @@ void ApplyLineClearResult(int linesCleared) if (clearedBySweeper > 0) { - ApplyBoardGravity(); - TCHAR sweeperDetail[128]; _stprintf_s( sweeperDetail, @@ -2392,10 +2386,6 @@ static void ResolvePendingUpgradeShockwave() pendingEvolutionImpactShockwave = false; int clearedRows = TriggerUpgradeShockwave(shockwaveRows); - if (clearedRows > 0) - { - ApplyBoardGravity(); - } int effectRows[4] = {}; int effectRowCount = clearedRows; if (effectRowCount > 4) @@ -2725,7 +2715,6 @@ void UseScreenBomb() rogueStats.screenBombCount--; int clearedCells = TriggerScreenBomb(); - ApplyBoardGravity(); int scoreGain = 0; int expGain = 0; AwardRogueSkillClearRewards(clearedCells, scoreGain, expGain, true); @@ -2772,7 +2761,6 @@ void UseBlackHole() rogueStats.blackHoleCharges--; - ApplyBoardGravity(); int scoreGain = 0; int expGain = 0; AwardRogueSkillClearRewards(clearedCells, scoreGain, expGain, true); @@ -3234,7 +3222,6 @@ static void ApplyRogueSkillDemoStep() rogueStats.pressureReliefLevel = 1; FillRogueDemoRows(5, 19, 6); DeleteOneLine(5); - ApplyBoardGravity(); SetRogueDemoCurrentPiece(1, 0, 3, 0); SetFeedbackMessage(_T("卸压清场"), _T("最高占用行已被清除,顶部压力立即下降。"), 12); break;