1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-08 00:06:36 +01:00

Add support for game window notifications

This commit is contained in:
jfreegman
2021-04-23 18:10:53 -04:00
parent 93fb84206d
commit c293fbe0c7
3 changed files with 79 additions and 7 deletions

View File

@@ -285,6 +285,13 @@ void game_show_high_score(GameData *game, bool show_high_score);
void game_show_lives(GameData *game, bool show_lives);
void game_show_level(GameData *game, bool show_level);
/*
* Sends a notification to the window associated with `game`.
*
* `message` - the notification message that will be displayed.
*/
void game_window_notify(const GameData *game, const char *message);
/*
* Updates game score.
*/