Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
NetLobbyDlg.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: NetLobbyDlg.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Main Menu Dialog Active Window class
13
*/
14
15
#ifndef NetLobbyDlg_h
16
#define NetLobbyDlg_h
17
18
#include "
Types.h
"
19
#include "
FormWindow.h
"
20
#include "
Bitmap.h
"
21
#include "
Button.h
"
22
#include "
ComboBox.h
"
23
#include "
ListBox.h
"
24
#include "
EditBox.h
"
25
#include "
Font.h
"
26
27
// +--------------------------------------------------------------------+
28
29
class
MenuScreen
;
30
class
NetClientConfig
;
31
class
NetLobby
;
32
class
NetCampaignInfo
;
33
class
MissionInfo
;
34
class
NetChatEntry
;
35
class
NetUser
;
36
37
// +--------------------------------------------------------------------+
38
39
class
NetLobbyDlg
:
public
FormWindow
40
{
41
public
:
42
NetLobbyDlg
(
Screen
* s,
FormDef
& def,
MenuScreen
* mgr);
43
virtual
~NetLobbyDlg
();
44
45
virtual
void
RegisterControls
();
46
virtual
void
Show
();
47
virtual
void
ExecFrame
();
48
49
// Operations:
50
virtual
void
OnCampaignSelect
(
AWEvent
*
event
);
51
virtual
void
OnMissionSelect
(
AWEvent
* event);
52
53
virtual
void
OnApply
(
AWEvent
* event);
54
virtual
void
OnCancel
(
AWEvent
* event);
55
56
virtual
void
ExecLobbyFrame
();
57
58
protected
:
59
virtual
void
GetPlayers
();
60
virtual
void
GetChat
();
61
virtual
void
GetMissions
();
62
virtual
void
GetSelectedMission
();
63
virtual
void
SendChat
(
Text
msg);
64
virtual
void
SelectMission
();
65
66
MenuScreen
*
manager
;
67
68
ComboBox
*
lst_campaigns
;
69
ListBox
*
lst_missions
;
70
ActiveWindow
*
txt_desc
;
71
ListBox
*
lst_players
;
72
ListBox
*
lst_chat
;
73
EditBox
*
edt_chat
;
74
75
Button
*
apply
;
76
Button
*
cancel
;
77
78
NetLobby
*
net_lobby
;
79
80
int
selected_campaign
;
81
int
selected_mission
;
82
int
last_chat
;
83
bool
host_mode
;
84
};
85
86
// +--------------------------------------------------------------------+
87
88
#endif NetLobbyDlg_h
89
Stars45
NetLobbyDlg.h
Generated on Tue Jun 5 2012 20:47:05 for Starshatter_Open by
1.8.1