ScummVM API documentation
gameui.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_GAMEUI_H
26#define BURIED_GAMEUI_H
27
28#include "buried/navdata.h"
29#include "buried/window.h"
30
31namespace Graphics {
32struct Surface;
33}
34
35namespace Buried {
36
37class BioChipRightWindow;
38class InventoryWindow;
39class LiveTextWindow;
40class NavArrowWindow;
41class SceneViewWindow;
42
43class GameUIWindow : public Window {
44public:
45 GameUIWindow(BuriedEngine *vm, Window *parent);
47
48 bool startNewGame(bool walkthrough = false);
49 bool startNewGameIntro(bool walkthrough = false);
50 bool startNewGame(const Location &startingLocation);
51 // startNewGame(continue data, location struct);
52 bool changeCurrentDate(int timeZoneID);
53 bool flashWarningLight();
54 bool setWarningState(bool newState);
55
56 void onPaint();
57 void onEnable(bool enable);
58 void onKeyUp(const Common::KeyState &key, uint flags);
59 void onActionEnd(const Common::CustomEventType &action, uint flags);
60
61 NavArrowWindow *_navArrowWindow;
62 LiveTextWindow *_liveTextWindow;
63 SceneViewWindow *_sceneViewWindow;
64 InventoryWindow *_inventoryWindow;
65 BioChipRightWindow *_bioChipRightWindow;
66
67private:
68 int _currentDateDisplay;
69 bool _warningLightDisplayed;
70 bool _doNotDraw;
71};
72
73} // End of namespace Buried
74
75#endif
Definition: biochip_right.h:47
Definition: buried.h:96
Definition: gameui.h:43
Definition: inventory_window.h:44
Definition: livetext.h:38
Definition: navarrow.h:38
Definition: scene_view.h:54
Definition: window.h:38
uint32 CustomEventType
Definition: events.h:212
Definition: formatinfo.h:28
Definition: navdata.h:32
Definition: keyboard.h:294