2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-06 21:26:01 +00:00
metaforce/Runtime/MP1/CArtifactDoll.hpp
2017-05-12 09:54:35 -10:00

36 lines
680 B
C++

#ifndef __URDE_CARTIFACTDOLL_HPP__
#define __URDE_CARTIFACTDOLL_HPP__
#include "RetroTypes.hpp"
#include "Character/CActorLights.hpp"
#include "CToken.hpp"
namespace urde
{
class CModel;
namespace MP1
{
class CArtifactDoll
{
std::vector<TLockedToken<CModel>> x0_models;
std::vector<CLight> x10_lights;
std::unique_ptr<CActorLights> x20_actorLights;
float x24_fader = 0.f;
bool x28_24_loaded : 1;
void UpdateActorLights();
public:
CGameCubeDoll();
void Update(float dt);
void Draw(float alpha);
void Touch();
bool CheckLoadComplete();
bool IsLoaded() const { return x20_24_loaded; }
};
}
}
#endif // __URDE_CARTIFACTDOLL_HPP__