OpenMortal Apocalypse mirror
Sourceforge mirror
SourceForge.net Logo
      News | Info | Characters | Arenas | Screenshots | Forums | Download  
Developer: Making of | Character-HOWTO | AI Design | Submit a Character
Documentation: Main Page | Modules | Class Hierarchy | Class List | File List

CPlayerSelectView Class Reference
[Fighter selection]

View part model-view-controller architecture of the player selection. More...

#include <PlayerSelectView.h>

List of all members.

Public Member Functions

 CPlayerSelectView (bool a_bNetworkGame, bool a_bTeamMode)
 ~CPlayerSelectView ()
void Advance (int a_iNumFrames)
void Draw ()
CTextAreaGetTextArea ()
CReadline * GetReadline ()
void AddViewElement (IViewElement *a_poElement, int a_iPriority)
void RemoveViewElement (IViewElement *a_poElement)
void AddFighterToTeam (int a_iPlayer, FighterEnum a_enFighter)
bool IsOver ()
CTeamDisplayGetTeamDisplay (int a_iPlayer)

Protected Types

typedef std::list< IViewElement * > TViewElements

Protected Attributes

bool m_bTeamMode
bool m_bTeamMultiselect
bool m_bNetworkGame
SDL_Surface * m_poBackground
CTextAream_poTextArea
CReadline * m_poReadline
bool m_bOver
int m_iChooserTop
int m_iChooserLeft
int m_iChooserHeight
int m_iChooserWidth
int m_iFighterYOffset
int m_iFighterNameYOffset
int m_iTime
TViewElements m_apoElements
CTeamDisplaym_apoTeamDisplays [MAXPLAYERS]


Detailed Description

View part model-view-controller architecture of the player selection.


Member Typedef Documentation

typedef std::list<IViewElement*> CPlayerSelectView::TViewElements [protected]
 


Constructor & Destructor Documentation

CPlayerSelectView::CPlayerSelectView bool  a_bNetworkGame,
bool  a_bTeamMode
 

CPlayerSelectView::~CPlayerSelectView  ) 
 


Member Function Documentation

void CPlayerSelectView::AddFighterToTeam int  a_iPlayer,
FighterEnum  a_enFighter
 

void CPlayerSelectView::AddViewElement IViewElement a_poElement,
int  a_iPriority
 

void CPlayerSelectView::Advance int  a_iNumFrames  ) 
 

void CPlayerSelectView::Draw  ) 
 

CReadline * CPlayerSelectView::GetReadline  ) 
 

CTeamDisplay * CPlayerSelectView::GetTeamDisplay int  a_iPlayer  ) 
 

CTextArea * CPlayerSelectView::GetTextArea  ) 
 

bool CPlayerSelectView::IsOver  ) 
 

void CPlayerSelectView::RemoveViewElement IViewElement a_poElement  ) 
 


Member Data Documentation

TViewElements CPlayerSelectView::m_apoElements [protected]
 

CTeamDisplay* CPlayerSelectView::m_apoTeamDisplays[MAXPLAYERS] [protected]
 

bool CPlayerSelectView::m_bNetworkGame [protected]
 

bool CPlayerSelectView::m_bOver [protected]
 

bool CPlayerSelectView::m_bTeamMode [protected]
 

bool CPlayerSelectView::m_bTeamMultiselect [protected]
 

int CPlayerSelectView::m_iChooserHeight [protected]
 

int CPlayerSelectView::m_iChooserLeft [protected]
 

int CPlayerSelectView::m_iChooserTop [protected]
 

int CPlayerSelectView::m_iChooserWidth [protected]
 

int CPlayerSelectView::m_iFighterNameYOffset [protected]
 

int CPlayerSelectView::m_iFighterYOffset [protected]
 

int CPlayerSelectView::m_iTime [protected]
 

SDL_Surface* CPlayerSelectView::m_poBackground [protected]
 

CReadline* CPlayerSelectView::m_poReadline [protected]
 

CTextArea* CPlayerSelectView::m_poTextArea [protected]
 


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