增加技能演示选项
This commit is contained in:
@@ -191,6 +191,16 @@ struct CellFlashEffect
|
||||
COLORREF color;
|
||||
};
|
||||
|
||||
struct GravityFallEffect
|
||||
{
|
||||
int ticks;
|
||||
int totalTicks;
|
||||
int x;
|
||||
int fromY;
|
||||
int toY;
|
||||
int cellValue;
|
||||
};
|
||||
|
||||
enum ScreenState
|
||||
{
|
||||
SCREEN_MENU = 0,
|
||||
@@ -240,6 +250,7 @@ extern ClearEffectState clearEffectState;
|
||||
extern FloatingTextEffect floatingTextEffects[8];
|
||||
extern ParticleEffect particleEffects[96];
|
||||
extern CellFlashEffect cellFlashEffects[64];
|
||||
extern GravityFallEffect gravityFallEffects[80];
|
||||
extern int currentScreen;
|
||||
extern int currentMode;
|
||||
extern int currentFallInterval;
|
||||
@@ -270,11 +281,17 @@ void StartGameWithMode(int mode);
|
||||
void ReturnToMainMenu();
|
||||
void ReviveAfterVideo();
|
||||
void StartRogueSkillDemo();
|
||||
void StartRogueSkillDemoAt(int demoIndex);
|
||||
bool IsRogueSkillDemoMode();
|
||||
bool TickRogueSkillDemo();
|
||||
void AdvanceRogueSkillDemo();
|
||||
int GetRogueSkillDemoCount();
|
||||
const TCHAR* GetRogueSkillDemoName(int demoIndex);
|
||||
const TCHAR* GetRogueSkillDemoDetail(int demoIndex);
|
||||
const TCHAR* GetCurrentRogueSkillDemoName();
|
||||
void SetFeedbackMessage(const TCHAR* title, const TCHAR* detail, int ticks);
|
||||
void OpenRulesScreen();
|
||||
void OpenSkillDemoScreen();
|
||||
void OpenCreditScreen();
|
||||
void ChangeCreditPage(int direction);
|
||||
void OpenUpgradeMenu();
|
||||
@@ -292,6 +309,7 @@ void TriggerLineClearEffect(const int* rows, int rowCount, int linesCleared);
|
||||
void PlayPendingLineClearEffect();
|
||||
void TriggerCellClearEffect(const Point* cells, int cellCount, bool strongBurst);
|
||||
void TriggerColoredCellClearEffect(const Point* cells, int cellCount, COLORREF flashColor, bool strongBurst);
|
||||
void TriggerGravityFallEffect(int x, int fromY, int toY, int cellValue);
|
||||
void AwardRogueSkillClearRewards(int clearedCells, int& scoreGain, int& expGain, bool allowLevelProgress);
|
||||
void CheckRogueLevelProgress();
|
||||
void ApplyBoardGravity();
|
||||
|
||||
Reference in New Issue
Block a user