summaryrefslogtreecommitdiffhomepage
path: root/main/floormat-main.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/floormat-main.hpp')
-rw-r--r--main/floormat-main.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/floormat-main.hpp b/main/floormat-main.hpp
index b6503c08..3a4ed20e 100644
--- a/main/floormat-main.hpp
+++ b/main/floormat-main.hpp
@@ -28,13 +28,15 @@ struct floormat_main
virtual const tile_shader& shader() const noexcept = 0;
virtual void* register_debug_callback() 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;
virtual global_coords pixel_to_tile(Vector2d position) const noexcept = 0;
virtual world& world() noexcept = 0;
virtual SDL_Window* window() noexcept = 0;
- static floormat_main* create(floormat_app& app, const fm_options& options);
+ static floormat_main* create(floormat_app& app, const fm_settings& options);
protected:
float _frame_time = 0;