ScummVM API documentation
noraddelta.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * Additional copyright for this file:
8  * Copyright (C) 1995-1997 Presto Studios, Inc.
9  *
10  * This program is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program. If not, see <http://www.gnu.org/licenses/>.
22  *
23  */
24 
25 #ifndef PEGASUS_NEIGHBORHOOD_NORAD_DELTA_NORADDELTA_H
26 #define PEGASUS_NEIGHBORHOOD_NORAD_DELTA_NORADDELTA_H
27 
28 #include "pegasus/neighborhood/norad/norad.h"
29 
30 namespace Pegasus {
31 
32 class NoradDelta : public Norad {
33 public:
35  ~NoradDelta() override {}
36 
37  void init() override;
38 
39  void start() override;
40 
41  void getExtraCompassMove(const ExtraTable::Entry &, FaderMoveSpec &) override;
42 
43  void finishedGlobeGame();
44 
45  GameInteraction *makeInteraction(const InteractionID) override;
46 
47  void playClawMonitorIntro() override;
48 
49  void getClawInfo(HotSpotID &outSpotID, HotSpotID &prepSpotID, HotSpotID &clawControlSpotID,
50  HotSpotID &pinchClawSpotID, HotSpotID &moveClawDownSpotID, HotSpotID &moveClawRightSpotID,
51  HotSpotID &moveClawLeftSpotID, HotSpotID &moveClawUpSpotID, HotSpotID &clawCCWSpotID,
52  HotSpotID &clawCWSpotID, uint32 &, const uint32 *&) override;
53 
54  void playerBeatRobotWithClaw();
55  void playerBeatRobotWithDoor();
56 
57  void loadAmbientLoops() override;
58 
59  void setUpAIRules() override;
60  Common::Path getEnvScanMovie() override;
61  uint getNumHints() override;
62  Common::Path getHintMovie(uint) override;
63  void closeDoorOffScreen(const RoomID, const DirectionConstant) override;
64 
65  void checkContinuePoint(const RoomID, const DirectionConstant) override;
66 
67  bool canSolve() override;
68  void doSolve() override;
69 
70  void setSoundFXLevel(const uint16) override;
71 
72  void doorOpened() override;
73 
74 protected:
75  enum {
76  kNoradPrivateArrivedFromSubFlag,
77  kNoradPrivateFinishedGlobeGameFlag,
78  kNoradPrivateRobotHeadOpenFlag,
79  kNoradPrivateGotShieldChipFlag,
80  kNoradPrivateGotOpticalChipFlag,
81  kNoradPrivateGotRetScanChipFlag,
82  kNumNoradPrivateFlags
83  };
84 
85  static const uint32 _noradDeltaClawExtras[22];
86 
87  void getExitEntry(const RoomID, const DirectionConstant, ExitTable::Entry &) override;
88  void getZoomEntry(const HotSpotID, ZoomTable::Entry &) override;
89  void arriveAt(const RoomID, const DirectionConstant) override;
90  void arriveAtNorad68West();
91  void arriveAtNorad79West();
92  void turnTo(const DirectionConstant) override;
93  TimeValue getViewTime(const RoomID, const DirectionConstant) override;
94  void openDoor() override;
95  void cantMoveThatWay(CanMoveForwardReason) override;
96  void activateHotspots() override;
97  void clickInHotspot(const Input &, const Hotspot *) override;
98  void receiveNotification(Notification *, const NotificationFlags) override;
99  void pickedUpItem(Item *item) override;
100  void takeItemFromRoom(Item *item) override;
101  void dropItemIntoRoom(Item *item, Hotspot *) override;
102  Hotspot *getItemScreenSpot(Item *, DisplayElement *) override;
103 
104  bool playingAgainstRobot() override;
105 
106  void failRetinalScan();
107  void succeedRetinalScan();
108  void getDoorEntry(const RoomID, const DirectionConstant, DoorTable::Entry &) override;
109 
110  void bumpIntoWall() override;
111 
113 
114  Common::Path getSoundSpotsName() override;
115  Common::Path getNavMovieName() override;
116 };
117 
118 } // End of namespace Pegasus
119 
120 #endif
Definition: door.h:60
Definition: fader.h:35
Definition: norad.h:34
Definition: path.h:52
Definition: noraddelta.h:32
Definition: hotspot.h:85
Definition: item.h:294
Definition: input.h:322
Definition: zoom.h:49
Definition: exit.h:49
Definition: notification.h:53
Definition: elements.h:43
Definition: interaction.h:37
Definition: pegasus.h:70
Definition: extra.h:49
Definition: input.h:410
Definition: ai_action.h:33