summaryrefslogtreecommitdiffhomepage
path: root/editor/app.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-03 21:10:47 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-03 21:10:47 +0100
commit879b4d9c629b59388caa202bfd72e1ca1c5992fa (patch)
tree60d654b7a30b4091c8cd0b098aebbe74c61eac0c /editor/app.hpp
parentf9ada1a260aa978261512573c73f00987a4f875b (diff)
a
Diffstat (limited to 'editor/app.hpp')
-rw-r--r--editor/app.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/app.hpp b/editor/app.hpp
index 80b1047b..2e4eb15c 100644
--- a/editor/app.hpp
+++ b/editor/app.hpp
@@ -35,6 +35,7 @@ class world;
struct chunk;
class ground_atlas;
class anim_atlas;
+struct object;
struct critter;
struct point;
class editor;
@@ -137,6 +138,7 @@ private:
void draw_editor_pane(float main_menu_height);
void draw_inspector();
static void entity_inspector_name(char* buf, size_t len, object_id id);
+ static void entity_friendly_name(char* buf, size_t len, const object& obj);
bool check_inspector_exists(const popup_target& p);
void set_cursor_from_imgui();
void draw_cursor();