ScummVM API documentation
shuttlehud.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-1997 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 PEGASUS_NEIGHBORHOOD_MARS_SHUTTLEHUD_H
26
#define PEGASUS_NEIGHBORHOOD_MARS_SHUTTLEHUD_H
27
28
#include "pegasus/elements.h"
29
#include "pegasus/timers.h"
30
31
namespace
Pegasus
{
32
33
class
ShuttleHUD
:
public
DisplayElement
,
public
Idler
{
34
public
:
35
ShuttleHUD
();
36
37
void
showTargetGrid();
38
void
hideTargetGrid();
39
40
void
initShuttleHUD();
41
void
cleanUpShuttleHUD();
42
43
bool
isTargetLocked() {
return
_targetLocked; }
44
45
void
draw(
const
Common::Rect
&)
override
;
46
47
protected
:
48
void
useIdleTime()
override
;
49
void
lockOnTarget();
50
void
unlockOnTarget();
51
void
drawOneBitImageOr(
Graphics::Surface
*,
const
uint16 *,
int
,
const
Common::Rect
&, uint32);
52
53
bool
_targetLocked;
54
uint32 _lightGreen, _gridDarkGreen, _lockDarkGreen1, _lockDarkGreen2;
55
};
56
57
}
// End of namespace Pegasus
58
59
#endif
Pegasus::Idler
Definition:
timers.h:37
Graphics::Surface
Definition:
surface.h:67
Common::Rect
Definition:
rect.h:144
Pegasus::DisplayElement
Definition:
elements.h:43
Pegasus
Definition:
ai_action.h:33
Pegasus::ShuttleHUD
Definition:
shuttlehud.h:33
engines
pegasus
neighborhood
mars
shuttlehud.h
Generated on Fri Nov 22 2024 09:22:57 for ScummVM API documentation by
1.8.13