1 /*
2  *  This file is part of Dune Legacy.
3  *
4  *  Dune Legacy is free software: you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation, either version 2 of the License, or
7  *  (at your option) any later version.
8  *
9  *  Dune Legacy is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with Dune Legacy.  If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef BRIEFINGMENU_H
19 #define BRIEFINGMENU_H
20 
21 #include "MentatMenu.h"
22 #include <GUI/PictureButton.h>
23 #include <GUI/dune/AnimationLabel.h>
24 
25 #define BRIEFING        0
26 #define DEBRIEFING_WIN  1
27 #define DEBRIEFING_LOST 2
28 
29 class BriefingMenu : public MentatMenu
30 {
31 public:
32     BriefingMenu(int newHouse,int mission, int type);
33     virtual ~BriefingMenu();
34 
35     virtual void onMentatTextFinished();
36 
37     virtual int showMenu();
38 
39 private:
40     std::string text;
41 
42     void onRepeat();
43     void onProcced();
44     int mission;
45     int type;
46     PictureButton   repeatButton;
47     PictureButton   proccedButton;
48     AnimationLabel  animation;
49 };
50 
51 #endif //BRIEFINGMENU_H
52