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

29 lines
762 B
C
Raw Normal View History

2010-11-20 10:37:14 +00:00
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
2010-05-29 07:25:38 +00:00
#ifndef GAME_CLIENT_COMPONENTS_DEBUGHUD_H
#define GAME_CLIENT_COMPONENTS_DEBUGHUD_H
#include <engine/client/client.h>
2010-05-29 07:25:38 +00:00
#include <game/client/component.h>
class CDebugHud : public CComponent
{
2010-05-29 07:25:38 +00:00
void RenderNetCorrections();
void RenderTuning();
2020-11-03 07:03:24 +00:00
void RenderHint();
CGraph m_RampGraph;
CGraph m_ZoomedInGraph;
float m_SpeedTurningPoint;
float MiddleOfZoomedInGraph;
float m_OldVelrampStart;
float m_OldVelrampRange;
float m_OldVelrampCurvature;
2010-05-29 07:25:38 +00:00
public:
virtual int Sizeof() const override { return sizeof(*this); }
virtual void OnRender() override;
2010-05-29 07:25:38 +00:00
};
#endif