#include "Runtime/MP1/Tweaks/CTweakPlayerRes.hpp" namespace metaforce::MP1 { CTweakPlayerRes::CTweakPlayerRes(CInputStream& in, bool hasNewFields) { m_saveStationIcon = in.Get(); m_missileStationIcon = in.Get(); m_elevatorIcon = in.Get(); m_minesBreakFirstTopIcon = in.Get(); m_minesBreakFirstBottomIcon = in.Get(); m_minesBreakSecondTopIcon = in.Get(); m_minesBreakSecondBottomIcon = in.Get(); /* ADDED IN JP/PAL/TRILOGY */ if (hasNewFields) { m_mapArrowDown = in.Get(); m_mapArrowUp = in.Get(); } /* END */ m_lStickN = in.Get(); m_lStickU = in.Get(); m_lStickUL = in.Get(); m_lStickL = in.Get(); m_lStickDL = in.Get(); m_lStickD = in.Get(); m_lStickDR = in.Get(); m_lStickR = in.Get(); m_lStickUR = in.Get(); m_cStickN = in.Get(); m_cStickU = in.Get(); m_cStickUL = in.Get(); m_cStickL = in.Get(); m_cStickDL = in.Get(); m_cStickD = in.Get(); m_cStickDR = in.Get(); m_cStickR = in.Get(); m_cStickUR = in.Get(); m_lTriggerOut = in.Get(); m_lTriggerIn = in.Get(); m_rTriggerOut = in.Get(); m_rTriggerIn = in.Get(); m_startButtonOut = in.Get(); m_startButtonIn = in.Get(); m_aButtonOut = in.Get(); m_aButtonIn = in.Get(); m_bButtonOut = in.Get(); m_bButtonIn = in.Get(); m_xButtonOut = in.Get(); m_xButtonIn = in.Get(); m_yButtonOut = in.Get(); m_yButtonIn = in.Get(); m_ballTransitionsANCS = in.Get(); m_ballTransitionsPower = in.Get(); m_ballTransitionsIce = in.Get(); m_ballTransitionsWave = in.Get(); m_ballTransitionsPlasma = in.Get(); m_ballTransitionsPhazon = in.Get(); m_cinePower = in.Get(); m_cineIce = in.Get(); m_cineWave = in.Get(); m_cinePlasma = in.Get(); m_cinePhazon = in.Get(); m_cinematicMoveOutofIntoPlayerDistance = in.ReadFloat(); } } // namespace metaforce::MP1