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