Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PlanScreen.h
Go to the documentation of this file.
1 /* Project Starshatter 4.5
2  Destroyer Studios LLC
3  Copyright © 1997-2004. All Rights Reserved.
4 
5  SUBSYSTEM: Stars.exe
6  FILE: PlanScreen.h
7  AUTHOR: John DiCamillo
8 
9 */
10 
11 #ifndef PlanScreen_h
12 #define PlanScreen_h
13 
14 #include "Types.h"
15 #include "Bitmap.h"
16 #include "Screen.h"
17 #include "BaseScreen.h"
18 
19 // +--------------------------------------------------------------------+
20 
21 class MsnObjDlg;
22 class MsnPkgDlg;
23 class MsnWepDlg;
24 class MsnNavDlg;
25 class DebriefDlg;
26 class AwardDlg;
27 
28 class Bitmap;
29 class DataLoader;
30 class Font;
31 class Screen;
32 class Video;
33 class VideoFactory;
34 
35 // +--------------------------------------------------------------------+
36 
37 class PlanScreen : public BaseScreen
38 {
39 public:
40  PlanScreen();
41  virtual ~PlanScreen();
42 
43  virtual void Setup(Screen* screen);
44  virtual void TearDown();
45  virtual bool CloseTopmost();
46 
47  virtual bool IsShown() const { return isShown; }
48  virtual void Show();
49  virtual void Hide();
50 
51  virtual void ShowMsnDlg();
52  virtual void HideMsnDlg();
53  virtual bool IsMsnShown();
54 
55  virtual void ShowMsnObjDlg();
56  virtual void HideMsnObjDlg();
57  virtual bool IsMsnObjShown();
58  virtual MsnObjDlg* GetMsnObjDlg() { return objdlg; }
59 
60  virtual void ShowMsnPkgDlg();
61  virtual void HideMsnPkgDlg();
62  virtual bool IsMsnPkgShown();
63  virtual MsnPkgDlg* GetMsnPkgDlg() { return pkgdlg; }
64 
65  virtual void ShowMsnWepDlg();
66  virtual void HideMsnWepDlg();
67  virtual bool IsMsnWepShown();
68  virtual MsnWepDlg* GetMsnWepDlg() { return wepdlg; }
69 
70  virtual void ShowNavDlg();
71  virtual void HideNavDlg();
72  virtual bool IsNavShown();
73  virtual NavDlg* GetNavDlg() { return (NavDlg*) navdlg; }
74 
75  virtual void ShowDebriefDlg();
76  virtual void HideDebriefDlg();
77  virtual bool IsDebriefShown();
78  virtual DebriefDlg* GetDebriefDlg() { return debrief_dlg; }
79 
80  virtual void ShowAwardDlg();
81  virtual void HideAwardDlg();
82  virtual bool IsAwardShown();
83  virtual AwardDlg* GetAwardDlg() { return award_dlg; }
84 
85  virtual void ExecFrame();
86  virtual void HideAll();
87 
88 
89 private:
90  Screen* screen;
91 
92  MsnObjDlg* objdlg;
93  MsnPkgDlg* pkgdlg;
94  MsnWepDlg* wepdlg;
95  MsnNavDlg* navdlg;
96  DebriefDlg* debrief_dlg;
97  AwardDlg* award_dlg;
98 
99  DataLoader* loader;
100 
101  int wc, hc;
102  bool isShown;
103 };
104 
105 // +--------------------------------------------------------------------+
106 
107 #endif PlanScreen_h
108