summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-01 18:44:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-01 18:44:19 +0100
commitc021cbd3b8b93fac6d8f5950476bee1cf5f1a2cb (patch)
treeb92a26556423996521aa02c069916bc3ab743627
parent6e2d1e5842e9805f33cab7f0a8385c3ebb466172 (diff)
remove obsolete comments
-rw-r--r--compat/intrusive-ptr.hpp4
-rw-r--r--editor/tests-private.hpp1
-rw-r--r--main/draw.cpp5
-rw-r--r--main/setup.cpp4
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<typename Y> static constexpr Y* checked_cast(const T* ptr) noexcept; // todo!
+ template<typename Y> static constexpr Y* checked_cast(const T* ptr) noexcept; // todo
};
template<typename Tag, typename T>
@@ -147,7 +147,7 @@ consteval bool check_traits()
#define fm_template template<typename Tag, typename T>
#define fm_basic_iptr basic_iptr<Tag, T>
-#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<clickable> 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 <Magnum/GL/Renderer.h>
#include <Magnum/GL/RenderbufferFormat.h>
#include <Magnum/GL/TextureFormat.h>
-#include <algorithm> // todo! std::minmax
+#include <algorithm> // 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
{
}