ScummVM API documentation
Scumm::MortimerCastle Class Reference
Inheritance diagram for Scumm::MortimerCastle:
Scumm::MortimerFlight Scumm::MortimerCutscene Scumm::MortimerMovie

Public Member Functions

bool start (int scene, uint flightDifficulty, uint riddleDifficulty, bool girl)
 
bool loadMovie ()
 
void update ()
 
void click (const Common::Point &point)
 
bool skip ()
 
void movieFinished ()
 
void hit ()
 
void clearDamage ()
 
void forceChoice (bool correct)
 
void setProgrammer (bool enabled)
 
void drawOverlay (Graphics::Surface &screen, const Common::Point &mouse, const Common::Point &origin, byte mouth) const
 
const MortimerSound * takeSpeech (bool playing)
 
bool needsMovie () const
 
bool courseView () const
 
bool acceptsShots () const
 
bool choosing () const
 
bool paused () const
 
bool finished () const
 
bool solved () const
 
bool hasSpeech () const
 
bool forceSubtitles () const
 
uint damage () const
 
int sceneId () const
 
const char * subtitleName () const
 
const Common::String & movieName () const
 
const Common::String & errorMessage () const
 
- Public Member Functions inherited from Scumm::MortimerFlight
 MortimerFlight (bool isDemo=true, bool keepProgress=false)
 
bool load (Common::SeekableReadStream &stream, bool interactive=true, bool continuation=false)
 
void clearProgress ()
 
void clearHostiles ()
 
void reset () override
 
bool advance (bool renderFrame=true) override
 
ShotResult shoot (const Common::Point &point)
 
bool hitsObstacle (const Common::Point &point) const
 
uint rescuedCount () const
 
uint rescuedSpecies () const
 
Weapon weapon () const
 
void resetWeapon ()
 
void setWeapon (Weapon weapon)
 
const Common::String & nextFlight () const
 
const Common::Array< Target > & targets () const
 
bool interactive () const
 
void setSteering (const Common::Point &point)
 
void setCollisionRadius (uint radius)
 
- Public Member Functions inherited from Scumm::MortimerCutscene
 MortimerCutscene (bool girl=false)
 
void reset () override
 
MortimerMovieContext & context ()
 
const MortimerMovieContext & context () const
 
- Public Member Functions inherited from Scumm::MortimerMovie
bool load (Common::SeekableReadStream &stream, bool doubled=true, bool continuation=false)
 
virtual void reset ()
 
virtual bool advance (bool renderFrame=true)
 
void setBackground (const byte *pixels)
 
const byte * pixels () const
 
const byte * palette () const
 
uint frame () const
 
uint frameCount () const
 
bool started () const
 
uint frameRate () const
 
const Common::Array< MortimerSound > & sounds () const
 
const Common::Array< Caption > & captions () const
 
bool soundEnabled (uint index) const
 
const Common::Array< byte > & cachedMovie () const
 
const Common::String & errorMessage () const
 

Protected Member Functions

void handleAction (const byte *data, uint32 size) override
 
- Protected Member Functions inherited from Scumm::MortimerFlight
void handleAction (const byte *data, uint32 size) override
 
- Protected Member Functions inherited from Scumm::MortimerCutscene
void handleAction (const byte *data, uint32 size) override
 
bool skipObject (uint16 a, uint16 b) const override
 
bool toggle (uint16 id) const
 
void setToggle (uint16 id, bool value)
 
- Protected Member Functions inherited from Scumm::MortimerMovie
virtual void handleAction (const byte *data, uint32 size)
 
virtual bool skipObject (uint16 a, uint16 b) const
 
virtual int objectScale (byte codec) const
 
void render ()
 

Additional Inherited Members

- Public Types inherited from Scumm::MortimerFlight
enum  { kWidth = 384 , kHeight = 288 }
 
enum  Weapon { kRevitascope , kSlimeGun }
 
enum  ShotResult { kMiss , kAnimalRescued , kHornetHit , kShellRestored }
 
- Public Types inherited from Scumm::MortimerMovie
enum  { kScreenWidth = 640 , kScreenHeight = 480 }
 

Member Function Documentation

◆ handleAction()

void Scumm::MortimerCastle::handleAction ( const byte *  data,
uint32  size 
)
overrideprotectedvirtual

Reimplemented from Scumm::MortimerMovie.


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