-
Notifications
You must be signed in to change notification settings - Fork 0
/
final_score.h
30 lines (27 loc) · 973 Bytes
/
final_score.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* @file final_score.h
* @author Petr Kucera ([email protected])
* @brief Module with function draw final score that draws the final score to the screen and waits for user input. Returns true if the user pressed the s key and therefor wants to continue playing or the q key indicating he wants to end the program
* @version 0.1
* @date 2021-05-04
*
* @copyright Copyright (c) 2021
*
*/
#include <stdbool.h>
#include "data_structures.h"
#include "font_types.h"
#ifndef FINAL_SCORE_H
#define FINAL_SCORE_H
/**
* @brief Draws the final score to the screen and waits for user input
*
* @param score
* @param frame_buff
* @param lcd_mem_base
* @param font
* @return true if the user pressed the s key and therefor wants to continue playing
* @return false if the user pressed the q key indicating he wants to end the program
*/
bool draw_final_score(int score, fb_data *frame_buff, unsigned char *lcd_mem_base, font_descriptor_t *font);
#endif