Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/ObjectTypes/CMiniMap.h
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | protected: | ||||
// 1.f if map is circular or 1.414f if square (to shrink it inside the circle) | // 1.f if map is circular or 1.414f if square (to shrink it inside the circle) | ||||
float m_MapScale; | float m_MapScale; | ||||
// maximal water height to allow the passage of a unit (for underwater shallows). | // maximal water height to allow the passage of a unit (for underwater shallows). | ||||
float m_ShallowPassageHeight; | float m_ShallowPassageHeight; | ||||
float m_WaterHeight; | float m_WaterHeight; | ||||
void DrawTexture(CShaderProgramPtr shader, float coordMax, float angle, float x, float y, float x2, float y2, float z) const; | void DrawTexture(CShaderProgramPtr shader, float coordMax, float angle, float x, float y, float x2, float y2) const; | ||||
void DrawViewRect(const CMatrix3D& transform) const; | void DrawViewRect(const CMatrix3D& transform) const; | ||||
void GetMouseWorldCoordinates(float& x, float& z) const; | void GetMouseWorldCoordinates(float& x, float& z) const; | ||||
float GetAngle() const; | float GetAngle() const; | ||||
VertexIndexArray m_IndexArray; | VertexIndexArray m_IndexArray; | ||||
Show All 13 Lines |
Wildfire Games · Phabricator