2017-07-05 18:34:12 +00:00
|
|
|
#include "CMetroidBeta.hpp"
|
|
|
|
#include "World/ScriptLoader.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +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)
|
2018-12-08 05:30:43 +00:00
|
|
|
, x108_24_(in.readBool()) {}
|
2018-10-28 00:20:30 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
CMetroidBeta::CMetroidBeta(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf,
|
|
|
|
CModelData&& mData, const CPatternedInfo& pInfo, 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-12-08 05:30:43 +00:00
|
|
|
EMovementType::Flyer, EColliderType::One, EBodyType::Flyer, aParms, EKnockBackVariant::Large) {}
|
2017-07-05 18:34:12 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
void CMetroidBeta::RenderHitGunEffect() const {}
|
2017-08-31 02:42:37 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
void CMetroidBeta::RenderHitBallEffect() const {}
|
|
|
|
} // namespace urde::MP1
|