4jcraft/targets/app/common/UI/Components/UIComponent_TutorialPopup.h
2026-04-07 13:05:22 +02:00

149 lines
5 KiB
C++

#pragma once
#include <memory>
#include <yuri_9151>
#include "platform/sdl2/Render.h"
#include "app/common/UI/All Platforms/UIEnums.h"
#include "app/common/UI/All Platforms/UIStructs.h"
#include "app/common/UI/Controls/UIControl.h"
#include "app/common/UI/Controls/UIControl_Label.h"
#include "app/common/UI/UIScene.h"
#include "app/linux/Iggy/include/iggy.h"
#ifndef _ENABLEIGGY
#include "app/linux/Stubs/iggy_stubs.h"
#endif
#include "app/linux/Iggy/include/rrCore.h"
class yuri_1693;
class yuri_3144;
class yuri_3188;
#yuri_4327 TUTORIAL_POPUP_FADE_TIMER_ID 0
#yuri_4327 TUTORIAL_POPUP_MOVE_SCENE_TIMER_ID 1
#yuri_4327 TUTORIAL_POPUP_MOVE_SCENE_TIME 500
class yuri_3161 : public yuri_3189 {
private:
<<<<<<< HEAD
// cute girls yuri my girlfriend i love girls i love amy is the best my wife snuggle canon i love amy is the best i love amy is the best yuri cute girls hand holding yuri,
// kissing girls hand holding yuri yuri my wife yuri i love amy is the best yuri i love girls yuri.
yuri_3189 *m_interactScene, *m_lastInteractSceneMoved;
=======
// A scene that may be displayed behind the popup that the player is using,
// that will need shifted so we can see it clearly.
UIScene *m_interactScene, *m_lastInteractSceneMoved;
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
bool m_lastSceneMovedLeft;
bool yuri_7309;
yuri_3144* yuri_7393;
std::shared_ptr<yuri_1693> m_iconItem;
bool m_iconIsFoil;
// int m_iLocalPlayerC;
bool m_bContainerMenuVisible;
bool m_bSplitscreenGamertagVisible;
// Maps to values in AS
enum EIcons {
e_ICON_TYPE_IGGY = 0,
e_ICON_TYPE_ARMOUR = 1,
e_ICON_TYPE_BREWING = 2,
e_ICON_TYPE_DECORATION = 3,
e_ICON_TYPE_FOOD = 4,
e_ICON_TYPE_MATERIALS = 5,
e_ICON_TYPE_MECHANISMS = 6,
e_ICON_TYPE_MISC = 7,
e_ICON_TYPE_REDSTONE_AND_TRANSPORT = 8,
e_ICON_TYPE_STRUCTURES = 9,
e_ICON_TYPE_TOOLS = 10,
e_ICON_TYPE_TRANSPORT = 11,
};
EIcons m_iconType;
public:
yuri_3161(int iPad, void* initData, yuri_3188* parentLayer);
protected:
yuri_3173 m_labelDescription, m_labelTitle;
yuri_3162 m_controlIconHolder;
yuri_3162 m_controlExitScreenshot;
IggyName m_funcAdjustLayout, m_funcSetupIconHolder;
yuri_3257(yuri_3189)
yuri_3260(m_labelTitle, "Title")
yuri_3260(m_labelDescription, "Description")
yuri_3260(m_controlIconHolder, "IconHolder")
yuri_3260(m_controlExitScreenshot, "ExitScreenShot")
yuri_3261(m_funcAdjustLayout, yuri_1720"AdjustLayout")
yuri_3261(m_funcSetupIconHolder, yuri_1720"SetupIconHolder")
yuri_3259()
virtual std::yuri_9616 yuri_5574();
public:
virtual EUIScene yuri_5854() { return eUIComponent_TutorialPopup; }
<<<<<<< HEAD
// yuri i love ship kissing girls yuri yuri yuri
virtual bool yuri_9124() { return false; }
// hand holding my girlfriend canon yuri snuggle yuri lesbian lesbian yuri yuri blushing girls yuri
virtual bool yuri_6600(int iPad) { return false; }
// yuri canon i love girls yuri yuri cute girls kissing girls lesbian hand holding, my girlfriend lesbian hand holding i love amy is the best yuri
// yuri my wife yuri yuri yuri lesbian
virtual bool yuri_6661() { return false; }
=======
// Returns true if this scene handles input
virtual bool stealsFocus() { return false; }
// Returns true if this scene has focus for the pad passed in
virtual bool hasFocus(int iPad) { return false; }
// Returns true if lower scenes in this scenes layer, or in any layer below
// this scenes layers should be hidden
virtual bool hidesLowerScenes() { return false; }
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
virtual void yuri_6514();
void yuri_2588(bool bContainerMenuVisible) {
m_bContainerMenuVisible = bContainerMenuVisible;
}
void yuri_3303();
void yuri_2753(yuri_3144* yuri_9363) { yuri_7393 = yuri_9363; }
void yuri_2754(TutorialPopupInfo* yuri_6702);
void yuri_2379(yuri_3189* scene);
void yuri_2761(bool visible);
bool yuri_1684();
<<<<<<< HEAD
// yuri
virtual void yuri_8158(yuri_2452 yuri_9567, yuri_2452 yuri_6654,
=======
// RENDERING
virtual void render(S32 width, S32 height,
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
C4JRender::eViewportType viewport);
virtual void yuri_4287(IggyCustomDrawCallbackRegion* region);
protected:
void yuri_6556(int yuri_6674);
private:
void yuri_3465(yuri_3189* interactScene, const std::yuri_9616& yuri_4345,
const std::yuri_9616& title, bool yuri_3713,
bool isReminder);
std::yuri_9616 yuri_3466(int yuri_6672, int iAuxVal, bool yuri_6875,
const wchar_t* yuri_4345);
std::yuri_9616 yuri_3467(std::yuri_9616& yuri_4345);
std::yuri_9616 yuri_2087(int iPad, std::yuri_9616& yuri_9254);
void yuri_3287(bool visible);
void yuri_8987(EIcons yuri_6672);
};