ScummVM API documentation
Dgds::TTMInterpreter Class Reference

Public Member Functions

 TTMInterpreter (DgdsEngine *vm)
 
bool load (const Common::String &filename, TTMEnviro &env)
 
void unload ()
 
bool run (TTMEnviro &env, TTMSeq &seq)
 
void findAndAddSequences (TTMEnviro &scriptData, Common::Array< Common::SharedPtr< TTMSeq >> &seqArray)
 

Static Public Member Functions

static Common::String readTTMStringVal (Common::SeekableReadStream *scr)
 

Protected Member Functions

void handleOperation (TTMEnviro &env, TTMSeq &seq, uint16 op, byte count, const int16 *ivals, const Common::String &sval, const Common::Array< Common::Point > &pts)
 
int32 findGOTOTarget (const TTMEnviro &env, const TTMSeq &seq, int16 frame)
 
void doWipeOp (uint16 code, const TTMEnviro &env, const TTMSeq &seq, const Common::Rect &r)
 
int16 doOpInitCreditScroll (const Image *img)
 
bool doOpCreditsScroll (const Image *img, int16 ygap, int16 ymax, int16 xoff, int16 measuredWidth, const Common::Rect &clipRect)
 
void doDrawDialogForStrings (const TTMEnviro &env, const TTMSeq &seq, int16 x, int16 y, int16 width, int16 height)
 

Protected Attributes

DgdsEngine_vm
 
int _stackDepth
 

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