Apocalypse mirror
Sourceforge mirror |
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 |
#include <FlyingChars.h>
Public Types | |
enum | TextAlignmentEnum { FC_AlignLeft, FC_AlignRight, FC_AlignCenter, FC_AlignJustify } |
Public Member Functions | |
CFlyingChars (sge_bmpFont *a_poFont, const SDL_Rect &a_roRect, int a_iFontDisplacement=0) | |
~CFlyingChars () | |
void | AddText (const char *a_pcText, TextAlignmentEnum a_enAlignment, bool bOneByOne) |
void | Advance (int a_iNumFrames) |
void | Draw () |
bool | IsDone () |
int | GetCount () |
Protected Types | |
typedef std::vector< SFlyingLetter > | CFlyingLetterList |
typedef CFlyingLetterList::iterator | CFlyingLetterIterator |
Protected Member Functions | |
void | AddNextLine () |
int | GetCharWidth (unsigned char a_cChar) |
void | DequeueText () |
Protected Attributes | |
std::list< SEnqueuedText > | m_oEnqueuedTexts |
bool | m_bDone |
bool | m_bScrolling |
double | m_dScrollupRate |
double | m_dScrollup |
sge_bmpFont * | m_poFont |
int | m_iFontDisplacement |
CFlyingLetterList | m_oLetters |
int | m_iTimeToNextLine |
SDL_Rect | m_oRect |
const unsigned char * | m_pcText |
TextAlignmentEnum | m_enAlignment |
int | m_iTextOffset |
int | m_iLastLineY |
int | m_iDelay |
Classes | |
struct | SEnqueuedText |
struct | SFlyingLetter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|