Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
loc_select.h
Go to the documentation of this file.
1
#include "
vec.h
"
2
3
#include "
animation.h
"
4
#include "
in_mouse.h
"
5
class
LocationSelect
6
{
7
protected
:
8
Transformation
local_transformation
;
9
float
CrosshairSize
;
10
//System *parentSystem;
11
Animation
LocSelAni
;
12
Animation
LocSelUpAni
;
13
Vector
p
,
q
,
r
;
14
QVector
LocalPosition
;
15
16
public
:
17
static
void
MouseMoveHandle
(
KBSTATE
,
int
,
int
,
int
,
int
,
int
);
18
LocationSelect
(
Vector
,
Vector
,
Vector
/*, Scene* */
);
19
LocationSelect
(
Vector
,
Vector
,
Vector
,
Vector
/*, Scene* */
);
20
~LocationSelect
();
21
inline
QVector
GetVector
()
22
{
23
return
/*Transform (cumulative_transformation_matrix,*/
LocalPosition
/*)*/
;
24
}
25
void
MoveLocation
(
Vector
pos,
Vector
p
,
Vector
q
);
26
void
MoveLocation
(
Vector
pos,
Vector
p
,
Vector
q
,
Vector
r
);
//requires normalized Vector triplet pqr
27
void
Draw
();
28
29
QVector
&
Position
();
30
void
SetPosition
(
float
,
float
,
float
);
31
void
SetPosition
(
const
Vector
& );
32
void
SetOrientation
(
const
Vector
&
p
,
const
Vector
&
q
,
const
Vector
&
r
);
33
};
34
src
gfx
loc_select.h
Generated on Fri May 29 2015 23:07:24 for Vegastrike 0.5.1 rc1 by
1.8.4