2017-07-05 18:34:12 +00:00
|
|
|
#include "CMetroidBeta.hpp"
|
|
|
|
#include "World/ScriptLoader.hpp"
|
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace urde::MP1
|
2017-07-05 18:34:12 +00:00
|
|
|
{
|
|
|
|
|
2018-10-28 00:20:30 +00:00
|
|
|
CMetroidBetaData::CMetroidBetaData(CInputStream& in)
|
|
|
|
: x0_(in)
|
|
|
|
, x68_(in)
|
|
|
|
, xd0_(in.readFloatBig())
|
|
|
|
, xd4_(in.readFloatBig())
|
|
|
|
, xd8_(in.readFloatBig())
|
|
|
|
, xdc_(in.readFloatBig())
|
|
|
|
, xe0_(in.readFloatBig())
|
|
|
|
, xe4_(in.readFloatBig())
|
|
|
|
, xe8_(in.readFloatBig())
|
|
|
|
, xec_(in.readFloatBig())
|
|
|
|
, xf0_(in.readFloatBig())
|
|
|
|
, xf4_(in)
|
|
|
|
, xf8_(in)
|
|
|
|
, xfc_(in)
|
|
|
|
, x100_(in)
|
|
|
|
, x104_(in)
|
|
|
|
, x108_24_(in.readBool())
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-11-13 06:19:18 +00:00
|
|
|
CMetroidBeta::CMetroidBeta(TUniqueId uid, std::string_view name, const CEntityInfo& info,
|
2017-07-05 18:34:12 +00:00
|
|
|
const zeus::CTransform& xf, CModelData&& mData, const CPatternedInfo& pInfo,
|
2018-10-28 00:20:30 +00:00
|
|
|
const CActorParameters& aParms, const CMetroidBetaData& metroidData)
|
2017-07-05 18:34:12 +00:00
|
|
|
: CPatterned(ECharacter::MetroidBeta, uid, name, EFlavorType::One, info, xf, std::move(mData), pInfo,
|
2018-11-06 06:16:12 +00:00
|
|
|
EMovementType::Flyer, EColliderType::One, EBodyType::Flyer, aParms, EKnockBackVariant::Large)
|
2017-07-05 18:34:12 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-08-31 02:42:37 +00:00
|
|
|
void CMetroidBeta::RenderHitGunEffect() const
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-09-30 03:45:57 +00:00
|
|
|
void CMetroidBeta::RenderHitBallEffect() const
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2017-07-05 18:34:12 +00:00
|
|
|
}
|