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

CTeamDisplay Class Reference
[Fighter selection]

Displays teams in the player selection screen for CPlayerSelectView. More...

List of all members.

Public Member Functions

 CTeamDisplay (int a_iPlayer, SDL_Surface *a_poScreen, const SDL_Rect &a_roRect)
 ~CTeamDisplay ()
void DrawTitle (Uint32 a_iColor)
void DrawQuestionMark (Uint32 a_iColor, int a_iNumber=-1)
void AddFighter (FighterEnum a_enFighter)
void DrawFighter (FighterEnum a_enFighter, int a_iNumber)
SDL_Rect GetRect (int a_iNumber=-1)
int GetCount ()

Protected Attributes

int m_iPlayer
SDL_Surface * m_poScreen
SDL_Rect m_oRect
int m_iTitleX
int m_iCount
int m_iMax


Detailed Description

Displays teams in the player selection screen for CPlayerSelectView.


Constructor & Destructor Documentation

CTeamDisplay::CTeamDisplay int  a_iPlayer,
SDL_Surface *  a_poScreen,
const SDL_Rect &  a_roRect
 

CTeamDisplay::~CTeamDisplay  ) 
 


Member Function Documentation

void CTeamDisplay::AddFighter FighterEnum  a_enFighter  ) 
 

void CTeamDisplay::DrawFighter FighterEnum  a_enFighter,
int  a_iNumber
 

void CTeamDisplay::DrawQuestionMark Uint32  a_iColor,
int  a_iNumber = -1
 

void CTeamDisplay::DrawTitle Uint32  a_iColor  ) 
 

int CTeamDisplay::GetCount  )  [inline]
 

SDL_Rect CTeamDisplay::GetRect int  a_iNumber = -1  ) 
 


Member Data Documentation

int CTeamDisplay::m_iCount [protected]
 

int CTeamDisplay::m_iMax [protected]
 

int CTeamDisplay::m_iPlayer [protected]
 

int CTeamDisplay::m_iTitleX [protected]
 

SDL_Rect CTeamDisplay::m_oRect [protected]
 

SDL_Surface* CTeamDisplay::m_poScreen [protected]
 


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