2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 06:27:43 +00:00

More GuiSys stubs

This commit is contained in:
Jack Andersen
2016-03-10 14:23:16 -10:00
parent 9726682939
commit 1908ac111b
27 changed files with 557 additions and 17 deletions

View File

@@ -0,0 +1,69 @@
#include "CGuiSys.hpp"
namespace urde
{
void CGuiSys::AddFactories(EUsageMode /* mode */)
{
x8_factoryMgr.m_factories.clear();
}
void CGuiSys::LoadWidgetFunctions()
{
}
CGuiSys::CGuiSys(IFactory& resFactory, CSimplePool& resStore, EUsageMode mode)
: x0_resFactory(resFactory), x4_resStore(resStore), x2c_mode(mode),
x38_frameFactoryParams(new TObjOwnerParam<CGuiResFrameData>(CGuiResFrameData(*this))),
x40_constructTime(std::chrono::steady_clock::now())
{
AddFactories(mode);
LoadWidgetFunctions();
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::Seventeen,
CGuiAutoRepeatData(EPhysicalControllerID::Seventeen, EPhysicalControllerID::Eighteen)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::Nineteen,
CGuiAutoRepeatData(EPhysicalControllerID::Nineteen, EPhysicalControllerID::Twenty)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::TwentyOne,
CGuiAutoRepeatData(EPhysicalControllerID::TwentyOne, EPhysicalControllerID::TwentyTwo)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::TwentyThree,
CGuiAutoRepeatData(EPhysicalControllerID::TwentyThree, EPhysicalControllerID::TwentyFour)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::ThirtyFive,
CGuiAutoRepeatData(EPhysicalControllerID::ThirtyFive, EPhysicalControllerID::ThirtySix)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::ThirtySeven,
CGuiAutoRepeatData(EPhysicalControllerID::ThirtySeven, EPhysicalControllerID::ThirtyEight)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::ThirtyNine,
CGuiAutoRepeatData(EPhysicalControllerID::ThirtyNine, EPhysicalControllerID::Forty)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::FortyOne,
CGuiAutoRepeatData(EPhysicalControllerID::FortyOne, EPhysicalControllerID::FortyTwo)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::FortyThree,
CGuiAutoRepeatData(EPhysicalControllerID::FortyThree, EPhysicalControllerID::FortyFour)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::FortyFive,
CGuiAutoRepeatData(EPhysicalControllerID::FortyFive, EPhysicalControllerID::FortySix)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::FortySeven,
CGuiAutoRepeatData(EPhysicalControllerID::FortySeven, EPhysicalControllerID::FortyEight)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::TwentyFive,
CGuiAutoRepeatData(EPhysicalControllerID::TwentyFive, EPhysicalControllerID::TwentySix)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::TwentySeven,
CGuiAutoRepeatData(EPhysicalControllerID::TwentySeven, EPhysicalControllerID::TwentyEight)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::TwentyNine,
CGuiAutoRepeatData(EPhysicalControllerID::TwentyNine, EPhysicalControllerID::Thirty)));
x18_repeatMap.emplace(std::make_pair(EPhysicalControllerID::ThirtyOne,
CGuiAutoRepeatData(EPhysicalControllerID::ThirtyOne, EPhysicalControllerID::ThirtyTwo)));
}
}