diff options
author | Aki <please@ignore.pl> | 2023-02-17 00:58:41 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-02-17 00:58:41 +0100 |
commit | 320b3d8252786c0b831414824643c41bed80bfd7 (patch) | |
tree | 38776a24df0af8d572d908fddeb62fc7ebb7bbae /kurator/src/markers.h | |
parent | 69e4074e471bc7e2dcf285fb253bc70d0c8ffbf5 (diff) | |
download | kurator-320b3d8252786c0b831414824643c41bed80bfd7.zip kurator-320b3d8252786c0b831414824643c41bed80bfd7.tar.gz kurator-320b3d8252786c0b831414824643c41bed80bfd7.tar.bz2 |
Ships markers can now be selected to show inspection window
Diffstat (limited to 'kurator/src/markers.h')
-rw-r--r-- | kurator/src/markers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kurator/src/markers.h b/kurator/src/markers.h index f390ff6..600adc1 100644 --- a/kurator/src/markers.h +++ b/kurator/src/markers.h @@ -1,7 +1,9 @@ #pragma once +#include <functional> #include <string> +#include <entt/entity/handle.hpp> #include <raylib.h> #include <kurator/engine/Point.h> @@ -23,7 +25,7 @@ struct Marker void attach_markers(sim::State& ctx); -void update_markers(sim::State& ctx); +void update_markers(sim::State& ctx, std::function<void(entt::handle)> select); void draw_markers(const sim::State& ctx); |