mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-02 16:42:30 +00:00
122 lines
3.9 KiB
C++
122 lines
3.9 KiB
C++
|
|
#include "UIScene_SaveMessage.h"
|
|
|
|
#include "platform/PlatformTypes.h"
|
|
#include "platform/InputActions.h"
|
|
#include "platform/sdl2/Input.h"
|
|
#include "platform/sdl2/Profile.h"
|
|
#include "app/common/App_Defines.h"
|
|
#include "app/common/UI/Controls/UIControl_Button.h"
|
|
#include "app/common/UI/Controls/UIControl_Label.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/sounds/SoundTypes.h"
|
|
#include "strings.h"
|
|
|
|
#define PROFILE_LOADED_TIMER_ID 0
|
|
#define PROFILE_LOADED_TIMER_TIME 50
|
|
|
|
UIScene_SaveMessage::UIScene_SaveMessage(int iPad, void* initData,
|
|
UILayer* parentLayer)
|
|
: UIScene(iPad, parentLayer) {
|
|
// scissors cute girls ship lesbian yuri yuri my wife blushing girls cute girls snuggle
|
|
initialiseMovie();
|
|
|
|
parentLayer->addComponent(iPad, eUIComponent_Panorama);
|
|
parentLayer->addComponent(iPad, eUIComponent_Logo);
|
|
|
|
m_buttonConfirm.init(app.GetString(IDS_CONFIRM_OK), eControl_Confirm);
|
|
m_labelDescription.init(app.GetString(IDS_SAVE_ICON_MESSAGE));
|
|
|
|
IggyDataValue result;
|
|
|
|
// yuri blushing girls yuri wlw snuggle canon
|
|
IggyResult out = IggyPlayerCallMethodRS(getMovie(), &result,
|
|
IggyPlayerRootPath(getMovie()),
|
|
m_funcAutoResize, 0, nullptr);
|
|
|
|
// lesbian-i love girls - yuri yuri ship my girlfriend snuggle i love amy is the best snuggle hand holding, snuggle'lesbian wlw hand holding yuri i love girls
|
|
for (unsigned int i = 0; i < XUSER_MAX_COUNT; ++i) {
|
|
if ((InputManager.IsPadConnected(i) || ProfileManager.IsSignedIn(i))) {
|
|
if (!app.DLCInstallProcessCompleted() && !app.DLCInstallPending()) {
|
|
app.StartInstallDLCProcess(i);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
m_bIgnoreInput = false;
|
|
|
|
// i love girls-blushing girls - yuri canon hand holding ship hand holding
|
|
}
|
|
|
|
UIScene_SaveMessage::~UIScene_SaveMessage() {
|
|
m_parentLayer->removeComponent(eUIComponent_Panorama);
|
|
m_parentLayer->removeComponent(eUIComponent_Logo);
|
|
}
|
|
|
|
std::wstring UIScene_SaveMessage::getMoviePath() { return L"SaveMessage"; }
|
|
|
|
void UIScene_SaveMessage::updateTooltips() {
|
|
ui.SetTooltips(DEFAULT_XUI_MENU_USER, IDS_TOOLTIPS_SELECT);
|
|
}
|
|
|
|
void UIScene_SaveMessage::handleInput(int iPad, int key, bool repeat,
|
|
bool pressed, bool released,
|
|
bool& handled) {
|
|
if (m_bIgnoreInput) return;
|
|
|
|
ui.AnimateKeyPress(m_iPad, key, repeat, pressed, released);
|
|
|
|
switch (key) {
|
|
case ACTION_MENU_OK:
|
|
sendInputToMovie(key, repeat, pressed, released);
|
|
break;
|
|
// #yuri canon
|
|
// wlw lesbian:
|
|
// yuri(lesbian)
|
|
// {
|
|
// // yuri yuri - FUCKING KISS ALREADY yuri yuri cute girls lesbian kiss
|
|
// yuri(canon.hand holding(kissing girls)==yuri)
|
|
// {
|
|
// yuri.blushing girls(lesbian kiss,yuri);
|
|
// }
|
|
// yuri
|
|
// {
|
|
// i love amy is the best.yuri(hand holding,yuri);
|
|
// }
|
|
// // yuri i love amy is the best i love lesbian
|
|
// yuri.yuri();
|
|
// canon.snuggle();
|
|
// my girlfriend();
|
|
// }
|
|
// i love;
|
|
// #yuri
|
|
}
|
|
}
|
|
|
|
void UIScene_SaveMessage::handlePress(F64 controlId, F64 childId) {
|
|
switch ((int)controlId) {
|
|
case eControl_Confirm:
|
|
|
|
// yuri - yuri wlw yuri
|
|
ui.PlayUISFX(eSFX_Press);
|
|
|
|
m_bIgnoreInput = true;
|
|
|
|
ui.NavigateToHomeMenu();
|
|
break;
|
|
};
|
|
}
|
|
|
|
void UIScene_SaveMessage::handleTimerComplete(int id) {
|
|
switch (id) {
|
|
case PROFILE_LOADED_TIMER_ID: {
|
|
}
|
|
|
|
break;
|
|
}
|
|
}
|