working on "How to play"
This commit is contained in:
+15
-2
@@ -153,6 +153,7 @@ private:
|
||||
Uint8 enemyDeployCounter; // Cuando se lanza una formación, se le da un valor y no sale otra hasta que llegue a cero
|
||||
float enemySpeed; // Velocidad a la que se mueven los enemigos
|
||||
effect_t effect; // Variable para gestionar los efectos visuales
|
||||
bool powerBallEabled; // Indica si hay una powerball ya activa
|
||||
};
|
||||
game_t mGame; // Variable con todas las variables usadas durante el juego
|
||||
|
||||
@@ -300,6 +301,9 @@ public:
|
||||
// Inicializa las variables necesarias para la sección 'Title'
|
||||
void initTitle(Uint8 subsection = TITLE_SECTION_1);
|
||||
|
||||
// Resetea las variables necesarias para la sección 'Title'
|
||||
void resetTitle(Uint8 subsection = TITLE_SECTION_1);
|
||||
|
||||
// Carga los recursos necesarios para la sección 'Title'
|
||||
bool loadMediaTitle();
|
||||
|
||||
@@ -364,7 +368,7 @@ public:
|
||||
void deployEnemyFormation();
|
||||
|
||||
// Aumenta el poder de la fase
|
||||
void increaseStageCurrentPower();
|
||||
void increaseStageCurrentPower(Uint8 power);
|
||||
|
||||
// Establece el valor de la variable
|
||||
void setScore(Uint32 score);
|
||||
@@ -553,6 +557,9 @@ public:
|
||||
// Establece el valor de la variable
|
||||
void setTimeStoppedCounter(Uint16 value);
|
||||
|
||||
// Incrementa el valor de la variable
|
||||
void incTimeStoppedCounter(Uint16 value);
|
||||
|
||||
// Actualiza la variable EnemyDeployCounter
|
||||
void updateEnemyDeployCounter();
|
||||
|
||||
@@ -644,7 +651,7 @@ public:
|
||||
void runPausedGame();
|
||||
|
||||
// Bucle para la pantalla de instrucciones
|
||||
void runInstructions();
|
||||
void runInstructions(Uint8 mode);
|
||||
|
||||
// Bucle para la pantalla de game over
|
||||
void runGameOverScreen();
|
||||
@@ -660,6 +667,12 @@ public:
|
||||
|
||||
// Dibuja la informacion de debug en pantalla
|
||||
void renderDebugInfo();
|
||||
|
||||
// Indica si se puede crear una powerball
|
||||
bool canPowerBallBeCreated();
|
||||
|
||||
// Calcula el poder actual de los globos en pantalla
|
||||
int calculateScreenPower();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user