25 lines
683 B
C++
25 lines
683 B
C++
#pragma once
|
|
#include "libs.h"
|
|
#include "ship.h"
|
|
|
|
class Player : public Ship {
|
|
public:
|
|
Player(ShipType::Type shipType);
|
|
virtual ~Player(void);
|
|
void PollControls(void);
|
|
virtual void Render(const Frame* camFrame);
|
|
void DrawHUD(const Frame* cam_frame);
|
|
virtual void SetDockedWith(SpaceStation*, int port);
|
|
vector3d GetExternalViewTranslation(void);
|
|
void ApplyExternalViewRotation(matrix4x4d &m);
|
|
void TimeStepUpdate(const float timeStep);
|
|
private:
|
|
void DrawTargetSquares();
|
|
void DrawTargetSquare(const Body* const target);
|
|
float m_mouseCMov[2];
|
|
float m_external_view_rotx, m_external_view_roty;
|
|
float m_external_view_dist;
|
|
bool polledControlsThisTurn;
|
|
};
|
|
|