ddnet/src/game/client/components/hud.h
Thomas 361380d630 *some esthetic changes
*split "CHud::RenderGoals()"
*added "reload" command
*added the ability to show last chat lines (+show_chat)
*updated french.txt
2010-05-30 12:01:11 +00:00

31 lines
613 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 RenderGameTimer();
void RenderSuddenDeath();
void RenderScoreHud();
void RenderWarmupTimer();
void MapscreenToGroup(float CenterX, float CenterY, struct CMapItemGroup *PGroup);
public:
CHud();
virtual void OnReset();
virtual void OnRender();
};
#endif