summaryrefslogtreecommitdiffhomepage
path: root/editor/app.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-15 01:35:24 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-15 01:35:24 +0200
commit0ce27b41cc735b02f42fe4a67dbe8ee2f4fd2ffc (patch)
treec91e60692a2b6436334cd2f8c5f7f9b67d534673 /editor/app.cpp
parent2bb57f847acc9b611d696240423ed0aa68dcc452 (diff)
editor: cleanup hardcoded seed tile
Diffstat (limited to 'editor/app.cpp')
-rw-r--r--editor/app.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index 8b47bb10..020f39dc 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -19,14 +19,7 @@
namespace floormat {
app::app(fm_settings&& opts) :
- M{floormat_main::create(*this, std::move(opts))},
- _floor1{loader.tile_atlas("floor-tiles", {44, 4}, pass_mode::pass)},
- _floor2{loader.tile_atlas("metal1", {2, 2}, pass_mode::pass)},
- _wall1{loader.tile_atlas("wood2", {2, 1}, pass_mode::blocked)},
- _wall2{loader.tile_atlas("wood1", {2, 1}, pass_mode::blocked)},
- _door{loader.anim_atlas("door-close", loader.SCENERY_PATH)},
- _table{loader.anim_atlas("table", loader.SCENERY_PATH)},
- _control_panel(loader.anim_atlas("control-panel", loader.SCENERY_PATH))
+ M{floormat_main::create(*this, std::move(opts))}
{
reset_world();
auto& w = M->world();