diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-05 18:41:10 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-05 18:41:10 +0200 |
commit | faa32610e381db1d58ee2b57d3a6efc2e664fdec (patch) | |
tree | 8c6b2a6e8c4eaa08f815afa1a6faa4231e297e6c /src/client/render/core.h | |
parent | ee88f4b94f180faa2b44ff016381a0fe69426d88 (diff) | |
download | dragonfireclient-faa32610e381db1d58ee2b57d3a6efc2e664fdec.tar.xz |
Added ESP, fixed Tracers, improved Jesus
Diffstat (limited to 'src/client/render/core.h')
-rw-r--r-- | src/client/render/core.h | 10 |
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; } }; |