blob: 27d1aed529ff6ff7e2a4c0bfa3567e656f612eca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/**
* @file
* @brief Handle shutdown.
**/
#ifndef END_H
#define END_H
#include "hiscores.h" // scorefile_entry
NORETURN void end(int exit_code, bool print_err = false, PRINTF(2, = NULL));
NORETURN void end_game(scorefile_entry &se);
NORETURN void game_ended();
NORETURN void game_ended_with_error(const string &message);
NORETURN void screen_end_game(string text);
void cio_cleanup();
class game_ended_condition : public exception
{
};
#endif
|