2023-10-07 22:57:42 -07:00
|
|
|
#ifndef _CTWEAKTARGETING
|
|
|
|
|
#define _CTWEAKTARGETING
|
|
|
|
|
|
|
|
|
|
#include "MetroidPrime/Tweaks/ITweakObject.hpp"
|
|
|
|
|
|
2026-03-27 16:03:59 -06:00
|
|
|
#include "Kyoto/Graphics/CColor.hpp"
|
|
|
|
|
#include "Kyoto/TOneStatic.hpp"
|
|
|
|
|
|
|
|
|
|
#include "rstl/vector.hpp"
|
|
|
|
|
|
|
|
|
|
class CTweakTargeting : public ITweakObject, public TOneStatic< CTweakTargeting > {
|
2023-10-07 22:57:42 -07:00
|
|
|
public:
|
|
|
|
|
CTweakTargeting(CInputStream& in);
|
|
|
|
|
|
2026-03-27 16:03:59 -06:00
|
|
|
uint x4_targetRadiusMode;
|
|
|
|
|
float x8_currLockOnExitDuration;
|
|
|
|
|
float xc_currLockOnEnterDuration;
|
|
|
|
|
float x10_currLockOnSwitchDuration;
|
|
|
|
|
float x14_lockConfirmScale;
|
|
|
|
|
float x18_nextLockOnEnterDuration;
|
|
|
|
|
float x1c_nextLockOnExitDuration;
|
|
|
|
|
float x20_nextLockOnSwitchDuration;
|
|
|
|
|
float x24_seekerScale;
|
|
|
|
|
float x28_seekerAngleSpeed;
|
|
|
|
|
float x2c_xrayRetAngleSpeed;
|
|
|
|
|
uchar x30_pad[0x20]; // CVector3f x30_, x3c_, floats x48_, x4c_
|
|
|
|
|
float x50_orbitPointZOffset;
|
|
|
|
|
float x54_orbitPointInTime;
|
|
|
|
|
float x58_orbitPointOutTime;
|
|
|
|
|
uchar x5c_pad1[0x54]; // fields x5c through xaf
|
|
|
|
|
CColor xb0_thermalReticuleColor;
|
|
|
|
|
float xb4_targetFlowerScale;
|
|
|
|
|
CColor xb8_targetFlowerColor;
|
|
|
|
|
float xbc_missileBracketDuration;
|
|
|
|
|
float xc0_missileBracketScaleStart;
|
|
|
|
|
float xc4_missileBracketScaleEnd;
|
|
|
|
|
float xc8_missileBracketScaleDuration;
|
|
|
|
|
CColor xcc_missileBracketColor;
|
|
|
|
|
float xd0_lockonDuration;
|
|
|
|
|
float xd4_innerBeamScale;
|
|
|
|
|
CColor xd8_innerBeamColorPower;
|
|
|
|
|
CColor xdc_innerBeamColorIce;
|
|
|
|
|
CColor xe0_innerBeamColorWave;
|
|
|
|
|
CColor xe4_innerBeamColorPlasma;
|
|
|
|
|
float xe8_chargeGaugeOvershootOffset;
|
|
|
|
|
float xec_chargeGaugeOvershootDuration;
|
|
|
|
|
float xf0_outerBeamSquaresScale;
|
|
|
|
|
CColor xf4_outerBeamSquareColor;
|
|
|
|
|
rstl::vector< rstl::vector< float > > xf8_outerBeamSquareAngles;
|
|
|
|
|
rstl::vector< float > x108_chargeGaugeAngles;
|
|
|
|
|
float x118_chargeGaugeScale;
|
|
|
|
|
CColor x11c_chargeGaugeNonFullColor;
|
|
|
|
|
int x120_chargeTickCount;
|
|
|
|
|
float x124_chargeTickAnglePitch;
|
|
|
|
|
float x128_lockFireScale;
|
|
|
|
|
float x12c_lockFireDuration;
|
|
|
|
|
CColor x130_lockFireColor;
|
|
|
|
|
float x134_lockDaggerScaleStart;
|
|
|
|
|
float x138_lockDaggerScaleEnd;
|
|
|
|
|
CColor x13c_lockDaggerColor;
|
|
|
|
|
float x140_lockDaggerAngle0;
|
|
|
|
|
float x144_lockDaggerAngle1;
|
|
|
|
|
float x148_lockDaggerAngle2;
|
|
|
|
|
CColor x14c_lockConfirmColor;
|
|
|
|
|
CColor x150_seekerColor;
|
|
|
|
|
float x154_lockConfirmClampMin;
|
|
|
|
|
float x158_lockConfirmClampMax;
|
|
|
|
|
float x15c_targetFlowerClampMin;
|
|
|
|
|
float x160_targetFlowerClampMax;
|
|
|
|
|
float x164_seekerClampMin;
|
|
|
|
|
float x168_seekerClampMax;
|
|
|
|
|
float x16c_missileBracketClampMin;
|
|
|
|
|
float x170_missileBracketClampMax;
|
|
|
|
|
float x174_innerBeamClampMin;
|
|
|
|
|
float x178_innerBeamClampMax;
|
|
|
|
|
float x17c_chargeGaugeClampMin;
|
|
|
|
|
float x180_chargeGaugeClampMax;
|
|
|
|
|
float x184_lockFireClampMin;
|
|
|
|
|
float x188_lockFireClampMax;
|
|
|
|
|
float x18c_lockDaggerClampMin;
|
|
|
|
|
float x190_lockDaggerClampMax;
|
|
|
|
|
float x194_grappleSelectScale;
|
|
|
|
|
float x198_grappleScale;
|
|
|
|
|
float x19c_grappleClampMin;
|
|
|
|
|
float x1a0_grappleClampMax;
|
|
|
|
|
CColor x1a4_grapplePointSelectColor;
|
|
|
|
|
CColor x1a8_grapplePointColor;
|
|
|
|
|
CColor x1ac_lockedGrapplePointSelectColor;
|
|
|
|
|
float x1b0_grappleMinClampScale;
|
|
|
|
|
CColor x1b4_chargeGaugePulseColorHigh;
|
|
|
|
|
float x1b8_fullChargeFadeDuration;
|
|
|
|
|
CColor x1bc_orbitPointColor;
|
|
|
|
|
CColor x1c0_crosshairsColor;
|
|
|
|
|
float x1c4_crosshairsScaleDur;
|
|
|
|
|
bool x1c8_drawOrbitPoint;
|
|
|
|
|
uchar x1c9_pad[0x03];
|
|
|
|
|
CColor x1cc_chargeGaugePulseColorLow;
|
|
|
|
|
float x1d0_chargeGaugePulsePeriod;
|
|
|
|
|
uchar x1d4_pad3[0x38]; // x1d4 through x20b
|
|
|
|
|
float x20c_reticuleClampMin;
|
|
|
|
|
float x210_reticuleClampMax;
|
|
|
|
|
CColor x214_xrayRetRingColor;
|
|
|
|
|
float x218_reticuleScale;
|
|
|
|
|
float x21c_scanTargetClampMin;
|
|
|
|
|
float x220_scanTargetClampMax;
|
|
|
|
|
float x224_angularLagSpeed;
|
|
|
|
|
uchar x228_pad[0x04]; // remaining
|
2023-10-07 22:57:42 -07:00
|
|
|
};
|
|
|
|
|
|
2026-03-27 16:03:59 -06:00
|
|
|
extern CTweakTargeting* gpTweakTargeting;
|
|
|
|
|
|
2023-10-07 22:57:42 -07:00
|
|
|
#endif // _CTWEAKTARGETING
|