metaforce/Runtime/Weapon/CProjectileInfo.cpp

20 lines
679 B
C++
Raw Normal View History

2018-06-04 19:30:04 +00:00
#include "CProjectileInfo.hpp"
#include "World/CDamageInfo.hpp"
#include "GameGlobalObjects.hpp"
#include "CSimplePool.hpp"
2018-12-08 05:30:43 +00:00
namespace urde {
2018-06-04 19:30:04 +00:00
CProjectileInfo::CProjectileInfo(urde::CInputStream& in)
2018-12-08 05:30:43 +00:00
: x0_weaponDescription(g_SimplePool->GetObj({SBIG('WPSC'), CAssetId(in)})), xc_damageInfo(in) {}
2018-12-08 05:30:43 +00:00
CProjectileInfo::CProjectileInfo(CAssetId proj, const CDamageInfo& dInfo)
: x0_weaponDescription(g_SimplePool->GetObj({SBIG('WPSC'), proj})), xc_damageInfo(dInfo) {}
2018-06-04 19:30:04 +00:00
2018-12-08 05:30:43 +00:00
zeus::CVector3f CProjectileInfo::PredictInterceptPos(const zeus::CVector3f&, const zeus::CVector3f&, const CPlayer&,
bool) {
return {};
2018-06-04 19:30:04 +00:00
}
2018-12-08 05:30:43 +00:00
} // namespace urde