1 /*
2   Copyright (C) 2009 Facundo Domínguez
3 
4   This file is part of Spacejunk.
5 
6   Spacejunk is free software: you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation, either version 3 of the License, or
9   (at your option) any later version.
10 
11   Foobar is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15 
16   You should have received a copy of the GNU General Public License
17   along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef SCREENS_H
21 #define SCREENS_H
22 
23 #include "scorelist.h"
24 
25 typedef enum {
26 QUITBT,
27 PLAYBT,
28 SCORESBT,
29 STORYBT,
30 CREDITSBT,
31 EDITORBT,
32 OPTIONSBT,
33 MULTIPLAYERBT
34 } ButtonPress;
35 
36 ButtonPress mainScreen(int & levelcount,int leveltotal);
37 bool fallenScreen();
38 void lastLevelScreen();
39 void optionsScreen(int * musvol, int * fxvol);
40 void scoreScreen(const ScoreList &scorelist);
41 void storyScreen();
42 void enterScoreScreen(ScoreList * scorelist,int points);
43 bool giveUpScreen();
44 bool missionFailedScreen();
45 bool sumaryScreen(real fuel,real maxfuel,int bonus,int * score);
46 void creditsScreen();
47 
48 #endif // SCREENS_H
49