#include "classes.h" // 0043ef30 ProjectileParams::ProjectileParams() { uint rngValue; this->GridCollision = 1; this->HeightModifier = 0.0; this->FallingSpeedModifier = 0.0; this->FallingAccelModifier = 0.0; this->VelocityMulti = 1.0; this->Scale = 1.0; rngValue = Random(); this->HomingStrength = 1.0; this->CurvingStrength = 0.005; this->Acceleration = 1.01; this->Spread = 1.0; this->CircleAngle = (float)((double)GHIDRA_INT(rngValue) + __uint_to_double_fixup[-(GHIDRA_INT(rngValue) >> 0x1f)]) * 2.3283064e-10 * 3.1415927; (this->Color)._tint[0] = 1.0; (this->Color)._tint[1] = 1.0; (this->Color)._tint[2] = 1.0; (this->Color)._tint[3] = 1.0; (this->Color)._colorize[0] = 0.0; (this->Color)._colorize[1] = 0.0; (this->Color)._colorize[2] = 0.0; (this->Color)._colorize[3] = 0.0; (this->Color)._offset[0] = 0.0; (this->Color)._offset[1] = 0.0; (this->Color)._offset[2] = 0.0; *GHIDRA_CAST(&this->BulletFlags) = 0; *GHIDRA_CAST((GHIDRA_INT(&this->BulletFlags) + 4)) = 0; (this->PositionOffset).x = g_vectorZero.x; (this->PositionOffset).y = g_vectorZero.y; (this->TargetPosition).x = g_vectorZero.x; (this->TargetPosition).y = g_vectorZero.y; (this->FireDirectionLimit).x = g_vectorZero.x; (this->FireDirectionLimit).y = g_vectorZero.y; this->DotProductLimit = -1000.0; this->WiggleFrameOffset = 0; *GHIDRA_CAST(&this->ChangeFlags) = 0; *GHIDRA_CAST((GHIDRA_INT(&this->ChangeFlags) + 4)) = 0; this->ChangeVelocity = 0.0; this->ChangeTimeout = 0x1e; this->DepthOffset = 0.0; this->Variant = 0; this[1].GridCollision = 0; this[1].HeightModifier = (float)&DAT_bf800000; this[1].FallingSpeedModifier = 0.0; *GHIDRA_CAST(&this[1].FallingAccelModifier) = 0; return this; }