ScummVM
Kyra::WSAMovie_v2 Class Reference

#include <wsamovie.h>

Inheritance diagram for Kyra::WSAMovie_v2:
Collaboration diagram for Kyra::WSAMovie_v2:

Public Member Functions

 WSAMovie_v2 (KyraEngine_v1 *vm)
 
int open (const char *filename, int unk1, Palette *palette)
 
virtual void displayFrame (int frameNum, int pageNum, int x, int y, uint16 flags, const uint8 *table1, const uint8 *table2)
 
int xAdd () const
 
int yAdd () const
 
void setWidth (int w)
 
void setHeight (int h)
 
- Public Member Functions inherited from Kyra::WSAMovie_v1
 WSAMovie_v1 (KyraEngine_v1 *vm)
 
virtual ~WSAMovie_v1 ()
 
int width () const
 
int height () const
 
virtual void close ()
 
virtual int frames ()
 
- Public Member Functions inherited from Kyra::Movie
 Movie (KyraEngine_v1 *vm)
 
virtual ~Movie ()
 
virtual bool opened ()
 

Protected Attributes

int16 _xAdd
 
int16 _yAdd
 
- Protected Attributes inherited from Kyra::WSAMovie_v1
uint16 _currentFrame
 
uint16 _numFrames
 
uint16 _width
 
uint16 _height
 
uint16 _flags
 
uint8_deltaBuffer
 
uint32 _deltaBufferSize
 
uint8_offscreenBuffer
 
uint32_frameOffsTable
 
uint8_frameData
 
- Protected Attributes inherited from Kyra::Movie
KyraEngine_v1_vm
 
Screen_screen
 
bool _opened
 
int _x
 
int _y
 
int _drawPage
 

Additional Inherited Members

- Public Types inherited from Kyra::WSAMovie_v1
enum  WSAFlags {
  WF_OFFSCREEN_DECODE = 0x10, WF_NO_LAST_FRAME = 0x20, WF_NO_FIRST_FRAME = 0x40, WF_FLIPPED = 0x80,
  WF_HAS_PALETTE = 0x100, WF_XOR = 0x200
}
 
- Protected Member Functions inherited from Kyra::WSAMovie_v1
virtual void processFrame (int frameNum, uint8 *dst)
 

Detailed Description

Definition at line 113 of file wsamovie.h.

Constructor & Destructor Documentation

◆ WSAMovie_v2()

Kyra::WSAMovie_v2::WSAMovie_v2 ( KyraEngine_v1 vm)

Definition at line 362 of file wsamovie.cpp.

Member Function Documentation

◆ displayFrame()

virtual void Kyra::WSAMovie_v2::displayFrame ( int  frameNum,
int  pageNum,
int  x,
int  y,
uint16  flags,
const uint8 table1,
const uint8 table2 
)
inlinevirtual

Reimplemented from Kyra::WSAMovie_v1.

Definition at line 118 of file wsamovie.h.

◆ open()

int Kyra::WSAMovie_v2::open ( const char *  filename,
int  unk1,
Palette palette 
)
virtual

Reimplemented from Kyra::WSAMovie_v1.

Definition at line 364 of file wsamovie.cpp.

◆ setHeight()

void Kyra::WSAMovie_v2::setHeight ( int  h)
inline

Definition at line 126 of file wsamovie.h.

◆ setWidth()

void Kyra::WSAMovie_v2::setWidth ( int  w)
inline

Definition at line 125 of file wsamovie.h.

◆ xAdd()

int Kyra::WSAMovie_v2::xAdd ( ) const
inlinevirtual

Reimplemented from Kyra::Movie.

Definition at line 122 of file wsamovie.h.

◆ yAdd()

int Kyra::WSAMovie_v2::yAdd ( ) const
inlinevirtual

Reimplemented from Kyra::Movie.

Definition at line 123 of file wsamovie.h.

Member Data Documentation

◆ _xAdd

int16 Kyra::WSAMovie_v2::_xAdd
protected

Definition at line 128 of file wsamovie.h.

◆ _yAdd

int16 Kyra::WSAMovie_v2::_yAdd
protected

Definition at line 129 of file wsamovie.h.


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