Richard Boegli's CnC_Generals_Zero_Hour Fork
WIP
This is documentation of Richard Boegil's Zero Hour Fork
Loading...
Searching...
No Matches
addplayerdialog.h
Go to the documentation of this file.
1
/*
2
** Command & Conquer Generals Zero Hour(tm)
3
** Copyright 2025 Electronic Arts Inc.
4
**
5
** This program is free software: you can redistribute it and/or modify
6
** it under the terms of the GNU General Public License as published by
7
** the Free Software Foundation, either version 3 of the License, or
8
** (at your option) any later version.
9
**
10
** This program is distributed in the hope that it will be useful,
11
** but WITHOUT ANY WARRANTY; without even the implied warranty of
12
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
** GNU General Public License for more details.
14
**
15
** You should have received a copy of the GNU General Public License
16
** along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#if !defined(AFX_ADDPLAYERDIALOG_H__96179004_35C9_436A_A302_A777E77F8F04__INCLUDED_)
20
#define AFX_ADDPLAYERDIALOG_H__96179004_35C9_436A_A302_A777E77F8F04__INCLUDED_
21
22
#if _MSC_VER > 1000
23
#pragma once
24
#endif
// _MSC_VER > 1000
25
// addplayerdialog.h : header file
26
//
27
28
#include "
GameLogic/SidesList.h
"
29
31
// AddPlayerDialog dialog
32
33
class
AddPlayerDialog
:
public
CDialog
34
{
35
private
:
36
AsciiString
m_side;
37
AsciiString
m_addedSide;
38
39
// Construction
40
public
:
41
AddPlayerDialog
(
AsciiString
side, CWnd* pParent =
NULL
);
// standard constructor
42
43
AsciiString
getAddedSide
() {
return
m_addedSide; }
44
45
// Dialog Data
46
//{{AFX_DATA(AddPlayerDialog)
47
enum
{
IDD
=
IDD_ADDPLAYER
};
48
// NOTE: the ClassWizard will add data members here
49
//}}AFX_DATA
50
51
52
// Overrides
53
// ClassWizard generated virtual function overrides
54
//{{AFX_VIRTUAL(AddPlayerDialog)
55
protected
:
56
virtual
void
DoDataExchange
(CDataExchange* pDX);
// DDX/DDV support
57
//}}AFX_VIRTUAL
58
59
// Implementation
60
protected
:
61
62
// Generated message map functions
63
//{{AFX_MSG(AddPlayerDialog)
64
virtual
void
OnOK
();
65
virtual
void
OnCancel
();
66
virtual
BOOL
OnInitDialog
();
67
afx_msg
void
OnEditchangeCombo1
();
68
//}}AFX_MSG
69
DECLARE_MESSAGE_MAP()
70
};
71
72
//{{AFX_INSERT_LOCATION}}
73
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
74
75
#endif
// !defined(AFX_ADDPLAYERDIALOG_H__96179004_35C9_436A_A302_A777E77F8F04__INCLUDED_)
NULL
#define NULL
Definition
BaseType.h:92
SidesList.h
IDD_ADDPLAYER
#define IDD_ADDPLAYER
Definition
resource.h:110
BOOL
#define BOOL
Definition
Wnd_File.h:57
AddPlayerDialog::OnInitDialog
virtual BOOL OnInitDialog()
Definition
addplayerdialog.cpp:106
AddPlayerDialog::IDD
@ IDD
Definition
addplayerdialog.h:47
AddPlayerDialog::OnOK
virtual void OnOK()
Definition
addplayerdialog.cpp:65
AddPlayerDialog::AddPlayerDialog
AddPlayerDialog(AsciiString side, CWnd *pParent=NULL)
Definition
addplayerdialog.cpp:35
AddPlayerDialog::getAddedSide
AsciiString getAddedSide()
Definition
addplayerdialog.h:43
AddPlayerDialog::OnCancel
virtual void OnCancel()
Definition
addplayerdialog.cpp:100
AddPlayerDialog::OnEditchangeCombo1
afx_msg void OnEditchangeCombo1()
Definition
addplayerdialog.cpp:128
AddPlayerDialog::DoDataExchange
virtual void DoDataExchange(CDataExchange *pDX)
Definition
addplayerdialog.cpp:47
AsciiString
Definition
AsciiString.h:87
Code
Tools
WorldBuilder
include
addplayerdialog.h
Generated by
1.13.2