MESSAGEQ Class Reference

#include <messageq.h>

List of all members.

Public Member Functions

 MESSAGEQ ()
 ~MESSAGEQ ()
void Clear ()
void SetDepth (int newqdepth)
void SetPersist (float newqpersist)
void SetTimePrint (bool newprinttime)
void SetBuildUp (bool newbuildup)
void SetPos (float newx, float newy, int newsize, int newfset)
void AddMessage (string newq)
void Draw (float timefactor, float fps, FONT &font)

Private Attributes

int qdepth
float qpersist
string q [MAX_Q_DEPTH]
bool valid [MAX_Q_DEPTH]
float qlen [MAX_Q_DEPTH]
float posx
float posy
int size
int fset
bool printtime
bool buildup


Detailed Description

Definition at line 19 of file messageq.h.


Constructor & Destructor Documentation

MESSAGEQ::MESSAGEQ  ) 
 

Definition at line 3 of file messageq.cpp.

References buildup, Clear(), fset, posx, posy, printtime, qpersist, and size.

MESSAGEQ::~MESSAGEQ  ) 
 

Definition at line 16 of file messageq.cpp.

References Clear(), and verbose_output.


Member Function Documentation

void MESSAGEQ::AddMessage string  newq  ) 
 

Definition at line 57 of file messageq.cpp.

References MAX_Q_DEPTH, and valid.

Referenced by MULTIPLAY::Connect(), and LoadWorld().

void MESSAGEQ::Clear  ) 
 

Definition at line 24 of file messageq.cpp.

References MAX_Q_DEPTH, qlen, and valid.

Referenced by MULTIPLAY::Connect(), MESSAGEQ(), SetDepth(), and ~MESSAGEQ().

void MESSAGEQ::Draw float  timefactor,
float  fps,
FONT font
 

Definition at line 97 of file messageq.cpp.

References MAX_Q_DEPTH, qlen, and valid.

void MESSAGEQ::SetBuildUp bool  newbuildup  ) 
 

Definition at line 44 of file messageq.cpp.

References buildup.

Referenced by InitGameData().

void MESSAGEQ::SetDepth int  newqdepth  ) 
 

Definition at line 33 of file messageq.cpp.

References Clear(), and qdepth.

Referenced by InitGameData().

void MESSAGEQ::SetPersist float  newqpersist  ) 
 

Definition at line 39 of file messageq.cpp.

References qpersist.

Referenced by InitGameData().

void MESSAGEQ::SetPos float  newx,
float  newy,
int  newsize,
int  newfset
 

Definition at line 49 of file messageq.cpp.

References fset, posx, posy, and size.

Referenced by InitGameData().

void MESSAGEQ::SetTimePrint bool  newprinttime  ) 
 

Definition at line 232 of file messageq.cpp.

References printtime.


Member Data Documentation

bool MESSAGEQ::buildup [private]
 

Definition at line 33 of file messageq.h.

Referenced by MESSAGEQ(), and SetBuildUp().

int MESSAGEQ::fset [private]
 

Definition at line 31 of file messageq.h.

Referenced by MESSAGEQ(), and SetPos().

float MESSAGEQ::posx [private]
 

Definition at line 28 of file messageq.h.

Referenced by MESSAGEQ(), and SetPos().

float MESSAGEQ::posy [private]
 

Definition at line 29 of file messageq.h.

Referenced by MESSAGEQ(), and SetPos().

bool MESSAGEQ::printtime [private]
 

Definition at line 32 of file messageq.h.

Referenced by MESSAGEQ(), and SetTimePrint().

string MESSAGEQ::q[MAX_Q_DEPTH] [private]
 

Definition at line 25 of file messageq.h.

int MESSAGEQ::qdepth [private]
 

Definition at line 23 of file messageq.h.

Referenced by SetDepth().

float MESSAGEQ::qlen[MAX_Q_DEPTH] [private]
 

Definition at line 27 of file messageq.h.

Referenced by Clear(), and Draw().

float MESSAGEQ::qpersist [private]
 

Definition at line 24 of file messageq.h.

Referenced by MESSAGEQ(), and SetPersist().

int MESSAGEQ::size [private]
 

Definition at line 30 of file messageq.h.

Referenced by MESSAGEQ(), and SetPos().

bool MESSAGEQ::valid[MAX_Q_DEPTH] [private]
 

Definition at line 26 of file messageq.h.

Referenced by AddMessage(), Clear(), and Draw().


The documentation for this class was generated from the following files:
Generated on Thu Oct 19 04:12:04 2006 by  doxygen 1.4.6