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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user