1/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2/* If you are missing that file, acquire a complete release at teeworlds.com. */
3#ifndef GAME_CLIENT_COMPONENTS_DEBUGHUD_H
4#define GAME_CLIENT_COMPONENTS_DEBUGHUD_H
5#include <engine/client/client.h>
6
7#include <game/client/component.h>
8
9class CDebugHud : public CComponent
10{
11 void RenderNetCorrections();
12 void RenderTuning();
13 void RenderHint();
14
15 CGraph m_RampGraph;
16 CGraph m_ZoomedInGraph;
17 float m_SpeedTurningPoint;
18 float MiddleOfZoomedInGraph;
19 float m_OldVelrampStart;
20 float m_OldVelrampRange;
21 float m_OldVelrampCurvature;
22
23public:
24 CDebugHud();
25 virtual int Sizeof() const override { return sizeof(*this); }
26 virtual void OnRender() override;
27};
28
29#endif
30