2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-07-05 18:34:12 +00:00
|
|
|
|
|
|
|
#include "World/CPatterned.hpp"
|
|
|
|
#include "World/CAnimationParameters.hpp"
|
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace urde::MP1
|
2017-07-05 18:34:12 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
class CMetroidData
|
|
|
|
{
|
|
|
|
CDamageVulnerability x0_dVuln1;
|
|
|
|
CDamageVulnerability x68_dVuln2;
|
|
|
|
float xd0_;
|
|
|
|
float xd4_;
|
|
|
|
float xd8_;
|
|
|
|
float xdc_;
|
|
|
|
float xe0_;
|
|
|
|
float xe4_;
|
|
|
|
std::experimental::optional<CAnimationParameters> xe8_animParms1;
|
|
|
|
std::experimental::optional<CAnimationParameters> xf8_animParms2;
|
|
|
|
std::experimental::optional<CAnimationParameters> x108_animParms3;
|
|
|
|
std::experimental::optional<CAnimationParameters> x118_animParms4;
|
|
|
|
bool x128_24_ : 1;
|
|
|
|
public:
|
|
|
|
CMetroidData(CInputStream& in);
|
|
|
|
};
|
|
|
|
|
|
|
|
class CMetroid : public CPatterned
|
|
|
|
{
|
|
|
|
public:
|
2018-09-14 00:49:34 +00:00
|
|
|
DEFINE_PATTERNED(Metroid)
|
2017-11-13 06:19:18 +00:00
|
|
|
CMetroid(TUniqueId uid, std::string_view name, EFlavorType flavor, const CEntityInfo& info,
|
2017-07-05 18:34:12 +00:00
|
|
|
const zeus::CTransform& xf, CModelData&& mData, const CPatternedInfo& pInfo,
|
|
|
|
const CActorParameters& aParms, const CMetroidData& metroidData);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|