ScummVM API documentation
MADS::KernelMessages Class Reference

Public Member Functions

 KernelMessages (MADSEngine *vm)
 
void clear ()
 
int add (const Common::Point &pt, uint fontColor, uint8 flags, int endTrigger, uint32 timeout, const Common::String &msg)
 
int addQuote (int quoteId, int endTrigger, uint32 timeout)
 
void scrollMessage (int msgIndex, int numTicks, bool quoted)
 
void setSeqIndex (int msgIndex, int seqIndex)
 
void setAnim (int msgId, int seqId, int val3)
 
void remove (int msgIndex)
 
void reset ()
 
void update ()
 
void processText (int msgIndex)
 
void delay (uint32 priorFrameTime, uint32 currentTime)
 
void setQuoted (int msgIndex, int numTicks, bool quoted)
 
void initRandomMessages (int maxSimultaneousMessages, const Common::Rect &bounds, int minYSpacing, int scrollRate, int color, int duration, int quoteId,...)
 
void randomServer ()
 
int checkRandom ()
 
bool generateRandom (int major, int minor)
 

Public Attributes

Common::Array< KernelMessage_entries
 
Font_talkFont
 

Member Function Documentation

◆ randomServer()

void MADS::KernelMessages::randomServer ( )

Handles expiring any active random messages as necessary

◆ checkRandom()

int MADS::KernelMessages::checkRandom ( )

Return the number of currently active random messages

◆ generateRandom()

bool MADS::KernelMessages::generateRandom ( int  major,
int  minor 
)

Handles generating new random messages


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