From 7d421d0069dbc8bcf948a29d39c3f8e65de19b33 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 26 May 2023 11:51:38 +0200 Subject: draw, editor, main: add toggling vobj display --- floormat/main.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'floormat') diff --git a/floormat/main.hpp b/floormat/main.hpp index 1854010e..95f90610 100644 --- a/floormat/main.hpp +++ b/floormat/main.hpp @@ -71,6 +71,9 @@ struct floormat_main Vector2 dpi_scale() const noexcept { return _dpi_scale; } static int get_mods() noexcept; + void set_render_vobjs(bool value); + bool is_rendering_vobjs() const; + [[nodiscard]] static floormat_main* create(floormat_app& app, fm_settings&& options); [[maybe_unused]] static void debug_break(); @@ -78,6 +81,7 @@ protected: float _frame_time = 0; Vector2 _dpi_scale{1, 1}, _virtual_scale{1, 1}; Vector2i _framebuffer_size; + bool _do_render_vobjs : 1 = true; }; } // namespace floormat -- cgit v1.2.3