Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <loc_select.h>
Public Member Functions | |
LocationSelect (Vector, Vector, Vector) | |
LocationSelect (Vector, Vector, Vector, Vector) | |
~LocationSelect () | |
QVector | GetVector () |
void | MoveLocation (Vector pos, Vector p, Vector q) |
void | MoveLocation (Vector pos, Vector p, Vector q, Vector r) |
void | Draw () |
QVector & | Position () |
void | SetPosition (float, float, float) |
void | SetPosition (const Vector &) |
void | SetOrientation (const Vector &p, const Vector &q, const Vector &r) |
Static Public Member Functions | |
static void | MouseMoveHandle (KBSTATE, int, int, int, int, int) |
Protected Attributes | |
Transformation | local_transformation |
float | CrosshairSize |
Animation | LocSelAni |
Animation | LocSelUpAni |
Vector | p |
Vector | q |
Vector | r |
QVector | LocalPosition |
Definition at line 5 of file loc_select.h.
LocationSelect::~LocationSelect | ( | ) |
Definition at line 97 of file loc_select.cpp.
References UnbindMouse().
void LocationSelect::Draw | ( | ) |
unused Vector tR (t[8],t[9],t[10]);//the q vector of the plane being selected on
zfar
Definition at line 108 of file loc_select.cpp.
References changed, DeltaPosition(), Animation::Draw(), g_game, Matrix::getP(), Matrix::getQ(), GFXGetMatrixModel(), GFXGetMatrixView(), GFXGetXInvPerspective(), GFXGetYInvPerspective(), GFXLoadIdentity(), GFXMultMatrixModel(), GFXPopBlendMode(), local_transformation, LocalPosition, LocSelAni, LocSelUpAni, MODEL, game_data_t::MouseSensitivityX, game_data_t::MouseSensitivityY, MultMatrix(), Matrix::p, QVector, Animation::SetPosition(), Transformation::to_matrix(), v, Vector, vert, game_data_t::x_resolution, and game_data_t::y_resolution.
|
inline |
Definition at line 21 of file loc_select.h.
References LocalPosition.
|
static |
Definition at line 73 of file loc_select.cpp.
References local_transformation, LocalPosition, MakeRVector(), p, Transformation::position, q, QVector, and r.
Referenced by LocationSelect().
Definition at line 86 of file loc_select.cpp.
References local_transformation, LocalPosition, p, Transformation::position, q, QVector, and r.
QVector & LocationSelect::Position | ( | ) |
Definition at line 68 of file loc_select.cpp.
References local_transformation, and Transformation::position.
Definition at line 63 of file loc_select.cpp.
References Quaternion::from_vectors(), local_transformation, and Transformation::orientation.
Definition at line 55 of file loc_select.cpp.
References local_transformation, Transformation::position, and QVector.
void LocationSelect::SetPosition | ( | const Vector & | k) |
Definition at line 59 of file loc_select.cpp.
References local_transformation, and Transformation::position.
|
protected |
Definition at line 9 of file loc_select.h.
Referenced by LocationSelect().
|
protected |
Definition at line 8 of file loc_select.h.
Referenced by Draw(), MoveLocation(), Position(), SetOrientation(), and SetPosition().
|
protected |
Definition at line 14 of file loc_select.h.
Referenced by Draw(), GetVector(), and MoveLocation().
|
protected |
Definition at line 11 of file loc_select.h.
Referenced by Draw().
|
protected |
Definition at line 12 of file loc_select.h.
Referenced by Draw().
|
protected |
Definition at line 13 of file loc_select.h.
Referenced by MoveLocation().
|
protected |
Definition at line 13 of file loc_select.h.
Referenced by MoveLocation().
|
protected |
Definition at line 13 of file loc_select.h.
Referenced by MoveLocation().