ScummVM API documentation
puzzle_computer_hydra.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 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef TETRAEDGE_GAME_PUZZLE_COMPUTER_HYDRA_H
23#define TETRAEDGE_GAME_PUZZLE_COMPUTER_HYDRA_H
24
25#include "tetraedge/te/te_3d_object2.h"
26#include "tetraedge/te/te_lua_gui.h"
27#include "tetraedge/te/te_timer.h"
28
29namespace Tetraedge {
30
32public:
34
35 void enter();
36 bool leave();
37 void setTargetCoordinates(int x, int y, int z);
38
39private:
40 void clearChecklistScreen();
41 bool enterChecklistScreen();
42 bool enterCoordinatesScreen();
43 bool enterSelectMode();
44 bool exitChecklistScreen();
45 bool exitCoordinatesScreen();
46 bool exitSelectMode();
47 void hideScreens();
48 bool hideUnavailableModeMsg();
49 void initAll();
50 bool processCheckListScreen();
51 bool registerNewDigit(int digit);
52 bool showConfirmDestination();
53 bool showUnavailableModeMsg();
54
55 bool onButton0Clicked();
56 bool onButton1Clicked();
57 bool onButton2Clicked();
58 bool onButton3Clicked();
59 bool onButton4Clicked();
60 bool onButton5Clicked();
61 bool onButton6Clicked();
62 bool onButton7Clicked();
63 bool onButton8Clicked();
64 bool onButton9Clicked();
65 bool onButtonBoatClicked();
66 bool onButtonCancelClicked();
67 bool onButtonGrappleClicked();
68 bool onButtonHelicopterClicked();
69 bool onButtonSubmarineClicked();
70 bool onButtonSailboatClicked();
71 bool onButtonPlaneClicked();
72 bool onExitButton();
73 bool onExitTimer();
74 bool onPuzzleCompleted();
75 bool onTransitionTimer();
76 bool onModeCheckButton(const Common::String &global);
77
78 TeLuaGUI _gui;
79 TeTimer _exitTimer;
80 TeTimer _transitionTimer;
81 int _axisNo;
82 int _enteredCoord[3];
83 int _targetCoord[3];
84 int _checklistStep;
85};
86
87} // end namespace Tetraedge
88
89#endif // TETRAEDGE_GAME_PUZZLE_COMPUTER_HYDRA_H
Definition: str.h:59
Definition: puzzle_computer_hydra.h:31
Definition: te_3d_object2.h:36
Definition: te_lua_gui.h:51
Definition: te_timer.h:33