Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <coord_select.h>
Public Member Functions | |
CoordinateSelect (QVector) | |
~CoordinateSelect () | |
QVector | GetVector () |
void | Draw () |
Static Public Member Functions | |
static void | MouseMoveHandle (KBSTATE, int, int, int, int, int) |
Protected Member Functions | |
void | UpdateMouse () |
Protected Attributes | |
float | CrosshairSize |
Animation | LocSelAni |
QVector | LocalPosition |
Definition at line 5 of file coord_select.h.
CoordinateSelect::CoordinateSelect | ( | QVector | start) |
Definition at line 23 of file coord_select.cpp.
References CoordinateSelectChange, CoordinateSelectmousex, CoordinateSelectmousey, CrosshairSize, g_game, game_data_t::x_resolution, and game_data_t::y_resolution.
|
inline |
Definition at line 15 of file coord_select.h.
void CoordinateSelect::Draw | ( | ) |
Definition at line 74 of file coord_select.cpp.
References CoordinateSelectChange, Animation::Draw(), GFXBlendMode(), GFXLoadIdentity(), GFXPopBlendMode(), GFXPushBlendMode(), LocalPosition, LocSelAni, MODEL, ONE, Animation::SetPosition(), and UpdateMouse().
|
inline |
Definition at line 16 of file coord_select.h.
References LocalPosition.
Definition at line 13 of file coord_select.cpp.
References CoordinateSelectChange, CoordinateSelectmousex, CoordinateSelectmousey, DOWN, keyState, x, and y.
Referenced by createObjects().
|
protected |
unkind call :-D
Definition at line 31 of file coord_select.cpp.
References _Universe, Universe::AccessCamera(), CoordinateSelectChange, CoordinateSelectmousex, CoordinateSelectmousey, f, float, g_game, Camera::GetPosition(), Camera::GetPQR(), GFXGetFrustumVars(), LocalPosition, MouseCoordinate(), UniverseUtil::sqrt(), Transform(), Vector, and game_data_t::y_resolution.
Referenced by Draw().
|
protected |
Definition at line 8 of file coord_select.h.
Referenced by CoordinateSelect().
|
protected |
Definition at line 10 of file coord_select.h.
Referenced by Draw(), GetVector(), and UpdateMouse().
|
protected |
Definition at line 9 of file coord_select.h.
Referenced by Draw().