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
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (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, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23  *
24  */
25 
26 #ifndef BURIED_BIOCHIP_RIGHT_H
27 #define BURIED_BIOCHIP_RIGHT_H
28 
29 #include "buried/window.h"
30 
31 namespace Buried {
32 
33 // FIXME: Why is this here?
34 enum {
35 	CASTLE_EVIDENCE_FOOTPRINT = 1,
36 	CASTLE_EVIDENCE_SWORD = 2,
37 	MAYAN_EVIDENCE_BROKEN_GLASS_PYRAMID = 3,
38 	MAYAN_EVIDENCE_PHONY_BLOOD = 4,
39 	MAYAN_EVIDENCE_ENVIRON_CART = 5,
40 	CASTLE_EVIDENCE_AGENT3 = 6,
41 	AI_EVIDENCE_SCULPTURE = 7,
42 	DAVINCI_EVIDENCE_FOOTPRINT = 8,
43 	DAVINCI_EVIDENCE_AGENT3 = 9,
44 	DAVINCI_EVIDENCE_CODEX = 10,
45 	DAVINCI_EVIDENCE_LENS_FILTER = 11
46 };
47 
48 class BioChipRightWindow : public Window {
49 public:
50 	BioChipRightWindow(BuriedEngine *vm, Window *parent);
51 	~BioChipRightWindow();
52 
53 	bool changeCurrentBioChip(int bioChipID);
54 	bool showBioChipMainView();
55 	bool destroyBioChipViewWindow();
56 	void sceneChanged();
57 	void disableEvidenceCapture();
58 	void jumpInitiated(bool redraw);
59 	void jumpEnded(bool redraw);
60 
61 	void onPaint();
62 	void onEnable(bool enable);
63 	void onLButtonUp(const Common::Point &point, uint flags);
64 
65 	// clone2727 says: These are labeled as HACKS, so I assume they are.
66 	bool _forceHelp;
67 	bool _forceComment;
68 
69 private:
70 	int _curBioChip;
71 	int _status;
72 	Window *_bioChipViewWindow;
73 	bool _jumpInProgress;
74 };
75 
76 } // End of namespace Buried
77 
78 #endif
79