From 2837a808a24e7502178bc340bbaa087eb5466b7a Mon Sep 17 00:00:00 2001 From: fallenoak Date: Thu, 30 Oct 2025 20:06:40 -0500 Subject: [PATCH] feat(component): add CCharacterComponent::AddHandItem --- src/component/CCharacterComponent.cpp | 4 ++++ src/component/CCharacterComponent.hpp | 1 + 2 files changed, 5 insertions(+) diff --git a/src/component/CCharacterComponent.cpp b/src/component/CCharacterComponent.cpp index f67a8b7..e9e1f3d 100644 --- a/src/component/CCharacterComponent.cpp +++ b/src/component/CCharacterComponent.cpp @@ -79,6 +79,10 @@ CStatus s_status; #define TEXTURE_INDEX(section, texture) (3 * section + texture) +void CCharacterComponent::AddHandItem(CM2Model* model, const ItemDisplayInfoRec* displayRec, INVENTORY_SLOTS invSlot, SHEATHE_TYPE sheatheType, bool a5, bool a6, bool a7, int32_t a8) { + // TODO +} + CCharacterComponent* CCharacterComponent::AllocComponent() { uint32_t memHandle; void* mem; diff --git a/src/component/CCharacterComponent.hpp b/src/component/CCharacterComponent.hpp index e92c42d..04a5738 100644 --- a/src/component/CCharacterComponent.hpp +++ b/src/component/CCharacterComponent.hpp @@ -47,6 +47,7 @@ class CCharacterComponent { static uint32_t s_textureSize; // Static functions + static void AddHandItem(CM2Model* model, const ItemDisplayInfoRec* displayRec, INVENTORY_SLOTS invSlot, SHEATHE_TYPE sheatheType, bool a5, bool a6, bool a7, int32_t a8); static CCharacterComponent* AllocComponent(); static HTEXTURE CreateTexture(const char* fileName, CStatus* status); static void Initialize();