diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-10 15:06:01 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-10 15:32:46 +0100 |
commit | 09183eb08755b20804f26a4341ab30bcea89a697 (patch) | |
tree | 947cbb58e67ebda5053ec27250d1c53ea8341a88 /editor/app.cpp | |
parent | abc0ca438938d9ccad9097a671556988b7625696 (diff) |
editor: add placeholder character walking around
Diffstat (limited to 'editor/app.cpp')
-rw-r--r-- | editor/app.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/app.cpp b/editor/app.cpp index 5fb7ed79..80599ed1 100644 --- a/editor/app.cpp +++ b/editor/app.cpp @@ -6,6 +6,7 @@ #include "loader/loader.hpp" #include "world.hpp" #include "src/anim-atlas.hpp" +#include "character.hpp" #include <cerrno> #include <cstdlib> #include <cstring> @@ -32,6 +33,7 @@ app::app(fm_settings&& opts) : maybe_initialize_chunk_(coord, w[coord]); reset_camera_offset(); inspectors.reserve(16); + _character = std::make_unique<character_wip>(); } app::~app() |