ScummVM API documentation
biochip_right.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 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 BURIED_BIOCHIP_RIGHT_H
26 #define BURIED_BIOCHIP_RIGHT_H
27 
28 #include "buried/window.h"
29 
30 namespace Buried {
31 
32 // FIXME: Why is this here?
33 enum {
34  CASTLE_EVIDENCE_FOOTPRINT = 1,
35  CASTLE_EVIDENCE_SWORD = 2,
36  MAYAN_EVIDENCE_BROKEN_GLASS_PYRAMID = 3,
37  MAYAN_EVIDENCE_PHONY_BLOOD = 4,
38  MAYAN_EVIDENCE_ENVIRON_CART = 5,
39  CASTLE_EVIDENCE_AGENT3 = 6,
40  AI_EVIDENCE_SCULPTURE = 7,
41  DAVINCI_EVIDENCE_FOOTPRINT = 8,
42  DAVINCI_EVIDENCE_AGENT3 = 9,
43  DAVINCI_EVIDENCE_CODEX = 10,
44  DAVINCI_EVIDENCE_LENS_FILTER = 11
45 };
46 
47 class BioChipRightWindow : public Window {
48 public:
51 
52  bool changeCurrentBioChip(int bioChipID);
53  bool showBioChipMainView();
54  bool destroyBioChipViewWindow();
55  void swapAIBioChipIfActive();
56  void sceneChanged();
57  void disableEvidenceCapture();
58  void jumpInitiated(bool redraw);
59  void jumpEnded(bool redraw);
60  void toggleBioChip();
61  int getCurrentBioChip() const;
62 
63  void onPaint();
64  void onEnable(bool enable);
65  void onLButtonUp(const Common::Point &point, uint flags);
66 
67  // These are used to enable the help and comment buttons
68  // when the player finds Arthur, while he explains how
69  // these two buttons are used.
70  bool _forceHelp;
71  bool _forceComment;
72 
73 private:
74  int _curBioChip;
75  int _status;
76  Window *_bioChipViewWindow;
77  bool _jumpInProgress;
78 };
79 
80 } // End of namespace Buried
81 
82 #endif
Definition: window.h:37
Definition: buried.h:67
Definition: agent_evaluation.h:31
Definition: biochip_right.h:47
Definition: rect.h:45