Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
PlayerListDlg Class Reference

#include <playerlistdlg.h>

Inherits CDialog.

Public Types

enum  { IDD = IDD_PLAYERLIST }
 

Public Member Functions

 PlayerListDlg (CWnd *pParent=NULL)
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
void updateTheUI (void)
 
void PopulateColorComboBox (void)
 
void SelectColor (RGBColor rgb)
 
afx_msg void OnNewplayer ()
 
afx_msg void OnEditplayer ()
 
afx_msg void OnRemoveplayer ()
 
afx_msg void OnSelchangePlayers ()
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnDblclkPlayers ()
 
afx_msg void OnSelchangeAllieslist ()
 
afx_msg void OnSelchangeEnemieslist ()
 
virtual void OnOK ()
 
virtual void OnCancel ()
 
afx_msg void OnPlayeriscomputer ()
 
afx_msg void OnEditchangePlayerfaction ()
 
afx_msg void OnChangePlayername ()
 
afx_msg void OnChangePlayerdisplayname ()
 
afx_msg void OnColorPress ()
 
afx_msg void OnSelectPlayerColor ()
 
afx_msg void OnAddskirmishplayers ()
 

Protected Attributes

Int m_updating
 
SidesList m_sides
 
Int m_curPlayerIdx
 
CButtonShowColor m_colorButton
 

Detailed Description

Definition at line 34 of file playerlistdlg.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDD 

Definition at line 42 of file playerlistdlg.h.

Constructor & Destructor Documentation

◆ PlayerListDlg()

PlayerListDlg::PlayerListDlg ( CWnd * pParent = NULL)

Definition at line 241 of file playerlistdlg.cpp.

Member Function Documentation

◆ DoDataExchange()

void PlayerListDlg::DoDataExchange ( CDataExchange * pDX)
protectedvirtual

Definition at line 250 of file playerlistdlg.cpp.

◆ OnAddskirmishplayers()

void PlayerListDlg::OnAddskirmishplayers ( )
protected

Definition at line 864 of file playerlistdlg.cpp.

◆ OnCancel()

void PlayerListDlg::OnCancel ( )
protectedvirtual

Definition at line 756 of file playerlistdlg.cpp.

◆ OnChangePlayerdisplayname()

void PlayerListDlg::OnChangePlayerdisplayname ( )
protected

Definition at line 820 of file playerlistdlg.cpp.

◆ OnChangePlayername()

void PlayerListDlg::OnChangePlayername ( )
protected

Definition at line 791 of file playerlistdlg.cpp.

◆ OnColorPress()

void PlayerListDlg::OnColorPress ( )
protected

Definition at line 626 of file playerlistdlg.cpp.

◆ OnDblclkPlayers()

void PlayerListDlg::OnDblclkPlayers ( )
protected

Definition at line 621 of file playerlistdlg.cpp.

◆ OnEditchangePlayerfaction()

void PlayerListDlg::OnEditchangePlayerfaction ( )
protected

Definition at line 769 of file playerlistdlg.cpp.

◆ OnEditplayer()

void PlayerListDlg::OnEditplayer ( )
protected

Definition at line 334 of file playerlistdlg.cpp.

◆ OnInitDialog()

BOOL PlayerListDlg::OnInitDialog ( )
protectedvirtual

Definition at line 596 of file playerlistdlg.cpp.

◆ OnNewplayer()

void PlayerListDlg::OnNewplayer ( )
protected

Added -1 so we can always have an observer even for Single player games.

Definition at line 283 of file playerlistdlg.cpp.

◆ OnOK()

void PlayerListDlg::OnOK ( )
protectedvirtual

Definition at line 741 of file playerlistdlg.cpp.

◆ OnPlayeriscomputer()

void PlayerListDlg::OnPlayeriscomputer ( )
protected

Definition at line 761 of file playerlistdlg.cpp.

◆ OnRemoveplayer()

void PlayerListDlg::OnRemoveplayer ( )
protected

Definition at line 382 of file playerlistdlg.cpp.

◆ OnSelchangeAllieslist()

void PlayerListDlg::OnSelchangeAllieslist ( )
protected

Definition at line 714 of file playerlistdlg.cpp.

◆ OnSelchangeEnemieslist()

void PlayerListDlg::OnSelchangeEnemieslist ( )
protected

Definition at line 736 of file playerlistdlg.cpp.

◆ OnSelchangePlayers()

void PlayerListDlg::OnSelchangePlayers ( )
protected

Definition at line 429 of file playerlistdlg.cpp.

◆ OnSelectPlayerColor()

void PlayerListDlg::OnSelectPlayerColor ( )
protected

Definition at line 683 of file playerlistdlg.cpp.

◆ PopulateColorComboBox()

void PlayerListDlg::PopulateColorComboBox ( void )
protected

Definition at line 638 of file playerlistdlg.cpp.

◆ SelectColor()

void PlayerListDlg::SelectColor ( RGBColor rgb)
protected

Definition at line 658 of file playerlistdlg.cpp.

◆ updateTheUI()

void PlayerListDlg::updateTheUI ( void )
protected

Definition at line 436 of file playerlistdlg.cpp.

Member Data Documentation

◆ m_colorButton

CButtonShowColor PlayerListDlg::m_colorButton
protected

Definition at line 60 of file playerlistdlg.h.

◆ m_curPlayerIdx

Int PlayerListDlg::m_curPlayerIdx
protected

Definition at line 59 of file playerlistdlg.h.

◆ m_sides

SidesList PlayerListDlg::m_sides
protected

Definition at line 58 of file playerlistdlg.h.

◆ m_updating

Int PlayerListDlg::m_updating
protected

Definition at line 57 of file playerlistdlg.h.


The documentation for this class was generated from the following files: