From a5508ff6f3443ca5ca22ef0d7d91ac0f9319230f Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sun, 4 May 2025 17:10:57 +0200 Subject: [PATCH] add avatar obj comp --- src/solanaceae/contact/components.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/solanaceae/contact/components.hpp b/src/solanaceae/contact/components.hpp index f476e72..4d16ca6 100644 --- a/src/solanaceae/contact/components.hpp +++ b/src/solanaceae/contact/components.hpp @@ -2,10 +2,15 @@ #include "./fwd.hpp" +#include + #include #include #include +// fwd +enum class Object : uint32_t; + namespace Contact::Components { struct TagSelfWeak {}; @@ -65,6 +70,11 @@ namespace Contact::Components { // tag to signal an avatar change, and the texture needs to be reloaded struct TagAvatarInvalidate {}; + struct AvatarObj { + //ObjectHandle obj; + Object obj {entt::null}; + }; + struct AvatarMemory { // RGBA single-frame std::vector data;