mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
28 lines
532 B
C
28 lines
532 B
C
|
#ifndef GAME_CLIENT_COMPONENTS_HUD_H
|
||
|
#define GAME_CLIENT_COMPONENTS_HUD_H
|
||
|
#include <game/client/component.h>
|
||
|
|
||
|
class CHud : public CComponent
|
||
|
{
|
||
|
float m_Width;
|
||
|
float m_AverageFPS;
|
||
|
|
||
|
void RenderCursor();
|
||
|
|
||
|
void RenderFps();
|
||
|
void RenderConnectionWarning();
|
||
|
void RenderTeambalanceWarning();
|
||
|
void RenderVoting();
|
||
|
void RenderHealthAndAmmo();
|
||
|
void RenderGoals();
|
||
|
|
||
|
void MapscreenToGroup(float CenterX, float CenterY, struct CMapItemGroup *PGroup);
|
||
|
public:
|
||
|
CHud();
|
||
|
|
||
|
virtual void OnReset();
|
||
|
virtual void OnRender();
|
||
|
};
|
||
|
|
||
|
#endif
|