From 411b53fd96b3e43960fcd1bf4bfeefe4c5e2f164 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 10 Jun 2023 10:57:53 +0200 Subject: wip --- floormat/main.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'floormat') diff --git a/floormat/main.hpp b/floormat/main.hpp index 95f90610..b80d92ce 100644 --- a/floormat/main.hpp +++ b/floormat/main.hpp @@ -13,6 +13,7 @@ namespace floormat { struct fm_settings; struct floormat_app; struct tile_shader; +struct lightmap_shader; struct world; struct scenery; struct anim_atlas; @@ -44,7 +45,9 @@ struct floormat_main virtual Magnum::Math::Vector2 window_size() const noexcept; virtual tile_shader& shader() noexcept = 0; + virtual struct lightmap_shader& lightmap_shader() noexcept = 0; virtual const tile_shader& shader() const noexcept = 0; + virtual void bind() noexcept = 0; constexpr float smoothed_dt() const noexcept { return _frame_time; } virtual fm_settings& settings() noexcept = 0; virtual const fm_settings& settings() const noexcept = 0; -- cgit v1.2.3