feat(component): add CCharacterComponent::AddHandItem

This commit is contained in:
fallenoak 2025-10-30 20:06:40 -05:00
parent 0299f2e837
commit 2837a808a2
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -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();