ddnet/src/game/client/components/statboard.h
def 3be8a592e5 Run clang-format
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:

$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00

32 lines
712 B
C++

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