ScummVM
LastExpress::Sequence Class Reference

#include <sequence.h>

+ Collaboration diagram for LastExpress::Sequence:

Public Member Functions

 Sequence (Common::String name)
 
 ~Sequence ()
 
bool load (Common::SeekableReadStream *stream, byte field30=15)
 
uint16 count () const
 
AnimFramegetFrame (uint16 index=0)
 
FrameInfogetFrameInfo (uint16 index=0)
 
Common::String getName ()
 
byte getField30 ()
 
bool isLoaded ()
 

Static Public Member Functions

static Sequenceload (Common::String name, Common::SeekableReadStream *stream=NULL, byte field30=15)
 

Private Member Functions

void reset ()
 

Private Attributes

Common::Array< FrameInfo_frames
 
Common::SeekableReadStream_stream
 
bool _isLoaded
 
Common::String _name
 
byte _field30
 

Static Private Attributes

static const uint32 _sequenceHeaderSize = 8
 
static const uint32 _sequenceFrameSize = 68
 

Detailed Description

Definition at line 152 of file sequence.h.

Constructor & Destructor Documentation

◆ Sequence()

LastExpress::Sequence::Sequence ( Common::String  name)
inline

Definition at line 154 of file sequence.h.

◆ ~Sequence()

LastExpress::Sequence::~Sequence ( )

Definition at line 336 of file sequence.cpp.

Member Function Documentation

◆ count()

uint16 LastExpress::Sequence::count ( ) const
inline

Definition at line 161 of file sequence.h.

◆ getField30()

byte LastExpress::Sequence::getField30 ( )
inline

Definition at line 166 of file sequence.h.

◆ getFrame()

AnimFrame * LastExpress::Sequence::getFrame ( uint16  index = 0)

Definition at line 407 of file sequence.cpp.

◆ getFrameInfo()

FrameInfo * LastExpress::Sequence::getFrameInfo ( uint16  index = 0)

Definition at line 397 of file sequence.cpp.

◆ getName()

Common::String LastExpress::Sequence::getName ( )
inline

Definition at line 165 of file sequence.h.

◆ isLoaded()

bool LastExpress::Sequence::isLoaded ( )
inline

Definition at line 168 of file sequence.h.

◆ load() [1/2]

bool LastExpress::Sequence::load ( Common::SeekableReadStream stream,
byte  field30 = 15 
)

Definition at line 357 of file sequence.cpp.

◆ load() [2/2]

Sequence * LastExpress::Sequence::load ( Common::String  name,
Common::SeekableReadStream stream = NULL,
byte  field30 = 15 
)
static

Definition at line 346 of file sequence.cpp.

◆ reset()

void LastExpress::Sequence::reset ( )
private

Definition at line 340 of file sequence.cpp.

Member Data Documentation

◆ _field30

byte LastExpress::Sequence::_field30
private

Definition at line 181 of file sequence.h.

◆ _frames

Common::Array<FrameInfo> LastExpress::Sequence::_frames
private

Definition at line 176 of file sequence.h.

◆ _isLoaded

bool LastExpress::Sequence::_isLoaded
private

Definition at line 178 of file sequence.h.

◆ _name

Common::String LastExpress::Sequence::_name
private

Definition at line 180 of file sequence.h.

◆ _sequenceFrameSize

const uint32 LastExpress::Sequence::_sequenceFrameSize = 68
staticprivate

Definition at line 172 of file sequence.h.

◆ _sequenceHeaderSize

const uint32 LastExpress::Sequence::_sequenceHeaderSize = 8
staticprivate

Definition at line 171 of file sequence.h.

◆ _stream

Common::SeekableReadStream* LastExpress::Sequence::_stream
private

Definition at line 177 of file sequence.h.


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