metaforce/Runtime/MP1/World/CThardusRockProjectile.hpp

29 lines
864 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-06-12 04:23:34 +00:00
#include "Runtime/World/CPatterned.hpp"
2017-06-12 04:23:34 +00:00
namespace urde::MP1 {
2018-12-08 05:30:43 +00:00
class CThardusRockProjectile : public CPatterned {
float x568_;
u32 x56c_ = 0;
TUniqueId x570_ = kInvalidUniqueId;
bool x572_ = false;
s32 x574_ = -1;
s32 x578_ = 0;
std::vector<std::unique_ptr<CModelData>> x57c_;
u32 x590_ = 0;
2017-06-12 04:23:34 +00:00
public:
2018-12-08 05:30:43 +00:00
DEFINE_PATTERNED(ThardusRockProjectile)
CThardusRockProjectile(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf,
CModelData&& modelData, const CActorParameters& aParms, const CPatternedInfo& patternedInfo,
std::vector<std::unique_ptr<CModelData>>&& mDataVec, CAssetId, float);
2017-06-12 04:23:34 +00:00
void sub80203d58() {
x328_25_verticalMovement = false;
x150_momentum = {0.f, 0.f, 2.f * -GetWeight()};
x56c_ = 3;
}
};
} // namespace urde::MP1