diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-13 04:36:09 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-13 04:36:09 +0100 |
| commit | e75f99e22197008bd8a2e6df70c5b7554698300e (patch) | |
| tree | d233b819a862fa482a663bb3b60c1a5b6d5474c9 /editor/app.cpp | |
| parent | 860189e34fb24cc908c306489bf2d62e6c13f5a8 (diff) | |
dw
Diffstat (limited to 'editor/app.cpp')
| -rw-r--r-- | editor/app.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/editor/app.cpp b/editor/app.cpp index 7505ff84..c6c298b3 100644 --- a/editor/app.cpp +++ b/editor/app.cpp @@ -1,19 +1,20 @@ #include "app.hpp" #include "compat/assert.hpp" #include "compat/sysexits.hpp" -#include "floormat/main.hpp" -#include "floormat/settings.hpp" -#include "loader/loader.hpp" #include "src/world.hpp" #include "src/anim-atlas.hpp" #include "src/critter.hpp" -#include <cerrno> +#include "floormat/main.hpp" +#include "floormat/settings.hpp" +#include "loader/loader.hpp" +#include "draw/wireframe-meshes.hpp" #include <cstdlib> #include <cstring> #include <algorithm> #include <Corrade/Containers/StringIterable.h> #include <Corrade/Utility/Arguments.h> #include <Corrade/Utility/Move.h> +#include <Magnum/ImGuiIntegration/Context.h> namespace floormat { @@ -30,6 +31,7 @@ const cursor_state& app::cursor_state() { return cursor; } app::app(fm_settings&& opts) : M{floormat_main::create(*this, Utility::move(opts))}, + _wireframe{InPlaceInit}, _tests{tests_data_::make()} { reset_world(); @@ -43,7 +45,6 @@ app::app(fm_settings&& opts) : app::~app() { - } void app::reset_world() |
