From c021cbd3b8b93fac6d8f5950476bee1cf5f1a2cb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 1 Mar 2024 18:44:19 +0100 Subject: remove obsolete comments --- compat/intrusive-ptr.hpp | 4 ++-- editor/tests-private.hpp | 1 + main/draw.cpp | 5 ++--- main/setup.cpp | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/compat/intrusive-ptr.hpp b/compat/intrusive-ptr.hpp index 7cc15494..a997192b 100644 --- a/compat/intrusive-ptr.hpp +++ b/compat/intrusive-ptr.hpp @@ -55,7 +55,7 @@ struct refcount_access refcount_access() = delete; static constexpr auto access(T* ptr) noexcept -> counter_type&; - template static constexpr Y* checked_cast(const T* ptr) noexcept; // todo! + template static constexpr Y* checked_cast(const T* ptr) noexcept; // todo }; template @@ -147,7 +147,7 @@ consteval bool check_traits() #define fm_template template #define fm_basic_iptr basic_iptr -#ifndef FM_IPTR_USE_CONSTRUCT_AT // todo! finish it +#ifndef FM_IPTR_USE_CONSTRUCT_AT // todo finish it #define FM_IPTR_USE_CONSTRUCT_AT 0 #endif diff --git a/editor/tests-private.hpp b/editor/tests-private.hpp index a6f20e92..6d137f67 100644 --- a/editor/tests-private.hpp +++ b/editor/tests-private.hpp @@ -31,6 +31,7 @@ protected: }; enum class Test : uint32_t { + //todo add a speedometer overlay test none, path, raycast, region, pathfinding, COUNT, }; diff --git a/main/draw.cpp b/main/draw.cpp index 76081f9b..aef10add 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -84,7 +84,7 @@ void main_impl::draw_world() noexcept GL::Renderer::disable(GL::Renderer::Feature::DepthTest); } -void main_impl::do_update() // todo! move to separate file +void main_impl::do_update() { constexpr auto eps = 1e-5f; auto dt = timeline.update(); @@ -112,7 +112,7 @@ void main_impl::bind() noexcept framebuffer.fb.bind(); } -void main_impl::drawEvent() // todo! move to separate file (with `do_update') +void main_impl::drawEvent() { _shader.set_tint({1, 1, 1, 1}); @@ -146,5 +146,4 @@ ArrayView main_impl::clickable_scenery() noexcept { return { _clickable_scenery.data(), _clickable_scenery.size() }; } - } // namespace floormat diff --git a/main/setup.cpp b/main/setup.cpp index 8edf38e3..70b1563b 100644 --- a/main/setup.cpp +++ b/main/setup.cpp @@ -6,7 +6,7 @@ #include #include #include -#include // todo! std::minmax +#include // todo std::minmax namespace floormat { @@ -115,7 +115,7 @@ static int get_window_refresh_rate(SDL_Window* window) return 30; } -void main_impl::update_window_state() // todo! window minimized, out of focus, fake vsync etc +void main_impl::update_window_state() // todo window minimized, out of focus, fake vsync etc { } -- cgit v1.2.3