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

CFlyingPortraitViewElement Class Reference
[Fighter selection]

Flying portrait element for CPlayerSelectView. More...

Inheritance diagram for CFlyingPortraitViewElement:

IViewElement List of all members.

Public Member Functions

 CFlyingPortraitViewElement (CPlayerSelectView *a_poView, CTeamDisplay *a_poTeamDisplay, FighterEnum a_enFighter, const SDL_Rect &a_oSrcRect, const SDL_Rect &a_oDstRect)
 ~CFlyingPortraitViewElement ()
void Advance (int a_iNumFrames)
void Draw ()

Protected Attributes

CTeamDisplaym_poTeamDisplay
int m_iTeamNumber
FighterEnum m_enFighter
double m_dX
double m_dY
double m_dSize
double m_dSpeedX
double m_dSpeedY
double m_dSpeedSize
double m_dTargetX
double m_dTargetY
double m_dTargetSize
int m_iTotalTime
int m_iTime
SDL_Rect m_oDstRect
SDL_Rect m_oRect
int m_iNumber

Detailed Description

Flying portrait element for CPlayerSelectView.

The portrait of a given fighter will gracefully fly from the chooser to a team display. The view element will delete itself afterwards.


Constructor & Destructor Documentation

CFlyingPortraitViewElement::CFlyingPortraitViewElement CPlayerSelectView a_poView,
CTeamDisplay a_poTeamDisplay,
FighterEnum  a_enFighter,
const SDL_Rect &  a_oSrcRect,
const SDL_Rect &  a_oDstRect
[inline]
 

CFlyingPortraitViewElement::~CFlyingPortraitViewElement  )  [inline]
 


Member Function Documentation

void CFlyingPortraitViewElement::Advance int  a_iNumFrames  )  [inline, virtual]
 

Implements IViewElement.

void CFlyingPortraitViewElement::Draw  )  [inline, virtual]
 

Implements IViewElement.


Member Data Documentation

double CFlyingPortraitViewElement::m_dSize [protected]
 

double CFlyingPortraitViewElement::m_dSpeedSize [protected]
 

double CFlyingPortraitViewElement::m_dSpeedX [protected]
 

double CFlyingPortraitViewElement::m_dSpeedY [protected]
 

double CFlyingPortraitViewElement::m_dTargetSize [protected]
 

double CFlyingPortraitViewElement::m_dTargetX [protected]
 

double CFlyingPortraitViewElement::m_dTargetY [protected]
 

double CFlyingPortraitViewElement::m_dX [protected]
 

double CFlyingPortraitViewElement::m_dY [protected]
 

FighterEnum CFlyingPortraitViewElement::m_enFighter [protected]
 

int CFlyingPortraitViewElement::m_iNumber [protected]
 

int CFlyingPortraitViewElement::m_iTeamNumber [protected]
 

int CFlyingPortraitViewElement::m_iTime [protected]
 

int CFlyingPortraitViewElement::m_iTotalTime [protected]
 

SDL_Rect CFlyingPortraitViewElement::m_oDstRect [protected]
 

SDL_Rect CFlyingPortraitViewElement::m_oRect [protected]
 

CTeamDisplay* CFlyingPortraitViewElement::m_poTeamDisplay [protected]
 


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