添加粒子效果
This commit is contained in:
@@ -143,6 +143,35 @@ struct FeedbackState
|
||||
TCHAR detail[128];
|
||||
};
|
||||
|
||||
struct ClearEffectState
|
||||
{
|
||||
int ticks;
|
||||
int totalTicks;
|
||||
int rowCount;
|
||||
int rows[8];
|
||||
};
|
||||
|
||||
struct FloatingTextEffect
|
||||
{
|
||||
int ticks;
|
||||
int totalTicks;
|
||||
int boardX;
|
||||
int boardY;
|
||||
TCHAR text[64];
|
||||
COLORREF color;
|
||||
};
|
||||
|
||||
struct ParticleEffect
|
||||
{
|
||||
int ticks;
|
||||
int totalTicks;
|
||||
int boardX;
|
||||
int boardY;
|
||||
int velocityX;
|
||||
int velocityY;
|
||||
COLORREF color;
|
||||
};
|
||||
|
||||
enum ScreenState
|
||||
{
|
||||
SCREEN_MENU = 0,
|
||||
@@ -180,6 +209,9 @@ extern PlayerStats classicStats;
|
||||
extern PlayerStats rogueStats;
|
||||
extern UpgradeUiState upgradeUiState;
|
||||
extern FeedbackState feedbackState;
|
||||
extern ClearEffectState clearEffectState;
|
||||
extern FloatingTextEffect floatingTextEffects[8];
|
||||
extern ParticleEffect particleEffects[24];
|
||||
extern int currentScreen;
|
||||
extern int currentMode;
|
||||
extern int currentFallInterval;
|
||||
@@ -215,6 +247,9 @@ void HoldCurrentPiece();
|
||||
void UseScreenBomb();
|
||||
void UseBlackHole();
|
||||
void UseAirReshape();
|
||||
void ResetVisualEffects();
|
||||
bool TickVisualEffects();
|
||||
void TriggerLineClearEffect(const int* rows, int rowCount, int linesCleared);
|
||||
int GetRogueFallInterval();
|
||||
int GetRoguePlayableHeight();
|
||||
int GetRogueLockedRows();
|
||||
|
||||
Reference in New Issue
Block a user