Push FIX pour DrawHUD. Toggle (HUD - h) (Crosshair - c) (Infos - i) avec keypress
This commit is contained in:
@@ -29,12 +29,13 @@ public:
|
||||
virtual void MouseMoveEvent(int x, int y);
|
||||
virtual void MousePressEvent(const MOUSE_BUTTON &button, int x, int y);
|
||||
virtual void MouseReleaseEvent(const MOUSE_BUTTON &button, int x, int y);
|
||||
const char* GetGLErrorString(GLenum error);
|
||||
|
||||
private:
|
||||
bool LoadTexture(Texture& texture, const std::string& filename, bool stopOnError = true);
|
||||
void DrawHud();
|
||||
void DrawData(float elapsedTime, BlockType bloc);
|
||||
void DisplayCrosshair();
|
||||
void DisplayHud();
|
||||
void DisplayInfo(float elapsedTime, BlockType bloc);
|
||||
void DrawHud(float elapsedTime, BlockType bloc);
|
||||
void PrintText(unsigned int x, unsigned int y, float scale, const std::string& t);
|
||||
int GetFps(float elapsedTime) const;
|
||||
|
||||
@@ -76,8 +77,9 @@ private:
|
||||
|
||||
bool m_block = false;
|
||||
bool m_flash = true;
|
||||
bool m_displayData = false;
|
||||
bool m_displayCrosshair = true;
|
||||
bool m_displayHud = true;
|
||||
bool m_displayInfo = false;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user