mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(component): add CCharacterComponent::Initialize
This commit is contained in:
parent
23fb30c2fd
commit
8b9b943ed8
@ -2,6 +2,7 @@
|
||||
#include "async/AsyncFile.hpp"
|
||||
#include "client/ClientHandlers.hpp"
|
||||
#include "client/ClientServices.hpp"
|
||||
#include "component/CCharacterComponent.hpp"
|
||||
#include "console/CVar.hpp"
|
||||
#include "console/Device.hpp"
|
||||
#include "console/Initialize.hpp"
|
||||
@ -439,7 +440,8 @@ void WowClientInit() {
|
||||
|
||||
// TODO
|
||||
// sub_6F75E0();
|
||||
// sub_401FF0();
|
||||
|
||||
CCharacterComponent::Initialize();
|
||||
|
||||
ClientServices::Initialize();
|
||||
// TODO ClientServices::SetMessageHandler(SMSG_TUTORIAL_FLAGS, (int)sub_530920, 0);
|
||||
|
||||
@ -9,6 +9,17 @@ CCharacterComponent* CCharacterComponent::AllocComponent() {
|
||||
return STORM_NEW(CCharacterComponent);
|
||||
}
|
||||
|
||||
void CCharacterComponent::Initialize() {
|
||||
// TODO
|
||||
|
||||
// TODO proper implementation
|
||||
CCharacterComponent::Initialize(GxTex_Rgb565, 9, 0, 0);
|
||||
}
|
||||
|
||||
void CCharacterComponent::Initialize(EGxTexFormat textureFormat, uint32_t textureLevel, int32_t thread, int32_t compress) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CCharacterComponent::CreateBaseTexture() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -47,6 +47,8 @@ class CCharacterComponent {
|
||||
public:
|
||||
// Static functions
|
||||
static CCharacterComponent* AllocComponent();
|
||||
static void Initialize();
|
||||
static void Initialize(EGxTexFormat textureFormat, uint32_t textureLevel, int32_t thread, int32_t compress);
|
||||
|
||||
// Member variables
|
||||
uint32_t m_flags = 0x1 | 0x2 | 0x4;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user