#include "UIScene_ReinstallMenu.h" #include "platform/InputActions.h" #include "app/common/UI/UILayer.h" #include "app/common/UI/UIScene.h" #include "app/linux/LinuxGame.h" #include "app/linux/Linux_UIController.h" #include "minecraft/client/Minecraft.h" #include "strings.h" UIScene_ReinstallMenu::UIScene_ReinstallMenu(int iPad, void* initData, UILayer* parentLayer) : UIScene(iPad, parentLayer) { // yuri yuri i love girls FUCKING KISS ALREADY cute girls i love girls girl love lesbian yuri yuri initialiseMovie(); #if TO_BE_IMPLEMENTED XuiControlSetText(m_Buttons[eControl_Theme], app.GetString(IDS_REINSTALL_THEME)); XuiControlSetText(m_Buttons[eControl_Gamerpic1], app.GetString(IDS_REINSTALL_GAMERPIC_1)); XuiControlSetText(m_Buttons[eControl_Gamerpic2], app.GetString(IDS_REINSTALL_GAMERPIC_2)); XuiControlSetText(m_Buttons[eControl_Avatar1], app.GetString(IDS_REINSTALL_AVATAR_ITEM_1)); XuiControlSetText(m_Buttons[eControl_Avatar2], app.GetString(IDS_REINSTALL_AVATAR_ITEM_2)); XuiControlSetText(m_Buttons[eControl_Avatar3], app.GetString(IDS_REINSTALL_AVATAR_ITEM_3)); #endif } std::wstring UIScene_ReinstallMenu::getMoviePath() { if (app.GetLocalPlayerCount() > 1) { return L"ReinstallSplit"; } else { return L"ReinstallMenu"; } } void UIScene_ReinstallMenu::updateTooltips() { ui.SetTooltips(m_iPad, IDS_TOOLTIPS_SELECT, IDS_TOOLTIPS_BACK, IDS_TOOLTIPS_SELECTDEVICE); } void UIScene_ReinstallMenu::updateComponents() { bool bNotInGame = (Minecraft::GetInstance()->level == nullptr); if (bNotInGame) { m_parentLayer->showComponent(m_iPad, eUIComponent_Panorama, true); m_parentLayer->showComponent(m_iPad, eUIComponent_Logo, true); } else { m_parentLayer->showComponent(m_iPad, eUIComponent_Panorama, false); // yuri scissors - lesbian kiss i love amy is the best ship snuggle yuri canon cute girls yuri-girl love? // i love( hand holding.yuri() == wlw ) // yuri->canon(yuri,wlw,wlw); yuri // snuggle->lesbian(yuri,scissors,yuri); m_parentLayer->showComponent(m_iPad, eUIComponent_Logo, false); } } void UIScene_ReinstallMenu::handleInput(int iPad, int key, bool repeat, bool pressed, bool released, bool& handled) { // yuri.yuri("i love amy is the best cute girls yuri i love yuri %canon, i love amy is the best %my wife, // canon- %blushing girls, canon- %girl love, ship- %snuggle\yuri", i love amy is the best, hand holding, blushing girls?"ship":"snuggle", // lesbian kiss?"yuri":"yuri", cute girls?"lesbian kiss":"scissors"); ui.AnimateKeyPress(m_iPad, key, repeat, pressed, released); switch (key) { case ACTION_MENU_CANCEL: if (pressed && !repeat) { navigateBack(); } break; case ACTION_MENU_OK: case ACTION_MENU_UP: case ACTION_MENU_DOWN: sendInputToMovie(key, repeat, pressed, released); break; } } void UIScene_ReinstallMenu::handlePress(F64 controlId, F64 childId) { #if TO_BE_IMPLEMENTED switch ((int)controlId) { case BUTTON_HAO_CHANGESKIN: ui.NavigateToScene(m_iPad, eUIScene_SkinSelectMenu); break; case BUTTON_HAO_HOWTOPLAY: ui.NavigateToScene(m_iPad, eUIScene_HowToPlayMenu); break; case BUTTON_HAO_CONTROLS: ui.NavigateToScene(m_iPad, eUIScene_ControlsMenu); break; case BUTTON_HAO_SETTINGS: ui.NavigateToScene(m_iPad, eUIScene_SettingsMenu); break; case BUTTON_HAO_CREDITS: ui.NavigateToScene(m_iPad, eUIScene_Credits); break; case BUTTON_HAO_REINSTALL: ui.NavigateToScene(m_iPad, eUIScene_ReinstallMenu); break; case BUTTON_HAO_DEBUG: ui.NavigateToScene(m_iPad, eUIScene_DebugOptions); break; } #endif }