metaforce/Runtime/MP1/CSamusFaceReflection.cpp

21 lines
570 B
C++
Raw Normal View History

2017-02-12 03:17:18 +00:00
#include "CSamusFaceReflection.hpp"
2017-02-12 03:51:59 +00:00
#include "GameGlobalObjects.hpp"
2017-02-12 03:17:18 +00:00
namespace urde
{
namespace MP1
{
CSamusFaceReflection::CSamusFaceReflection(CStateManager& stateMgr)
2017-02-12 03:51:59 +00:00
: x0_modelData(CAnimRes(g_ResFactory->GetResourceIdByName("ACS_SamusFace")->id,
0, zeus::CVector3f::skOne, 0, true)),
x4c_lights(std::make_unique<CActorLights>(8, zeus::CVector3f::skZero, 4, 4, false, 0, 0, 0.1f))
2017-02-12 03:17:18 +00:00
{
2017-02-12 03:51:59 +00:00
x60_ = zeus::CVector3f::skForward;
CAnimPlaybackParms parms(0, -1, 1.f, true);
x0_modelData.AnimationData()->SetAnimation(parms, false);
2017-02-12 03:17:18 +00:00
}
}
}