FreeRTOS Tetris
|
Header file for gui.c. More...
Go to the source code of this file.
Functions | |
void | vGUIDrawMainMenu (game_mode_t mode, player_mode_t playerMode, rotation_t rotationMode, bool isConnected) |
Draw the main menu. More... | |
bool | bGUIDrawLevelScreen (uint8_t *currentLevel, const score_t highScores[]) |
Draw the level selection & highscores screen. More... | |
void | vGUIDrawStatic (const image_handle_t squares[], const score_t *score) |
Draw the wall, score, level & number of lines completed. More... | |
void | vGUIDrawPauseMenu (bool isConnected) |
Draw the Pause Menu. More... | |
void | vGUIDrawGameOverMenu (score_t *score, char *lastUserName) |
Draw the Game-Over Menu. More... | |
bool | bGUIDrawPlayerModeSelection (player_mode_t *playerMode) |
Draw the player-mode selection in Main Menu. More... | |
bool | bGUIDrawRotationSelection (rotation_t *rotationMode) |
Draw rotation-mode selection in Main Menu. More... | |
bool | bGUIDrawLevelMenuSelection (void) |
Draws & let the player switch to the level selection/highscores screen. More... | |
void | vGUIDrawTetromino (const tetromino_t *tetromino, const image_handle_t squares[]) |
Draw the current Tetromino. More... | |
void | vGUIDrawLanded (const color_t landed[ROWS][COLS], const image_handle_t squares[]) |
Draw the array of landed tetrominos. More... | |
void | vGUIDrawNextTetromino (const tetromino_t *tetromino, const image_handle_t squares[]) |
Draw the upcoming Tetromino in the upper right corner. More... | |
void | vGUIDrawFPS (void) |
Draw an FPS counter. | |
void | vGUISetImageHandle (image_handle_t squares[]) |
Takes an image_handle_t array & initializes it with the correct images. More... | |
Header file for gui.c.