ScummVM
LastExpress::SceneHotspot Class Reference

#include <scene.h>

+ Collaboration diagram for LastExpress::SceneHotspot:

Classes

struct  SceneCoord
 

Public Types

enum  Action {
  kActionNoneHS = 0, kActionInventory = 1, kActionSavePoint = 2, kActionPlaySound = 3,
  kActionPlayMusic = 4, kActionKnockOnDoor = 5, kActionCompartment = 6, kActionPlaySounds = 7,
  kActionPlayAnimation = 8, kActionOpenCloseObject = 9, kActionObjectUpdateLocation2 = 10, kActionSetItemLocation = 11,
  kAction12 = 12, kActionPickItem = 13, kActionDropItem = 14, kAction15 = 15,
  kActionEnterCompartment = 16, kActionGetOutsideTrain = 18, kActionSlip = 19, kActionGetInsideTrain = 20,
  kActionClimbUpTrain = 21, kActionClimbDownTrain = 22, kActionJumpUpDownTrain = 23, kActionUnbound = 24,
  kAction25 = 25, kAction26 = 26, kAction27 = 27, kActionConcertSitCough = 28,
  kAction29 = 29, kActionCatchBeetleHS = 30, kActionExitCompartmentHS = 31, kAction32 = 32,
  KActionUseWhistle = 33, kActionOpenMatchBox = 34, kActionOpenBed = 35, kActionDialog = 37,
  kActionEggBox = 38, kAction39 = 39, kActionBed = 40, kAction41 = 41,
  kAction42 = 42, kActionSwitchChapter = 43, kAction44 = 44
}
 

Public Member Functions

 SceneHotspot ()
 
 ~SceneHotspot ()
 
bool isInside (const Common::Point &point)
 
Common::String toString () const
 

Static Public Member Functions

static SceneHotspotload (Common::SeekableReadStream *stream)
 

Public Attributes

Common::Rect rect
 
uint32 coordsOffset
 
SceneIndex scene
 
byte location
 
Action action
 
byte param1
 
byte param2
 
byte param3
 
byte cursor
 
uint32 next
 

Private Attributes

Common::Array< SceneCoord * > _coords
 

Detailed Description

Definition at line 83 of file scene.h.

Member Enumeration Documentation

◆ Action

Enumerator
kActionNoneHS 
kActionInventory 
kActionSavePoint 
kActionPlaySound 
kActionPlayMusic 
kActionKnockOnDoor 
kActionCompartment 
kActionPlaySounds 
kActionPlayAnimation 
kActionOpenCloseObject 
kActionObjectUpdateLocation2 
kActionSetItemLocation 
kAction12 
kActionPickItem 
kActionDropItem 
kAction15 
kActionEnterCompartment 
kActionGetOutsideTrain 
kActionSlip 
kActionGetInsideTrain 
kActionClimbUpTrain 
kActionClimbDownTrain 
kActionJumpUpDownTrain 
kActionUnbound 
kAction25 
kAction26 
kAction27 
kActionConcertSitCough 
kAction29 
kActionCatchBeetleHS 
kActionExitCompartmentHS 
kAction32 
KActionUseWhistle 
kActionOpenMatchBox 
kActionOpenBed 
kActionDialog 
kActionEggBox 
kAction39 
kActionBed 
kAction41 
kAction42 
kActionSwitchChapter 
kAction44 

Definition at line 85 of file scene.h.

Constructor & Destructor Documentation

◆ SceneHotspot()

LastExpress::SceneHotspot::SceneHotspot ( )
inline

Definition at line 156 of file scene.h.

◆ ~SceneHotspot()

LastExpress::SceneHotspot::~SceneHotspot ( )

Definition at line 35 of file scene.cpp.

Member Function Documentation

◆ isInside()

bool LastExpress::SceneHotspot::isInside ( const Common::Point point)

Definition at line 95 of file scene.cpp.

◆ load()

SceneHotspot * LastExpress::SceneHotspot::load ( Common::SeekableReadStream stream)
static

Definition at line 42 of file scene.cpp.

◆ toString()

Common::String LastExpress::SceneHotspot::toString ( ) const

Definition at line 86 of file scene.cpp.

Member Data Documentation

◆ _coords

Common::Array<SceneCoord *> LastExpress::SceneHotspot::_coords
private

Definition at line 176 of file scene.h.

◆ action

Action LastExpress::SceneHotspot::action

Definition at line 149 of file scene.h.

◆ coordsOffset

uint32 LastExpress::SceneHotspot::coordsOffset

Definition at line 146 of file scene.h.

◆ cursor

byte LastExpress::SceneHotspot::cursor

Definition at line 153 of file scene.h.

◆ location

byte LastExpress::SceneHotspot::location

Definition at line 148 of file scene.h.

◆ next

uint32 LastExpress::SceneHotspot::next

Definition at line 154 of file scene.h.

◆ param1

byte LastExpress::SceneHotspot::param1

Definition at line 150 of file scene.h.

◆ param2

byte LastExpress::SceneHotspot::param2

Definition at line 151 of file scene.h.

◆ param3

byte LastExpress::SceneHotspot::param3

Definition at line 152 of file scene.h.

◆ rect

Common::Rect LastExpress::SceneHotspot::rect

Definition at line 145 of file scene.h.

◆ scene

SceneIndex LastExpress::SceneHotspot::scene

Definition at line 147 of file scene.h.


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