summaryrefslogtreecommitdiffhomepage
path: root/editor/app.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-07 15:27:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-07 15:27:08 +0100
commit151e1f9a56bce31c2703610980c00fc8f527aa6a (patch)
treec4663ffca0ff35dc2dda04f3cd8e54966683faa2 /editor/app.cpp
parent9e390f58ea6e4c50d7ba104c5fe3ad97f74fe6f0 (diff)
wip
Diffstat (limited to 'editor/app.cpp')
-rw-r--r--editor/app.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index 77f77f83..a2c8b104 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -4,6 +4,7 @@
#include "floormat/settings.hpp"
#include "src/loader.hpp"
#include "world.hpp"
+#include "src/anim-atlas.hpp"
#include <algorithm>
#include <Corrade/Utility/Arguments.h>
@@ -14,7 +15,8 @@ app::app(fm_settings&& opts) :
_floor1{loader.tile_atlas("floor-tiles", {44, 4})},
_floor2{loader.tile_atlas("metal1", {2, 2})},
_wall1{loader.tile_atlas("wood2", {2, 1})},
- _wall2{loader.tile_atlas("wood1", {2, 1})}
+ _wall2{loader.tile_atlas("wood1", {2, 1})},
+ _door{loader.anim_atlas("door_close")}
{
world& w = M->world();
chunk_coords coord{0 ,0};