ScummVM API documentation
Dgds::CDSTTMInterpreter Class Reference

#include <head.h>

Inheritance diagram for Dgds::CDSTTMInterpreter:
Dgds::TTMInterpreter

Public Member Functions

 CDSTTMInterpreter (DgdsEngine *vm)
 
Graphics::ManagedSurface & getStoredAreaBuffer ()
 
- Public Member Functions inherited from Dgds::TTMInterpreter
 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)
 
int32 findGOTOTarget (const TTMEnviro &env, const TTMSeq &seq, int16 frame)
 

Protected Member Functions

virtual void handleOperation (TTMEnviro &env, TTMSeq &seq, uint16 op, byte count, const int16 *ivals, const Common::String &sval, const Common::Array< Common::Point > &pts) override
 
- Protected Member Functions inherited from Dgds::TTMInterpreter
virtual void handleOperation (TTMEnviro &env, TTMSeq &seq, uint16 op, byte count, const int16 *ivals, const Common::String &sval, const Common::Array< Common::Point > &pts)
 
void doWipeOp (uint16 code, const TTMEnviro &env, const TTMSeq &seq, const Common::Rect &r)
 
int16 doInitCreditScrollOp (const Image *img)
 
bool doCreditsScrollOp (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)
 
void doDrawSpriteOp (const TTMEnviro &env, const TTMSeq &seq, uint16 op, byte count, const int16 *ivals)
 
void doFadeOutOp (int16 colorno, int16 ncolors, int16 targetcol, int16 speed)
 
void doFadeInOp (int16 colorno, int16 ncolors, int16 targetcol, int16 speed)
 

Protected Attributes

Graphics::ManagedSurface _storedAreaBuffer
 
- Protected Attributes inherited from Dgds::TTMInterpreter
DgdsEngine * _vm
 
int _stackDepth
 

Additional Inherited Members

- Static Public Member Functions inherited from Dgds::TTMInterpreter
static Common::String readTTMStringVal (Common::SeekableReadStream *scr)
 
- Static Protected Member Functions inherited from Dgds::TTMInterpreter
static const char * ttmOpName (uint16 op)
 

Detailed Description

A TTM interpreter with customized opcode handling for the TTM bit of CDS files (Willy Beamish CD version conversation data)

Member Function Documentation

◆ handleOperation()

virtual void Dgds::CDSTTMInterpreter::handleOperation ( TTMEnviro &  env,
TTMSeq &  seq,
uint16  op,
byte  count,
const int16 *  ivals,
const Common::String &  sval,
const Common::Array< Common::Point > &  pts 
)
overrideprotectedvirtual

Reimplemented from Dgds::TTMInterpreter.


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