|
|
| 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 |
| |
|
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 |
| |
|
bool | handlePresentationEvent (const Common::Event &event) |
| |
|
void | processPresentationInput (uint32 now) |
| |
|
void | getHotspotPositions (Common::Array< Graphics::HotspotInfo > &hotspots, const Common::Rect &viewport) const |
| |
|
|
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) |
| |
| Common::U32String | hotspotName (byte id) const override |
| |
| void | skipPresentation (uint32 now) override final |
| |
| void | skipPresentationSpeech (uint32 now) override final |
| |
|
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 |
| |