summaryrefslogtreecommitdiffhomepage
path: root/floormat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-06-10 10:57:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-06-10 10:57:53 +0200
commit411b53fd96b3e43960fcd1bf4bfeefe4c5e2f164 (patch)
treeb56da1aee8a89e0582b81bf85098c06f837fc6ed /floormat
parentbb70c67f77fbd3a8d1af5d73bad27acf1b986fc6 (diff)
wip
Diffstat (limited to 'floormat')
-rw-r--r--floormat/main.hpp3
1 files changed, 3 insertions, 0 deletions
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<int> 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;