feat(model): implement CM2Model::AttachToParent

This commit is contained in:
VDm committed 2025-05-25 20:33:03 +04:00
1 parent 03cb7e699e
commit 6780f5061f
5 files changed
+239 -30

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@
int32_t CCharacterCreation::m_selectedClassID;
int32_t CCharacterCreation::m_existingCharacterIndex;
int32_t CCharacterCreation::m_raceIndex;
CSimpleModel* CCharacterCreation::m_charCustomizeFrame;
CSimpleModelFFX* CCharacterCreation::m_charCustomizeFrame;
float CCharacterCreation::m_charFacing;
uint32_t CCharacterCreation::m_prevSkinIndex;
uint32_t CCharacterCreation::m_prevFaceIndex;
@@ -66,7 +66,7 @@ void CCharacterCreation::Initialize() {
} while (weirdCondition || factionSwitch == 1);
}
void CCharacterCreation::SetCharCustomizeFrame(CSimpleModel* frame) {
void CCharacterCreation::SetCharCustomizeFrame(CSimpleModelFFX* frame) {
CCharacterCreation::m_charCustomizeFrame = frame;
}
+2 -2
View File
@@ -27,7 +27,7 @@ class CCharacterCreation {
static int32_t m_selectedClassID;
static int32_t m_existingCharacterIndex;
static int32_t m_raceIndex;
static CSimpleModel* m_charCustomizeFrame;
static CSimpleModelFFX* m_charCustomizeFrame;
static float m_charFacing;
static uint32_t m_prevSkinIndex;
static uint32_t m_prevFaceIndex;
@@ -40,7 +40,7 @@ class CCharacterCreation {
// Static functions
static void Initialize();
static void SetCharCustomizeFrame(CSimpleModel* frame);
static void SetCharCustomizeFrame(CSimpleModelFFX* frame);
static void SetCharCustomizeModel(char const* filename);
static void ResetCharCustomizeInfo();
static void GetRandomRaceAndSex(ComponentData* data);