mirror of
https://github.com/ENSL/NS.git
synced 2024-11-15 09:21:54 +00:00
31 lines
676 B
C
31 lines
676 B
C
|
#pragma once
|
||
|
#include <vector>
|
||
|
|
||
|
class CHudCrosshairs : public CHudBase
|
||
|
{
|
||
|
cvar_t* cl_cross;
|
||
|
cvar_t* cl_cross_color;
|
||
|
cvar_t* cl_cross_alpha;
|
||
|
cvar_t* cl_cross_thickness;
|
||
|
cvar_t* cl_cross_size;
|
||
|
cvar_t* cl_cross_gap;
|
||
|
cvar_t* cl_cross_outline;
|
||
|
cvar_t* cl_cross_outline_inner;
|
||
|
//cvar_t* cl_cross_circle_radius;
|
||
|
cvar_t* cl_cross_dot_size;
|
||
|
cvar_t* cl_cross_dot_color;
|
||
|
cvar_t* cl_cross_dot_outline;
|
||
|
cvar_t* cl_cross_top_line;
|
||
|
cvar_t* cl_cross_bottom_line;
|
||
|
cvar_t* cl_cross_left_line;
|
||
|
cvar_t* cl_cross_right_line;
|
||
|
|
||
|
//float old_circle_radius;
|
||
|
//std::vector<Vector2D> circle_points;
|
||
|
|
||
|
public:
|
||
|
virtual int Init();
|
||
|
virtual int VidInit();
|
||
|
virtual int Draw(float time);
|
||
|
};
|