aboutsummaryrefslogtreecommitdiff
path: root/src/client/render/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/render/core.h')
-rw-r--r--src/client/render/core.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/render/core.h b/src/client/render/core.h
index 89c6a8511..609892416 100644
--- a/src/client/render/core.h
+++ b/src/client/render/core.h
@@ -25,7 +25,6 @@ class Camera;
class Client;
class Hud;
class Minimap;
-class Tracers;
class RenderingCore
{
@@ -38,6 +37,7 @@ protected:
bool draw_wield_tool;
bool draw_crosshair;
bool draw_tracers;
+ bool draw_esp;
IrrlichtDevice *device;
video::IVideoDriver *driver;
@@ -48,8 +48,7 @@ protected:
Camera *camera;
Minimap *mapper;
Hud *hud;
- Tracers *tracers;
-
+
void updateScreenSize();
virtual void initTextures() {}
virtual void clearTextures() {}
@@ -57,12 +56,13 @@ protected:
virtual void beforeDraw() {}
virtual void drawAll() = 0;
+ void drawTracersAndESP();
void draw3D();
void drawHUD();
void drawPostFx();
public:
- RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud, Tracers *_tracers);
+ RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud);
RenderingCore(const RenderingCore &) = delete;
RenderingCore(RenderingCore &&) = delete;
virtual ~RenderingCore();
@@ -72,7 +72,7 @@ public:
void initialize();
void draw(video::SColor _skycolor, bool _show_hud, bool _show_minimap,
- bool _draw_wield_tool, bool _draw_crosshair, bool _draw_tracers);
+ bool _draw_wield_tool, bool _draw_crosshair, bool _draw_tracers, bool _draw_esp);
inline v2u32 getVirtualSize() const { return virtual_size; }
};