diff --git a/src/game/entity/explosion-loader.cpp b/src/game/entity/explosion-loader.cpp index 8a7f7358..249d9867 100644 --- a/src/game/entity/explosion-loader.cpp +++ b/src/game/entity/explosion-loader.cpp @@ -63,19 +63,18 @@ struct Explosion_loader::Impl { it->status.ignore_self_type = true; it->status.ignore_master = true; // разлёт в случайную сторону, но с сохранением начального направления - Vec motion = rand_normalized_stable() * rndr(0, pps(m_particles_range)); + #pragma message("TODO fix stattering") + constexpr real range_fixer = 6.5f; // TODO временное решение + Vec motion = rand_normalized_stable() * rndr(0, pps(m_particles_range) * range_fixer); it->phys.set_vel(it->phys.get_vel() + motion); init_shared(it->heat_distort, m_heat_distort); - // TODO создание вспышки } // for m_particle_count - /* - auto it = hpw::entity_mgr->allocate(); + /* auto it = hpw::entity_mgr->allocate(); Entity_loader::prepare(*it, master, pos); - */ - return {}; // TODO от взрыва возвращать хитбокс - } // op () - + // TODO создание вспышки */ + return {}; // TODO от взрыва возвращать хитбокс; + } }; // Impl Explosion_loader::Explosion_loader(cr config) diff --git a/src/game/scene/scene-difficulty.cpp b/src/game/scene/scene-difficulty.cpp index 914c7a6a..9722ad35 100644 --- a/src/game/scene/scene-difficulty.cpp +++ b/src/game/scene/scene-difficulty.cpp @@ -33,6 +33,8 @@ void Scene_difficulty::draw(Image& dst) const { menu->draw(dst); } +#pragma message("TODO return replays") + void Scene_difficulty::init_menu() { Menu_items menu_items { new_shared(get_locale_str("difficulty_select.start"), []{