xoreos
0.0.5
src
engines
kotor
gui
ingame
minimap.h
Go to the documentation of this file.
1
/* xoreos - A reimplementation of BioWare's Aurora engine
2
*
3
* xoreos is the legal property of its developers, whose names
4
* can be found in the AUTHORS file distributed with this source
5
* distribution.
6
*
7
* xoreos is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 3
10
* of the License, or (at your option) any later version.
11
*
12
* xoreos 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 xoreos. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
25
#ifndef ENGINES_KOTOR_GUI_INGAME_MINIMAP_H
26
#define ENGINES_KOTOR_GUI_INGAME_MINIMAP_H
27
28
#include "
src/graphics/aurora/guiquad.h
"
29
#include "
src/graphics/aurora/subscenequad.h
"
30
31
namespace
Engines
{
32
33
namespace
KotOR {
34
35
class
Minimap
:
public
Graphics::Aurora::SubSceneQuad
{
36
public
:
37
Minimap
(
const
Common::UString
&map,
int
northAxis,
38
float
mapPt1X,
float
mapPt1Y,
float
mapPt2X,
float
mapPt2Y,
39
float
worldPt1X,
float
worldPt1Y,
float
worldPt2X,
float
worldPt2Y);
40
41
void
setPosition
(
float
x,
float
y);
42
int
getNorthAxis
();
43
44
private
:
45
Graphics::Aurora::GUIQuad
_mapQuad
;
46
47
int
_northAxis
;
48
float
_mapPt1X
,
_mapPt1Y
,
_mapPt2X
,
_mapPt2Y
;
49
float
_worldPt1X
,
_worldPt1Y
,
_worldPt2X
,
_worldPt2Y
;
50
};
51
52
}
// End of namespace KotOR
53
54
}
// End of namespace Engines
55
56
57
#endif // ENGINES_KOTOR_INGAME_GUI_MINIMAP_H
Common::UString
A class holding an UTF-8 string.
Definition:
ustring.h:48
Engines::KotOR::Minimap
Definition:
minimap.h:35
Engines::KotOR::Minimap::_worldPt1Y
float _worldPt1Y
Definition:
minimap.h:49
Engines::KotOR::Minimap::_worldPt1X
float _worldPt1X
Definition:
minimap.h:49
Graphics::Aurora::GUIQuad
Definition:
guiquad.h:42
Engines::KotOR::Minimap::_northAxis
int _northAxis
Definition:
minimap.h:47
Engines::KotOR::Minimap::_worldPt2Y
float _worldPt2Y
Definition:
minimap.h:49
Engines
Definition:
console.cpp:69
Engines::KotOR::Minimap::_worldPt2X
float _worldPt2X
Definition:
minimap.h:49
Graphics::Aurora::SubSceneQuad
Definition:
subscenequad.h:36
Engines::KotOR::Minimap::_mapPt1Y
float _mapPt1Y
Definition:
minimap.h:48
Engines::KotOR::Minimap::_mapPt2X
float _mapPt2X
Definition:
minimap.h:48
Engines::KotOR::Minimap::Minimap
Minimap(const Common::UString &map, int northAxis, float mapPt1X, float mapPt1Y, float mapPt2X, float mapPt2Y, float worldPt1X, float worldPt1Y, float worldPt2X, float worldPt2Y)
Definition:
minimap.cpp:37
Engines::KotOR::Minimap::getNorthAxis
int getNorthAxis()
Definition:
minimap.cpp:79
subscenequad.h
The quad for displaying a subscene.
Engines::KotOR::Minimap::_mapPt2Y
float _mapPt2Y
Definition:
minimap.h:48
Engines::KotOR::Minimap::_mapQuad
Graphics::Aurora::GUIQuad _mapQuad
Definition:
minimap.h:45
guiquad.h
A textured quad for a GUI element.
Engines::KotOR::Minimap::_mapPt1X
float _mapPt1X
Definition:
minimap.h:48
Engines::KotOR::Minimap::setPosition
void setPosition(float x, float y)
Definition:
minimap.cpp:51
Generated on Sun Nov 18 2018 15:13:40 for xoreos by
1.8.14