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
31
namespace
Graphics
{
32
struct
Surface;
33
}
34
35
namespace
Buried
{
36
37
class
BioChipRightWindow;
38
class
InventoryWindow;
39
class
LiveTextWindow;
40
class
NavArrowWindow;
41
class
SceneViewWindow;
42
43
class
GameUIWindow
:
public
Window
{
44
public
:
45
GameUIWindow
(
BuriedEngine
*vm,
Window
*parent);
46
~
GameUIWindow
();
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
60
NavArrowWindow
*_navArrowWindow;
61
LiveTextWindow
*_liveTextWindow;
62
SceneViewWindow
*_sceneViewWindow;
63
InventoryWindow
*_inventoryWindow;
64
BioChipRightWindow
*_bioChipRightWindow;
65
66
private
:
67
int
_currentDateDisplay;
68
bool
_warningLightDisplayed;
69
bool
_doNotDraw;
70
};
71
72
}
// End of namespace Buried
73
74
#endif
Buried::Window
Definition:
window.h:37
Buried::LiveTextWindow
Definition:
livetext.h:38
Buried::GameUIWindow
Definition:
gameui.h:43
Buried::BuriedEngine
Definition:
buried.h:67
Buried
Definition:
agent_evaluation.h:31
Graphics
Definition:
formatinfo.h:28
Buried::BioChipRightWindow
Definition:
biochip_right.h:47
Buried::Location
Definition:
navdata.h:32
Buried::NavArrowWindow
Definition:
navarrow.h:38
Common::KeyState
Definition:
keyboard.h:294
Buried::InventoryWindow
Definition:
inventory_window.h:44
Buried::SceneViewWindow
Definition:
scene_view.h:54
engines
buried
gameui.h
Generated on Fri Aug 30 2024 09:09:27 for ScummVM API documentation by
1.8.13