ScummVM API documentation
aichip.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_ITEMS_BIOCHIPS_AICHIP_H
26 #define PEGASUS_ITEMS_BIOCHIPS_AICHIP_H
27 
28 #include "pegasus/hotspot.h"
29 #include "pegasus/items/biochips/biochipitem.h"
30 
31 namespace Pegasus {
32 
33 class AIChip : public BiochipItem {
34 public:
35  AIChip(const ItemID, const NeighborhoodID, const RoomID, const DirectionConstant);
36  ~AIChip() override;
37 
38  void select() override;
39 
40  void setUpAIChip();
41 
42  // Called to set up the AI chip when the AI chip is the current chip but does not
43  // own the center area.
44  void setUpAIChipRude();
45  void activateAIHotspots();
46  void clickInAIHotspot(HotSpotID);
47 
48  void takeSharedArea() override;
49 
50  void showBriefingClicked();
51  void showEnvScanClicked();
52  void clearClicked();
53 
54 protected:
55  Hotspot _briefingSpot;
56  Hotspot _scanSpot;
57  Hotspot _hint1Spot;
58  Hotspot _hint2Spot;
59  Hotspot _hint3Spot;
60  Hotspot _solveSpot;
61  bool _playingMovie;
62 };
63 
64 extern AIChip *g_AIChip;
65 
66 } // End of namespace Pegasus
67 
68 #endif
Definition: hotspot.h:85
Definition: aichip.h:33
Definition: biochipitem.h:32
Definition: ai_action.h:33