Files
MinecraftConsoles/Minecraft.Client/Common/UI/UIComponent_DebugUIMarketingGuide.cpp
ModMaker101 a9be52c41a Project modernization (#630)
* Fixed boats falling and a TP glitch #266

* Replaced every C-style cast with C++ ones

* Replaced every C-style cast with C++ ones

* Fixed boats falling and a TP glitch #266

* Updated NULL to nullptr and fixing some type issues

* Modernized and fixed a few bugs

- Replaced most instances of `NULL` with `nullptr`.
- Replaced most `shared_ptr(new ...)` with `make_shared`.
- Removed the `nullptr` macro as it was interfering with the actual nullptr keyword in some instances.

* Fixing more conflicts

* Replace int loops with size_t and start work on overrides
2026-03-08 09:56:03 +07:00

33 lines
995 B
C++

#include "stdafx.h"
#include "UI.h"
#include "UIComponent_DebugUIMarketingGuide.h"
UIComponent_DebugUIMarketingGuide::UIComponent_DebugUIMarketingGuide(int iPad, void *initData, UILayer *parentLayer) : UIScene(iPad, parentLayer)
{
// Setup all the Iggy references we need for this scene
initialiseMovie();
IggyDataValue result;
IggyDataValue value[1];
value[0].type = IGGY_DATATYPE_number;
value[0].number = static_cast<F64>(0); // WIN64
#if defined _XBOX
value[0].number = (F64)1;
#elif defined _DURANGO
value[0].number = (F64)2;
#elif defined __PS3__
value[0].number = (F64)3;
#elif defined __ORBIS__
value[0].number = (F64)4;
#elif defined __PSVITA__
value[0].number = (F64)5;
#elif defined _WINDOWS64
value[0].number = static_cast<F64>(0);
#endif
IggyResult out = IggyPlayerCallMethodRS ( getMovie() , &result, IggyPlayerRootPath( getMovie() ), m_funcSetPlatform , 1 , value );
}
wstring UIComponent_DebugUIMarketingGuide::getMoviePath()
{
return L"DebugUIMarketingGuide";
}