去除重力
This commit is contained in:
@@ -467,7 +467,6 @@ void Fixing()
|
|||||||
voidClearedCount = TriggerMiniBlackHole(5);
|
voidClearedCount = TriggerMiniBlackHole(5);
|
||||||
AwardRogueSkillClearRewards(voidClearedCount, voidScore, voidExp, false);
|
AwardRogueSkillClearRewards(voidClearedCount, voidScore, voidExp, false);
|
||||||
}
|
}
|
||||||
ApplyBoardGravity();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TCHAR rainbowDetail[128];
|
TCHAR rainbowDetail[128];
|
||||||
@@ -501,7 +500,6 @@ void Fixing()
|
|||||||
rogueStats.screenBombCount--;
|
rogueStats.screenBombCount--;
|
||||||
|
|
||||||
int clearedByTerminal = TriggerScreenBomb();
|
int clearedByTerminal = TriggerScreenBomb();
|
||||||
ApplyBoardGravity();
|
|
||||||
rogueStats.feverTicks = 10;
|
rogueStats.feverTicks = 10;
|
||||||
currentFallInterval = GetRogueFallInterval();
|
currentFallInterval = GetRogueFallInterval();
|
||||||
|
|
||||||
@@ -520,7 +518,6 @@ void Fixing()
|
|||||||
{
|
{
|
||||||
DeleteOneLine(GetRoguePlayableHeight() - 1);
|
DeleteOneLine(GetRoguePlayableHeight() - 1);
|
||||||
}
|
}
|
||||||
ApplyBoardGravity();
|
|
||||||
|
|
||||||
SetFeedbackMessage(
|
SetFeedbackMessage(
|
||||||
_T("最后一搏"),
|
_T("最后一搏"),
|
||||||
@@ -548,7 +545,6 @@ void Fixing()
|
|||||||
if (currentMode == MODE_ROGUE && explosiveCellsCleared > 0)
|
if (currentMode == MODE_ROGUE && explosiveCellsCleared > 0)
|
||||||
{
|
{
|
||||||
AwardRogueSkillClearRewards(explosiveCellsCleared, explosiveScoreGain, explosiveExpGain, false);
|
AwardRogueSkillClearRewards(explosiveCellsCleared, explosiveScoreGain, explosiveExpGain, false);
|
||||||
ApplyBoardGravity();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TCHAR explosiveDetail[128];
|
TCHAR explosiveDetail[128];
|
||||||
@@ -594,7 +590,6 @@ void Fixing()
|
|||||||
int laserScore = 0;
|
int laserScore = 0;
|
||||||
int laserExp = 0;
|
int laserExp = 0;
|
||||||
AwardRogueSkillClearRewards(laserCellsCleared, laserScore, laserExp, false);
|
AwardRogueSkillClearRewards(laserCellsCleared, laserScore, laserExp, false);
|
||||||
ApplyBoardGravity();
|
|
||||||
|
|
||||||
TCHAR laserDetail[128];
|
TCHAR laserDetail[128];
|
||||||
_stprintf_s(laserDetail, _T("激光贯穿第 %d 列,清除 %d 格 +%d 分 +%d EXP"), laserColumn + 1, laserCellsCleared, laserScore, laserExp);
|
_stprintf_s(laserDetail, _T("激光贯穿第 %d 列,清除 %d 格 +%d 分 +%d EXP"), laserColumn + 1, laserCellsCleared, laserScore, laserExp);
|
||||||
@@ -648,7 +643,6 @@ void Fixing()
|
|||||||
int crossScore = 0;
|
int crossScore = 0;
|
||||||
int crossExp = 0;
|
int crossExp = 0;
|
||||||
AwardRogueSkillClearRewards(totalCrossCleared, crossScore, crossExp, false);
|
AwardRogueSkillClearRewards(totalCrossCleared, crossScore, crossExp, false);
|
||||||
ApplyBoardGravity();
|
|
||||||
|
|
||||||
TCHAR crossDetail[128];
|
TCHAR crossDetail[128];
|
||||||
_stprintf_s(crossDetail, _T("十字冲击第 %d 行 / 第 %d 列,清除 %d 格 +%d 分 +%d EXP"), crossRow + 1, crossColumn + 1, totalCrossCleared, crossScore, crossExp);
|
_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);
|
ApplyLineClearResult(clearedLines);
|
||||||
if (clearedLines > 0)
|
|
||||||
{
|
|
||||||
ApplyBoardGravity();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (currentScreen == SCREEN_UPGRADE)
|
if (currentScreen == SCREEN_UPGRADE)
|
||||||
{
|
{
|
||||||
QueueLineClearEffect(clearedRows, clearedRowCount, clearedLines);
|
QueueLineClearEffect(clearedRows, clearedRowCount, clearedLines);
|
||||||
@@ -791,7 +780,6 @@ int DeleteLines()
|
|||||||
int followupScore = 0;
|
int followupScore = 0;
|
||||||
int followupExp = 0;
|
int followupExp = 0;
|
||||||
AwardRogueSkillClearRewards(followupCleared, followupScore, followupExp, false);
|
AwardRogueSkillClearRewards(followupCleared, followupScore, followupExp, false);
|
||||||
ApplyBoardGravity();
|
|
||||||
|
|
||||||
TCHAR followupDetail[128];
|
TCHAR followupDetail[128];
|
||||||
_stprintf_s(
|
_stprintf_s(
|
||||||
|
|||||||
@@ -351,7 +351,6 @@ void AdvanceRogueDifficulty(int elapsedMs)
|
|||||||
{
|
{
|
||||||
rogueStats.lockedRows = nextLockedRows;
|
rogueStats.lockedRows = nextLockedRows;
|
||||||
ClearLockedRows();
|
ClearLockedRows();
|
||||||
ApplyBoardGravity();
|
|
||||||
ComputeTarget();
|
ComputeTarget();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2205,7 +2204,6 @@ void ApplyLineClearResult(int linesCleared)
|
|||||||
int chainBlastScore = 0;
|
int chainBlastScore = 0;
|
||||||
int chainBlastExp = 0;
|
int chainBlastExp = 0;
|
||||||
AwardRogueSkillClearRewards(chainBlastCells, chainBlastScore, chainBlastExp, false);
|
AwardRogueSkillClearRewards(chainBlastCells, chainBlastScore, chainBlastExp, false);
|
||||||
ApplyBoardGravity();
|
|
||||||
|
|
||||||
TCHAR blastDetail[128];
|
TCHAR blastDetail[128];
|
||||||
_stprintf_s(
|
_stprintf_s(
|
||||||
@@ -2246,7 +2244,6 @@ void ApplyLineClearResult(int linesCleared)
|
|||||||
int thunderScore = 0;
|
int thunderScore = 0;
|
||||||
int thunderExp = 0;
|
int thunderExp = 0;
|
||||||
AwardRogueSkillClearRewards(thunderRowsCleared, thunderScore, thunderExp, false);
|
AwardRogueSkillClearRewards(thunderRowsCleared, thunderScore, thunderExp, false);
|
||||||
ApplyBoardGravity();
|
|
||||||
SetFeedbackMessage(_T("雷霆四消"), _T("雷击落下,额外清理了 2 行范围内的方块。"), 12);
|
SetFeedbackMessage(_T("雷霆四消"), _T("雷击落下,额外清理了 2 行范围内的方块。"), 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2264,7 +2261,6 @@ void ApplyLineClearResult(int linesCleared)
|
|||||||
int laserScore = 0;
|
int laserScore = 0;
|
||||||
int laserExp = 0;
|
int laserExp = 0;
|
||||||
AwardRogueSkillClearRewards(laserCellsCleared, laserScore, laserExp, false);
|
AwardRogueSkillClearRewards(laserCellsCleared, laserScore, laserExp, false);
|
||||||
ApplyBoardGravity();
|
|
||||||
|
|
||||||
TCHAR thunderLaserDetail[128];
|
TCHAR thunderLaserDetail[128];
|
||||||
_stprintf_s(
|
_stprintf_s(
|
||||||
@@ -2292,8 +2288,6 @@ void ApplyLineClearResult(int linesCleared)
|
|||||||
|
|
||||||
if (clearedBySweeper > 0)
|
if (clearedBySweeper > 0)
|
||||||
{
|
{
|
||||||
ApplyBoardGravity();
|
|
||||||
|
|
||||||
TCHAR sweeperDetail[128];
|
TCHAR sweeperDetail[128];
|
||||||
_stprintf_s(
|
_stprintf_s(
|
||||||
sweeperDetail,
|
sweeperDetail,
|
||||||
@@ -2392,10 +2386,6 @@ static void ResolvePendingUpgradeShockwave()
|
|||||||
pendingEvolutionImpactShockwave = false;
|
pendingEvolutionImpactShockwave = false;
|
||||||
|
|
||||||
int clearedRows = TriggerUpgradeShockwave(shockwaveRows);
|
int clearedRows = TriggerUpgradeShockwave(shockwaveRows);
|
||||||
if (clearedRows > 0)
|
|
||||||
{
|
|
||||||
ApplyBoardGravity();
|
|
||||||
}
|
|
||||||
int effectRows[4] = {};
|
int effectRows[4] = {};
|
||||||
int effectRowCount = clearedRows;
|
int effectRowCount = clearedRows;
|
||||||
if (effectRowCount > 4)
|
if (effectRowCount > 4)
|
||||||
@@ -2725,7 +2715,6 @@ void UseScreenBomb()
|
|||||||
|
|
||||||
rogueStats.screenBombCount--;
|
rogueStats.screenBombCount--;
|
||||||
int clearedCells = TriggerScreenBomb();
|
int clearedCells = TriggerScreenBomb();
|
||||||
ApplyBoardGravity();
|
|
||||||
int scoreGain = 0;
|
int scoreGain = 0;
|
||||||
int expGain = 0;
|
int expGain = 0;
|
||||||
AwardRogueSkillClearRewards(clearedCells, scoreGain, expGain, true);
|
AwardRogueSkillClearRewards(clearedCells, scoreGain, expGain, true);
|
||||||
@@ -2772,7 +2761,6 @@ void UseBlackHole()
|
|||||||
|
|
||||||
rogueStats.blackHoleCharges--;
|
rogueStats.blackHoleCharges--;
|
||||||
|
|
||||||
ApplyBoardGravity();
|
|
||||||
int scoreGain = 0;
|
int scoreGain = 0;
|
||||||
int expGain = 0;
|
int expGain = 0;
|
||||||
AwardRogueSkillClearRewards(clearedCells, scoreGain, expGain, true);
|
AwardRogueSkillClearRewards(clearedCells, scoreGain, expGain, true);
|
||||||
@@ -3234,7 +3222,6 @@ static void ApplyRogueSkillDemoStep()
|
|||||||
rogueStats.pressureReliefLevel = 1;
|
rogueStats.pressureReliefLevel = 1;
|
||||||
FillRogueDemoRows(5, 19, 6);
|
FillRogueDemoRows(5, 19, 6);
|
||||||
DeleteOneLine(5);
|
DeleteOneLine(5);
|
||||||
ApplyBoardGravity();
|
|
||||||
SetRogueDemoCurrentPiece(1, 0, 3, 0);
|
SetRogueDemoCurrentPiece(1, 0, 3, 0);
|
||||||
SetFeedbackMessage(_T("卸压清场"), _T("最高占用行已被清除,顶部压力立即下降。"), 12);
|
SetFeedbackMessage(_T("卸压清场"), _T("最高占用行已被清除,顶部压力立即下降。"), 12);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user