]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client/render/core.h
Remove unused ITextSceneNode header (#11476)
[dragonfireclient.git] / src / client / render / core.h
index 35def7f201da6e9b1ef5854be576c028d169d2aa..cabfbbfad95181f3b7fffbff2cabcd214ab5d0af 100644 (file)
@@ -1,7 +1,7 @@
 /*
 Minetest
 Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
-Copyright (C) 2017 numzero, Lobachesky Vitaly <numzer0@yandex.ru>
+Copyright (C) 2017 numzero, Lobachevskiy Vitaliy <numzer0@yandex.ru>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #pragma once
 #include "irrlichttypes_extrabloated.h"
 
+class ShadowRenderer;
 class Camera;
 class Client;
 class Hud;
@@ -47,6 +48,8 @@ class RenderingCore
        Minimap *mapper;
        Hud *hud;
 
+       ShadowRenderer *shadow_renderer;
+
        void updateScreenSize();
        virtual void initTextures() {}
        virtual void clearTextures() {}
@@ -72,4 +75,6 @@ class RenderingCore
                        bool _draw_wield_tool, bool _draw_crosshair);
 
        inline v2u32 getVirtualSize() const { return virtual_size; }
+
+       ShadowRenderer *get_shadow_renderer() { return shadow_renderer; };
 };