Public Member Functions | |
| Scene8380 (RunawayAudio &audio, RunawayInventory &inventory, const RunawayStrings &strings, RunawayGameType game) | |
Public Member Functions inherited from Hollywood::RunawayRoomScene | |
| RunawayRoomScene (RunawayAudio &audio, RunawayInventory &inventory, const RunawayStrings &strings, RunawayGameType game) | |
| bool | load (uint16 entryScene) override |
| void | start (uint32 now) override |
| void | resume () override |
| void | click (Common::Point mouse, RunawayVerb verb, byte item) override |
| void | update (uint32 now, int scrollDirection, bool inventoryOpen) override |
| void | draw () override |
| void | setCameraX (int x) override |
| int | cameraX () const override |
| int | roomWidth () const override |
| Graphics::ManagedSurface & | screen () override |
| byte | hotspotAt (Common::Point mouse) const override |
| byte | actionCursor (byte id) const override |
| bool | preferLook (byte id) const override |
| Common::U32String | actionCaption (byte hotspot, RunawayVerb verb, byte item) const override |
| const Common::U32String & | committedCaption () const override |
| const Common::U32String & | subtitle () const override |
| bool | busy () const override |
| bool | speaking () const override |
| byte | speechFrame () const override |
| bool | playingVideo () const override |
| void | skipVideo () override |
| bool | escaped () const override |
| void | skipSpeech () override |
| void | sayInventory (const RunawayInventory::Reply &reply) override |
| const Common::Array< Common::U32String > & | dialogueChoices () const override |
| void | chooseDialogue (uint choice) override |
| bool | canSave () const override |
| void | captureState (RunawaySaveState &state) const override |
| bool | restoreState (const RunawaySaveState &state, uint32 now, bool entering=false) override |
| void | setOptions (bool antialias, bool fastScrolling) override |
Public Member Functions inherited from Hollywood::RunawayScene | |
| virtual bool | load (uint16 entryScene)=0 |
| virtual void | start (uint32 now)=0 |
| virtual void | resume ()=0 |
| const Transition & | transition () const |
| virtual void | click (Common::Point mouse, RunawayVerb verb, byte item)=0 |
| virtual void | update (uint32 now, int scrollDirection, bool inventoryOpen)=0 |
| virtual void | draw ()=0 |
| virtual void | setCameraX (int x)=0 |
| virtual int | cameraX () const |
| virtual int | roomWidth () const =0 |
| virtual Graphics::ManagedSurface & | screen ()=0 |
| byte | hotspotAt (Common::Point mouse) const override=0 |
| virtual bool | hasVerbControls () const |
| virtual byte | actionCursor (byte hotspot) const |
| virtual bool | preferLook (byte hotspot) const |
| virtual Common::U32String | actionCaption (byte hotspot, RunawayVerb verb, byte item) const =0 |
| virtual const Common::U32String & | committedCaption () const =0 |
| virtual const Common::U32String & | subtitle () const =0 |
| virtual bool | busy () const =0 |
| virtual bool | speaking () const =0 |
| virtual byte | speechFrame () const |
| virtual void | skipSpeech ()=0 |
| virtual const Common::Array< Common::U32String > & | dialogueChoices () const |
| virtual void | chooseDialogue (uint choice) |
| virtual bool | playingVideo () const |
| virtual bool | inventoryPresentation () const |
| virtual void | skipVideo () |
| virtual void | sayInventory (const RunawayInventory::Reply &reply)=0 |
| virtual bool | escaped () const |
| virtual bool | canSave () const |
| virtual void | captureState (RunawaySaveState &state) const |
| virtual bool | restoreState (const RunawaySaveState &state, uint32 now, bool entering=false) |
| virtual void | setOptions (bool antialias, bool fastScrolling)=0 |
Public Member Functions inherited from Hollywood::RunawayPresentation | |
| bool | handlePresentationEvent (const Common::Event &event) |
| void | processPresentationInput (uint32 now) |
Public Member Functions inherited from Hollywood::HotspotSource | |
| void | getHotspotPositions (Common::Array< Graphics::HotspotInfo > &hotspots, const Common::Rect &viewport) const |
Additional Inherited Members | |
Protected Types inherited from Hollywood::RunawayRoomScene | |
| enum | ObjectState { kUnexamined , kIdentified , kTaken } |
| enum | ActionResult { kUnhandled , kHandled , kBackgroundChanged } |
| enum | MuseumFilm { kArrivalFilm , kCliveFilm , kDrillingFilm , kLaserFilm , kRubyFilm , kMobstersFilm , kPhoneFilm , kScannerFilm , kBetrayalFilm , kMuseumExitFilm } |
Protected Member Functions inherited from Hollywood::RunawayRoomScene | |
| virtual bool | loadCustomResources () |
| virtual bool | loadBackground () |
| virtual bool | applyCustomBackgroundPatches () |
| virtual void | applyCustomHotspotState () |
| virtual void | prepareCustomGameplayLoop () |
| virtual void | runCustomEntrySequence () |
| virtual void | advanceCustomGameplayLoop (uint32 delta) |
| virtual void | drawCustomBackgroundComposite (Graphics::ManagedSurface &viewport) |
| virtual void | drawCustomForegroundComposite (Graphics::ManagedSurface &viewport) |
| virtual ActionResult | dispatchCustomSceneAction (uint16 action) |
| virtual byte | defaultItemAction (byte item, byte hotspot) const |
| virtual bool | handleCustomDialogueReply () |
| virtual void | handleCustomDialogueChoice (byte effect) |
| virtual void | runCustomDialogueIntro () |
| virtual void | finishCustomConversation () |
| virtual void | resumeAmbientAudio (bool entering) |
| virtual void | stopAmbientSpeech () |
| virtual void | runExitSideEffectsAfterLoop () |
| virtual void | updateActor (uint elapsed, int scrollDirection, bool inventoryOpen) |
| virtual void | findWalkPath (Common::Point target) |
| virtual int | sceneViewportYOffset () const |
| virtual uint | sceneResourceNumber () const |
| virtual uint | sceneTextNumber () const |
| virtual bool | loadWalkMap () |
| virtual bool | usesAlternateActor () const |
| virtual byte | initialActorFacing () const |
| virtual void | setupActorDepth (RunawayActor::RenderParams ¶ms) const |
| virtual bool | drawCustomComposite (Graphics::ManagedSurface &viewport) |
| virtual bool | shouldDrawActor () const |
| virtual bool | roomAnimationInForeground () const |
| virtual bool | shouldUpdateActor () const |
| virtual bool | shouldPlayGameplayClickPath () const |
| virtual int8 | customizeSceneActionApproach (byte id, bool use, byte item, int8 approach) const |
| virtual bool | adjustCustomWalkTargetToFloorMask (Common::Point &target) const |
| virtual bool | updateCustomSequence () |
| virtual void | finishCustomAnimation (uint16 action) |
| virtual void | handleAnimationFrameHook () |
| virtual void | finishCustomFilm () |
| virtual uint16 | dialoguePlayerCue () const |
| virtual uint16 | dialogueResponseCue () const |
| virtual uint16 | dialogueCue (byte choice, bool response) const |
| bool | enterRoom (uint16 room, Common::Point position, byte facing) |
| bool | loadForeground (uint layer, uint chunk, bool pixels=false) |
| void | drawForeground (Graphics::ManagedSurface &viewport, uint layer) |
| void | drawRoomAnimation (Graphics::ManagedSurface &viewport) |
| void | drawAmbientAnimations (Graphics::ManagedSurface &viewport, const RunawayAnimation *animations, uint count) |
| bool | rebuildBackground () |
| bool | applyPatch (uint chunk) |
| void | updateMaps () |
| void | walkTo (Common::Point target, byte facing=0xff, bool scripted=false, bool reserved=false) |
| void | arrive () |
| void | execute (uint16 action) |
| void | executeItemAction (uint16 action) |
| void | useItem (byte item, byte hotspot) |
| void | say (uint16 cue, byte variation=0, bool global=false, byte speaker=0) |
| void | showLine () |
| void | changeFloor (bool upper, Common::Point position) |
| void | updateCamera () |
| void | beginRoomAnimation (uint16 action, uint chunk, uint frames, const byte *order=nullptr, uint count=0, bool hideActor=true, uint frameDuration=80) |
| void | beginActorAnimation (uint16 action, uint bank, uint frames, uint count=0, uint frameDuration=60) |
| void | beginAnimation (uint16 action, uint frames, const byte *order, uint count, bool hideActor, uint frameDuration) |
| void | beginRoomAnimationRange (uint16 action, uint chunk, uint frames, uint first, uint last, bool hideActor=true, uint frameDuration=80) |
| void | holdRoomAnimation (uint16 action, uint chunk, uint frames, uint frame, bool hideActor=true) |
| void | loopRoomAnimationDuringSpeech (uint16 action, uint chunk, uint frames, uint first, uint last, bool hideActor=true) |
| void | setRoomAnimationOverlay (uint chunk, uint frames, const byte *order, uint count) |
| bool | drawingRoomAnimation () const |
| void | updateRoomAnimation () |
| void | playAnimationFootsteps (uint frame, byte surface, const AnimationFootstep *steps, uint count) |
| virtual float | actorHeight () const |
| virtual float | actorWalkSpeed () const |
| virtual const RunawayHotspot * | hotspot (byte id) const |
| Common::U32String | hotspotName (byte id) const override |
| virtual const char * | actionCaptionVariant (byte id, bool look, byte item) const |
| virtual bool | isValidHotspot (byte id) const |
| virtual Common::Point | customizeSceneActionPosition (byte id, byte item, Common::Point position) const |
| virtual byte | customizeSceneActionFacing (byte id, byte facing) const |
| virtual Common::Point | sceneActionLookPosition (byte id) const |
| byte | walkZone () const |
| bool | hospitalChapter () const |
| void | resumeHospital () |
| void | updateHospital (uint elapsed) |
| void | updateHospitalAudio () |
| bool | sayHospitalInventory (const RunawayInventory::Reply &reply) |
| void | leaveHospitalRoom (uint16 scene, Common::Point position, byte facing) |
| bool | museumChapter () const |
| void | startMuseum () |
| void | resumeMuseum () |
| void | updateMuseum (uint elapsed) |
| bool | sayMuseumInventory (const RunawayInventory::Reply &reply) |
| void | deferMuseumAction (uint16 action) |
| void | refreshMuseum () |
| void | leaveMuseumRoom (uint16 scene, Common::Point position, byte facing=3, bool door=false) |
| void | startMuseumFilm (MuseumFilm film) |
| void | startConversation (byte character) |
| void | updateConversation () |
| void | buildDialogueChoices () |
| void | finishConversation () |
| byte | speaker () const |
| bool | desertChapter () const |
| void | startDesert () |
| void | resumeDesert () |
| void | updateDesert (uint elapsed) |
| void | visitDesertRoom (byte index, byte lines) |
| void | leaveDesertRoom (uint16 scene) |
| void | deferDesertAction (uint16 action) |
| bool | townChapter () const |
| void | resumeTown () |
| bool | sayTownInventory (const RunawayInventory::Reply &reply) |
| void | leaveTownRoom (uint16 scene) |
| void | deferTownAction (uint16 action) |
| void | walkTown (Common::Point target) |
| bool | hopiChapter () const |
| bool | sayHopiInventory (const RunawayInventory::Reply &reply) |
| bool | finaleChapter () const |
| bool | sayFinaleInventory (const RunawayInventory::Reply &reply) |
| void | resumeFinaleOutdoorAudio (bool entering, uint16 windCue, byte windVolume) |
| void | updateFinaleOutdoorAudio (byte wildlifeVolume=0) |
| void | resumeFinaleJailAudio (bool entering) |
| void | updateFinaleJailAudio () |
| void | updateOutdoorMusic (byte cueCount=3) |
| void | updateGameplay (uint32 delta) |
| void | findGameplayWalkPath (Common::Point target) |
| void | deferAction (uint16 action) |
| void | leaveRoom (uint16 scene) |
Protected Member Functions inherited from Hollywood::RunawayScene | |
| Common::U32String | hotspotName (byte id) const override |
| void | skipPresentation (uint32 now) override final |
| void | skipPresentationSpeech (uint32 now) override final |
Protected Member Functions inherited from Hollywood::RunawayPresentation | |
| virtual void | skipPresentation (uint32 now)=0 |
| virtual void | skipPresentationSpeech (uint32 now) |
| virtual bool | clickSkipsPresentation () const |
| virtual byte | hotspotAt (Common::Point position) const =0 |
| virtual Common::U32String | hotspotName (byte id) const =0 |
Protected Attributes inherited from Hollywood::RunawayRoomScene | |
| RunawayAudio & | _audio |
| RunawaySequence | _sequence |
| bool | _inventorySequence = false |
| RunawayInventory & | _inventory |
| const RunawayStrings & | _strings |
| const RunawayGameType | _game |
| Common::RandomSource | _random |
| RunawaySpeech | _speech |
| RunawayIdleHead | _idleHead |
| ChunkArchive | _archive |
| SceneTextStore | _text |
| RunawayActor | _actor |
| RunawayAnimation | _actionAnimation |
| RunawayAnimation | _secondaryAnimation |
| Common::Array< byte > | _actionFrames |
| Common::Array< byte > | _secondaryFrames |
| Graphics::ManagedSurface | _background |
| Graphics::ManagedSurface | _screen |
| Common::Array< byte > | _mask |
| Common::Array< byte > | _originalMaps |
| Common::Array< byte > | _maps |
| Common::Array< Common::Rect > | _foreground [5] |
| RunawayWalkPath | _walkPath |
| Common::Array< SpeechLine > | _lines |
| Common::U32String | _caption |
| Common::Point | _position |
| Common::Point | _camera |
| uint | _lineIndex = 0 |
| const RunawayRoom * | _roomData = nullptr |
| uint16 | _room = 0 |
| uint16 | _pendingAction = 0 |
| byte | _facing = 3 |
| byte | _pendingHotspot = 0 |
| byte | _pendingItem = 0 |
| byte | _arrivalFacing = 0xff |
| uint32 | _now = 0 |
| uint32 | _lastUpdate = 0 |
| uint32 | _walkElapsed = 0 |
| bool | _upperFloor = true |
| bool | _antialias = true |
| bool | _fastScrolling = true |
| bool | _inventoryOpen = false |
| ObjectState | _books = kUnexamined |
| ObjectState | _recorder = kUnexamined |
| bool | _moneyIdentified = false |
| bool | _safeOpen = false |
| bool | _varnishTaken = false |
| bool | _talcTaken = false |
| bool | _coffeeTaken = false |
| byte | _keyCount = 0 |
| uint32 | _lastFootstep = 0 |
| RunawaySaveState::Hospital | _hospital |
| RunawaySaveState::Museum | _museum |
| RunawaySaveState::Desert | _desert |
| RunawaySaveState::Town | _town |
| RunawaySaveState::Hopi | _hopi |
| RunawaySaveState::Finale | _finale |
| MuseumFilm | _museumFilm = kArrivalFilm |
| SceneTextStore | _filmText |
| Common::Array< RunawaySequence::Command > | _filmCommands |
| DialogueChoice | _dialogue [22][8] = {} |
| Common::Array< Common::U32String > | _choices |
| Common::Array< byte > | _choiceIndices |
| byte | _conversation = 0 |
| byte | _dialogueDepth = 0 |
| byte | _dialogueNode = 0 |
| byte | _dialogueIntro = 0 |
| bool | _dialogueEnding = false |
| uint16 | _afterConversation = 0 |
| byte | _musicCue = 11 |
| uint32 | _nextMusic = 0 |
| uint32 | _finaleAmbientTick = 0 |
| byte | _finaleLastAmbient = 0 |
| bool | _entering = false |
| uint16 | _roomAction = 0 |
| bool | _actionHidesActor = true |
| bool | _actionUsesActor = false |
| bool | _actionHoldSpeech = false |
| bool | _actionLoopSpeech = false |
| byte | _actionStage = 0 |
| uint | _actionStep = 0 |
| uint | _actionFrameDuration = 80 |
| uint32 | _actionStarted = 0 |
| Transition | _hospitalExit |
| bool | _chapterComplete = false |
Protected Attributes inherited from Hollywood::RunawayScene | |
| Common::Array< Common::U32String > | _noChoices |
| uint16 | _entryScene = 0 |
| Transition | _transition |