#ifndef __URDE_CARTIFACTDOLL_HPP__ #define __URDE_CARTIFACTDOLL_HPP__ #include "RetroTypes.hpp" #include "Character/CActorLights.hpp" #include "CToken.hpp" #include "CPlayerState.hpp" namespace urde { class CModel; namespace MP1 { class CArtifactDoll { std::vector> x0_models; std::vector x10_lights; std::unique_ptr x20_actorLights; float x24_fader = 0.f; bool x28_24_loaded : 1; void UpdateActorLights(); public: CArtifactDoll(); static int GetArtifactHeadScanIndex(CAssetId scanId); static CAssetId GetArtifactHeadScanFromItemType(CPlayerState::EItemType item); static void UpdateArtifactHeadScan(const CStateManager& mgr, float delta); static void CompleteArtifactHeadScan(const CStateManager& mgr); void Draw(float alpha, const CStateManager& mgr, bool inArtifactCategory, int selectedArtifact); void Update(float dt, const CStateManager& mgr); void Touch(); bool CheckLoadComplete(); bool IsLoaded() const { return x28_24_loaded; } }; } } #endif // __URDE_CARTIFACTDOLL_HPP__