2016-08-14 21:11:44 +00:00
|
|
|
#include "CPlayerGun.hpp"
|
2016-08-17 20:05:23 +00:00
|
|
|
#include "Particle/CGenDescription.hpp"
|
2016-08-14 21:11:44 +00:00
|
|
|
#include "GameGlobalObjects.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
CPlayerGun::CPlayerGun(TUniqueId id)
|
2016-08-21 00:04:50 +00:00
|
|
|
: x0_lights(8, zeus::CVector3f{-30.f, 0.f, 30.f}, 4, 4, 0, 0, 0, 0.1f), x538_thisId(id),
|
2016-08-14 21:11:44 +00:00
|
|
|
x550_camBob(CPlayerCameraBob::ECameraBobType::One,
|
|
|
|
zeus::CVector2f(0.071f, 0.141f), 0.47f),
|
2017-01-27 02:58:21 +00:00
|
|
|
x678_morph(g_tweakPlayerGun->GetX38(), g_tweakPlayerGun->GetX34())
|
2016-08-14 21:11:44 +00:00
|
|
|
{
|
2017-01-27 02:58:21 +00:00
|
|
|
x354_ = g_tweakPlayerGun->GetX2c();
|
|
|
|
x358_ = g_tweakPlayerGun->GetX30();
|
|
|
|
x668_ = g_tweakPlayerGun->GetX24();
|
|
|
|
x66c_ = g_tweakPlayerGun->GetX28();
|
2016-08-14 21:11:44 +00:00
|
|
|
|
2016-08-15 01:19:04 +00:00
|
|
|
x832_31_ = true;
|
|
|
|
x833_24_ = true;
|
|
|
|
x833_30_ = true;
|
|
|
|
x6e0_.SetSortThermal(true);
|
|
|
|
|
2016-08-14 21:11:44 +00:00
|
|
|
/* TODO: Finish */
|
|
|
|
}
|
|
|
|
|
2016-08-15 01:19:04 +00:00
|
|
|
void CPlayerGun::AsyncLoadSuit(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
x72c_currentBeam->AsyncLoadSuitArm(mgr);
|
|
|
|
x740_grappleArm->AsyncLoadSuit(mgr);
|
|
|
|
}
|
|
|
|
|
2017-02-18 02:19:50 +00:00
|
|
|
void CPlayerGun::TouchModel(CStateManager& stateMgr)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-08-14 21:11:44 +00:00
|
|
|
}
|