ddnet/src/game/client/components/statboard.h

32 lines
712 B
C
Raw Normal View History

#ifndef GAME_CLIENT_COMPONENTS_STATBOARD_H
#define GAME_CLIENT_COMPONENTS_STATBOARD_H
2015-05-19 22:51:02 +00:00
#include <game/client/component.h>
class CStatboard : public CComponent
2015-05-19 22:51:02 +00:00
{
private:
bool m_Active;
bool m_ScreenshotTaken;
int64 m_ScreenshotTime;
static void ConKeyStats(IConsole::IResult *pResult, void *pUserData);
void RenderGlobalStats();
void AutoStatScreenshot();
void AutoStatCSV();
2017-05-02 16:27:04 +00:00
char *m_pCSVstr;
char *ReplaceCommata(char *pStr);
void FormatStats();
2015-05-19 22:51:02 +00:00
public:
CStatboard();
virtual void OnReset();
virtual void OnConsoleInit();
virtual void OnRender();
virtual void OnRelease();
virtual void OnMessage(int MsgType, void *pRawMsg);
bool IsActive();
2015-05-19 22:51:02 +00:00
};
#endif // GAME_CLIENT_COMPONENTS_STATBOARD_H