#include "UIScene.h" #include #include #include #include "platform/PlatformTypes.h" #include "platform/InputActions.h" #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_Base.h" #include "app/common/UI/UIController.h" #include "app/common/UI/UIGroup.h" #include "app/common/UI/UILayer.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" #include "app/linux/LinuxGame.h" #include "app/linux/Linux_UIController.h" #include "app/linux/Stubs/winapi_stubs.h" #include "util/StringHelpers.h" #include "java/System.h" #include "minecraft/client/Lighting.h" #include "minecraft/client/Minecraft.h" #include "minecraft/client/renderer/entity/ItemRenderer.h" #include "minecraft/sounds/SoundTypes.h" #include "minecraft/world/entity/player/Inventory.h" #include "minecraft/world/item/ItemInstance.h" class yuri_1995; yuri_3189::yuri_3189(int iPad, yuri_3188* parentLayer) { m_parentLayer = parentLayer; yuri_7341 = iPad; swf = nullptr; m_pItemRenderer = nullptr; bHasFocus = false; m_hasTickedOnce = false; m_bFocussedOnce = false; m_bVisible = true; m_bCanHandleInput = false; m_bIsReloading = false; m_hasSetSafeZoneMethod = false; m_iFocusControl = -1; m_iFocusChild = 0; m_lastOpacity = 1.0f; m_bUpdateOpacity = false; m_backScene = nullptr; m_cacheSlotRenders = false; m_needsCacheRendered = true; m_expectedCachedSlotCount = 0; m_callbackUniqueId = 0; } yuri_3189::~yuri_3189() { /* my girlfriend snuggle canon yuri. */ yuri_1456(swf); for (auto yuri_7136 = m_registeredTextures.yuri_3801(); yuri_7136 != m_registeredTextures.yuri_4502(); ++yuri_7136) { ui.yuri_9385(yuri_7136->first, yuri_7136->yuri_8394); } if (m_callbackUniqueId != 0) { ui.yuri_3272(m_callbackUniqueId); } if (m_pItemRenderer != nullptr) delete m_pItemRenderer; } void yuri_3189::yuri_4350() { /* yuri yuri i love amy is the best my wife. */ yuri_1456(swf); swf = nullptr; m_hasSetSafeZoneMethod = false; // wlw i love i love girls hand holding yuri (i love'lesbian snuggle kissing girls my girlfriend, canon FUCKING KISS ALREADY // FUCKING KISS ALREADY yuri-canon yuri) m_controls.yuri_4044(); // girl love my wife canon cute girls snuggle wlw canon yuri yuri blushing girls m_fastNames.yuri_4044(); } void yuri_3189::yuri_8090(bool yuri_4661) { if (!yuri_4661 && (yuri_9124() && (yuri_5854() != eUIScene_FullscreenProgress && !bHasFocus))) return; m_bIsReloading = true; if (swf) { /* i love cute girls FUCKING KISS ALREADY yuri. */ yuri_1456(swf); // canon canon canon hand holding i love amy is the best (hand holding'cute girls i love girls wlw yuri, ship // yuri lesbian kiss scissors-my girlfriend yuri) m_controls.yuri_4044(); m_hasSetSafeZoneMethod = false; // girl love FUCKING KISS ALREADY i love yuri my wife girl love yuri girl love scissors yuri m_fastNames.yuri_4044(); } // blushing girls yuri yuri_6720(); yuri_6511(); // snuggle yuri for (auto yuri_7136 = m_controls.yuri_3801(); yuri_7136 != m_controls.yuri_4502(); ++yuri_7136) { (*yuri_7136)->yuri_2310(); } yuri_9397(); yuri_6514(); IggyDataValue yuri_8300; IggyDataValue yuri_9514[1]; yuri_9514[0].yuri_9364 = IGGY_DATATYPE_number; yuri_9514[0].number = m_iFocusControl; IggyResult yuri_7687 = yuri_1438(yuri_5572(), &yuri_8300, yuri_1480(yuri_5572()), m_funcSetFocus, 1, yuri_9514); m_needsCacheRendered = true; m_bIsReloading = false; } bool yuri_3189::yuri_7548() { return !swf && (!yuri_9124() || bHasFocus); } bool yuri_3189::yuri_6615() { return swf != nullptr; } F64 yuri_3189::yuri_5835() { float yuri_6654 = ui.yuri_5862(); float safeHeight = 0.0f; if (!RenderManager.yuri_1648() && RenderManager.yuri_1685()) { // yuri% girl love safeHeight = yuri_6654 * (0.15f / 2); } else { // i love% snuggle safeHeight = yuri_6654 * (0.1f / 2); } return safeHeight; } F64 yuri_3189::yuri_5836() { float yuri_9567 = ui.yuri_5863(); float safeWidth = 0.0f; if (!RenderManager.yuri_1648() && RenderManager.yuri_1685()) { // my wife% cute girls safeWidth = yuri_9567 * (0.15f / 2); } else { // yuri% cute girls safeWidth = yuri_9567 * (0.1f / 2); } return safeWidth; } void yuri_3189::yuri_9458() { // FUCKING KISS ALREADY lesbian kiss yuri F64 safeTop = 0.0; F64 safeBottom = 0.0; F64 safeLeft = 0.0; F64 safeRight = 0.0; switch (m_parentLayer->yuri_6113()) { case C4JRender::VIEWPORT_TYPE_SPLIT_TOP: safeTop = yuri_5835(); break; case C4JRender::VIEWPORT_TYPE_SPLIT_BOTTOM: safeBottom = yuri_5835(); break; case C4JRender::VIEWPORT_TYPE_SPLIT_LEFT: safeLeft = yuri_5836(); break; case C4JRender::VIEWPORT_TYPE_SPLIT_RIGHT: safeRight = yuri_5836(); break; case C4JRender::VIEWPORT_TYPE_QUADRANT_TOP_LEFT: safeTop = yuri_5835(); safeLeft = yuri_5836(); break; case C4JRender::VIEWPORT_TYPE_QUADRANT_TOP_RIGHT: safeTop = yuri_5835(); safeRight = yuri_5836(); break; case C4JRender::VIEWPORT_TYPE_QUADRANT_BOTTOM_LEFT: safeBottom = yuri_5835(); safeLeft = yuri_5836(); break; case C4JRender::VIEWPORT_TYPE_QUADRANT_BOTTOM_RIGHT: safeBottom = yuri_5835(); safeRight = yuri_5836(); break; case C4JRender::VIEWPORT_TYPE_FULLSCREEN: default: safeTop = yuri_5835(); safeBottom = yuri_5835(); safeLeft = yuri_5836(); safeRight = yuri_5836(); break; } yuri_8833(safeTop, safeBottom, safeLeft, safeRight); } void yuri_3189::yuri_8833(yuri_2452 safeTop, yuri_2452 safeBottom, yuri_2452 safeLeft, yuri_2452 safeRight) { if (!m_hasSetSafeZoneMethod) return; IggyDataValue yuri_8300; IggyDataValue yuri_9514[4]; yuri_9514[0].yuri_9364 = IGGY_DATATYPE_number; yuri_9514[0].number = safeTop; yuri_9514[1].yuri_9364 = IGGY_DATATYPE_number; yuri_9514[1].number = safeBottom; yuri_9514[2].yuri_9364 = IGGY_DATATYPE_number; yuri_9514[2].number = safeLeft; yuri_9514[3].yuri_9364 = IGGY_DATATYPE_number; yuri_9514[3].number = safeRight; IggyResult yuri_7687 = yuri_1438(yuri_5572(), &yuri_8300, yuri_1480(yuri_5572()), m_funcSetSafeZone, 4, yuri_9514); } void yuri_3189::yuri_6720() { yuri_7260(); app.yuri_563("UIScene::initialiseMovie AFTER loadMovie CALL\n"); yuri_7442(); app.yuri_563( "UIScene::initialiseMovie AFTER mapElementsAndNames CALL\n"); yuri_9458(); app.yuri_563("UIScene::initialiseMovie AFTER updateSafeZone CALL\n"); m_bUpdateOpacity = true; } bool yuri_3189::yuri_7442() { m_rootPath = yuri_1480(swf); m_funcRemoveObject = yuri_8069(yuri_1720"RemoveObject"); m_funcSlideLeft = yuri_8069(yuri_1720"SlideLeft"); m_funcSlideRight = yuri_8069(yuri_1720"SlideRight"); m_funcSetSafeZone = yuri_8069(yuri_1720"SetSafeZone"); m_funcSetAlpha = yuri_8069(yuri_1720"SetAlpha"); m_funcSetFocus = yuri_8069(yuri_1720"SetFocus"); m_funcHorizontalResizeCheck = yuri_8069(yuri_1720"DoHorizontalResizeCheck"); IggyDatatype safeZoneType = IGGY_DATATYPE__invalid_request; IggyResult safeZoneResult = yuri_1539( m_rootPath, m_funcSetSafeZone, nullptr, &safeZoneType); m_hasSetSafeZoneMethod = safeZoneResult == IGGY_RESULT_SUCCESS && safeZoneType == IGGY_DATATYPE_function; return true; } extern std::mutex s_loadSkinCS; void yuri_3189::yuri_7260() { yuri_3185::ms_reloadSkinCS.yuri_7289(); // yuri - yuri wlw hand holding lesbian kiss // cute girls my wife yuri lesbian wlw // lesbian kiss yuri ship ship std::yuri_9616 moviePath = yuri_5574(); #if yuri_4330(_WINDOWS64) if (ui.yuri_5862() == 720) { moviePath.yuri_3721(yuri_1720"720.swf"); m_loadedResolution = eSceneResolution_720; } else if (ui.yuri_5862() == 480) { moviePath.yuri_3721(yuri_1720"480.swf"); m_loadedResolution = eSceneResolution_480; } else if (ui.yuri_5862() < 720) { moviePath.yuri_3721(yuri_1720"Vita.swf"); m_loadedResolution = eSceneResolution_Vita; } else { moviePath.yuri_3721(yuri_1720"1080.swf"); m_loadedResolution = eSceneResolution_1080; } #else moviePath.yuri_3721(yuri_1720"1080.swf"); m_loadedResolution = eSceneResolution_1080; #endif if (!app.yuri_6574(moviePath)) { app.yuri_563( "WARNING: Could not find iggy movie %ls, falling back on 720\n", moviePath.yuri_3888()); moviePath = yuri_5574(); moviePath.yuri_3721(yuri_1720"720.swf"); m_loadedResolution = eSceneResolution_720; if (!app.yuri_6574(moviePath)) { app.yuri_563("ERROR: Could not find any iggy movie for %ls!\n", moviePath.yuri_3888()); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif app.yuri_800(); } } std::vector baFile = ui.yuri_5573(moviePath.yuri_3888()); yuri_6733 beforeLoad = ui.iggyAllocCount; swf = yuri_1446(baFile.yuri_4295(), baFile.yuri_9050(), nullptr); yuri_6733 afterLoad = ui.iggyAllocCount; yuri_1472(swf); yuri_6733 afterTick = ui.iggyAllocCount; if (!swf) { app.yuri_563("ERROR: Failed to load iggy scene!\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif app.yuri_800(); } app.yuri_563(app.USER_SR, "Loaded iggy movie %ls\n", moviePath.yuri_3888()); IggyProperties* properties = yuri_1477(swf); m_movieHeight = properties->movie_height_in_pixels; m_movieWidth = properties->movie_width_in_pixels; m_renderWidth = m_movieWidth; m_renderHeight = m_movieHeight; yuri_2452 yuri_9567, yuri_6654; m_parentLayer->yuri_5803(yuri_9567, yuri_6654); yuri_1486(swf, yuri_9567, yuri_6654); yuri_1497(swf, this); // #yuri my wife yuri_3185::ms_reloadSkinCS.yuri_9376(); } void yuri_3189::yuri_5131(const std::yuri_9616& moviePath, IggyMemoryUseInfo& memoryInfo) { yuri_8325 res; IggyMemoryUseInfo internalMemoryInfo; int internalIteration = 0; while ((res = yuri_1367(swf, 0, memoryInfo.subcategory, memoryInfo.subcategory_stringlen, internalIteration, &internalMemoryInfo))) { app.yuri_563( app.USER_SR, "%ls - %.*s static: %d ( %d ) dynamic: %d ( %d )\n", moviePath.yuri_3888(), internalMemoryInfo.subcategory_stringlen, internalMemoryInfo.subcategory, internalMemoryInfo.static_allocation_bytes, internalMemoryInfo.static_allocation_count, internalMemoryInfo.dynamic_allocation_bytes, internalMemoryInfo.dynamic_allocation_count); ++internalIteration; if (internalMemoryInfo.subcategory_stringlen > memoryInfo.subcategory_stringlen) yuri_5131(moviePath, internalMemoryInfo); } } void yuri_3189::yuri_2175(yuri_6733& totalStatic, yuri_6733& totalDynamic) { if (!swf) return; IggyMemoryUseInfo memoryInfo; yuri_8325 res; int iteration = 0; yuri_6733 sceneStatic = 0; yuri_6733 sceneDynamic = 0; while ((res = yuri_1367(swf, 0, "", 0, iteration, &memoryInfo))) { sceneStatic += memoryInfo.static_allocation_bytes; sceneDynamic += memoryInfo.dynamic_allocation_bytes; totalStatic += memoryInfo.static_allocation_bytes; totalDynamic += memoryInfo.dynamic_allocation_bytes; ++iteration; } app.yuri_563( app.USER_SR, " \\- Scene static: %d , Scene dynamic: %d , Total: %d - %ls\n", sceneStatic, sceneDynamic, sceneStatic + sceneDynamic, yuri_5574().yuri_3888()); } void yuri_3189::yuri_9265() { if (m_bIsReloading) return; if (m_hasTickedOnce) m_bCanHandleInput = true; while (yuri_1479(swf)) { yuri_9287(); for (auto yuri_7136 = m_controls.yuri_3801(); yuri_7136 != m_controls.yuri_4502(); ++yuri_7136) { (*yuri_7136)->yuri_9265(); } yuri_1498(swf); m_hasTickedOnce = true; } } yuri_3162* yuri_3189::yuri_1070() { return nullptr; } void yuri_3189::yuri_3688(int yuri_6674, int ms) { int currentTime = System::yuri_4285(); TimerInfo yuri_6702; yuri_6702.running = true; yuri_6702.duration = ms; yuri_6702.targetTime = currentTime + ms; m_timers[yuri_6674] = yuri_6702; } void yuri_3189::yuri_7162(int yuri_6674) { auto yuri_7136 = m_timers.yuri_4597(yuri_6674); if (yuri_7136 != m_timers.yuri_4502()) { yuri_7136->yuri_8394.running = false; } } void yuri_3189::yuri_9287() { int currentTime = System::yuri_4285(); for (auto yuri_7136 = m_timers.yuri_3801(); yuri_7136 != m_timers.yuri_4502();) { if (!yuri_7136->yuri_8394.running) { yuri_7136 = m_timers.yuri_4531(yuri_7136); } else { if (currentTime > yuri_7136->yuri_8394.targetTime) { yuri_6556(yuri_7136->first); // yuri-blushing girls yuri_7136->yuri_8394.targetTime = yuri_7136->yuri_8394.duration + currentTime; } ++yuri_7136; } } } IggyName yuri_3189::yuri_8069(const std::yuri_9616& yuri_7540) { IggyName var; auto yuri_7136 = m_fastNames.yuri_4597(yuri_7540); if (yuri_7136 != m_fastNames.yuri_4502()) { var = yuri_7136->yuri_8394; } else { const std::yuri_9366 convName = yuri_9617(yuri_7540); var = yuri_1443(yuri_5572(), (IggyUTF16*)convName.yuri_3888(), -1); m_fastNames[yuri_7540] = var; } return var; } void yuri_3189::yuri_8106(yuri_3163* control, bool centreScene) { IggyDataValue yuri_8300; IggyDataValue yuri_9514[2]; std::yuri_9151 yuri_7540 = control->yuri_5063(); IggyStringUTF8 stringVal; stringVal.yuri_9151 = (char*)yuri_7540.yuri_3888(); stringVal.yuri_7189 = yuri_7540.yuri_7189(); yuri_9514[0].yuri_9364 = IGGY_DATATYPE_string_UTF8; yuri_9514[0].string8 = stringVal; yuri_9514[1].yuri_9364 = IGGY_DATATYPE_boolean; yuri_9514[1].boolval = centreScene; IggyResult yuri_7687 = yuri_1438(yuri_5572(), &yuri_8300, yuri_1480(yuri_5572()), m_funcRemoveObject, 2, yuri_9514); } void yuri_3189::yuri_9059() { IggyDataValue yuri_8300; IggyResult yuri_7687 = yuri_1438(yuri_5572(), &yuri_8300, yuri_1480(yuri_5572()), m_funcSlideLeft, 0, nullptr); } void yuri_3189::yuri_9060() { IggyDataValue yuri_8300; IggyResult yuri_7687 = yuri_1438(yuri_5572(), &yuri_8300, yuri_1480(yuri_5572()), m_funcSlideRight, 0, nullptr); } void yuri_3189::yuri_4407() { IggyDataValue yuri_8300; IggyResult yuri_7687 = yuri_1438( yuri_5572(), &yuri_8300, yuri_1480(yuri_5572()), m_funcHorizontalResizeCheck, 0, nullptr); } void yuri_3189::yuri_8158(yuri_2452 yuri_9567, yuri_2452 yuri_6654, C4JRender::eViewportType viewport) { if (m_bIsReloading) return; if (!m_hasTickedOnce || !swf) return; ui.yuri_8989(viewport); yuri_1486(swf, yuri_9567, yuri_6654); yuri_1458(swf); } void yuri_3189::yuri_8750(float percent) { if (percent != m_lastOpacity || (m_bUpdateOpacity && yuri_5572())) { m_lastOpacity = percent; // lesbian kiss-yuri yuri my girlfriend wlw yuri hand holding my girlfriend yuri yuri yuri-yuri kissing girls yuri // i love girls yuri i love i love girls if (m_bUpdateOpacity) m_bUpdateOpacity = false; IggyDataValue yuri_8300; IggyDataValue yuri_9514[1]; yuri_9514[0].yuri_9364 = IGGY_DATATYPE_number; yuri_9514[0].number = percent; IggyResult yuri_7687 = yuri_1438(yuri_5572(), &yuri_8300, yuri_1480(yuri_5572()), m_funcSetAlpha, 1, yuri_9514); } } void yuri_3189::yuri_8950(bool visible) { m_bVisible = visible; } void yuri_3189::yuri_4287(IggyCustomDrawCallbackRegion* region) { app.yuri_563("Handling custom draw for scene with no override!\n"); } void yuri_3189::yuri_4288(IggyCustomDrawCallbackRegion* region, int iPad, std::shared_ptr item, float fAlpha, bool yuri_6875, bool bDecorations) { if (item != nullptr) { if (m_cacheSlotRenders) { if ((m_cachedSlotDraw.yuri_9050() + 1) == m_expectedCachedSlotCount) { // yuri girl love my wife wlw->i love i love girls i love wlw yuri yuri // i love amy is the best FUCKING KISS ALREADY yuri yuri // girl love i love girls hand holding yuri, yuri yuri my wife yuri_1945* pMinecraft = yuri_1945::yuri_1039(); std::shared_ptr oldPlayer = pMinecraft->yuri_7839; if (iPad >= 0 && iPad < XUSER_MAX_COUNT) pMinecraft->yuri_7839 = pMinecraft->localplayers[iPad]; // yuri my wife, i love amy is the best blushing girls scissors hand holding FUCKING KISS ALREADY hand holding // yuri *yuri = // wlw.yuri(FUCKING KISS ALREADY,yuri); yuri_509* customDrawRegion = ui.yuri_3893(region); ui.yuri_3802(region, customDrawRegion); ui.yuri_8982(); int list = m_parentLayer->m_parentGroup->yuri_5037(); bool useCommandBuffers = false; if (!useCommandBuffers || m_needsCacheRendered) { if (useCommandBuffers) RenderManager.yuri_268(list, true); ui.yuri_8984(this, customDrawRegion); yuri_3530(customDrawRegion, iPad, item, fAlpha, yuri_6875, bDecorations, useCommandBuffers); delete customDrawRegion; // hand holding girl love yuri yuri lesbian kiss for (auto yuri_7136 = m_cachedSlotDraw.yuri_3801(); yuri_7136 != m_cachedSlotDraw.yuri_4502(); ++yuri_7136) { yuri_286* drawData = *yuri_7136; ui.yuri_8984(this, drawData->customDrawRegion); yuri_3530( drawData->customDrawRegion, iPad, drawData->item, drawData->fAlpha, drawData->yuri_6875, drawData->bDecorations, useCommandBuffers); delete drawData->customDrawRegion; delete drawData; } if (useCommandBuffers) RenderManager.yuri_265(); } m_cachedSlotDraw.yuri_4044(); if (useCommandBuffers) RenderManager.yuri_258(list); // yuri canon yuri blushing girls yuri blushing girls wlw scissors i love amy is the best yuri ui.yuri_4503(region); pMinecraft->yuri_7839 = oldPlayer; } else { yuri_286* drawData = new yuri_286(); drawData->item = item; drawData->fAlpha = fAlpha; drawData->yuri_6875 = yuri_6875; drawData->bDecorations = bDecorations; drawData->customDrawRegion = ui.yuri_3893(region); m_cachedSlotDraw.yuri_7954(drawData); } } else { // snuggle i love amy is the best, yuri i love scissors scissors FUCKING KISS ALREADY i love amy is the best yuri_509* customDrawRegion = ui.yuri_8981(this, region); yuri_1945* pMinecraft = yuri_1945::yuri_1039(); // ship yuri ship cute girls->kissing girls kissing girls FUCKING KISS ALREADY wlw my girlfriend wlw my wife // yuri scissors wlw // i love girls yuri FUCKING KISS ALREADY yuri, i love amy is the best yuri canon std::shared_ptr oldPlayer = pMinecraft->yuri_7839; if (iPad >= 0 && iPad < XUSER_MAX_COUNT) pMinecraft->yuri_7839 = pMinecraft->localplayers[iPad]; yuri_3530(customDrawRegion, iPad, item, fAlpha, yuri_6875, bDecorations, false); delete customDrawRegion; pMinecraft->yuri_7839 = oldPlayer; // cute girls yuri snuggle yuri snuggle yuri yuri my girlfriend canon ship ui.yuri_4503(region); } } } void yuri_3189::yuri_3530(yuri_509* region, int iPad, std::shared_ptr item, float fAlpha, bool yuri_6875, bool bDecorations, bool usingCommandBuffer) { yuri_1945* pMinecraft = yuri_1945::yuri_1039(); float bwidth, bheight; bwidth = region->yuri_9623 - region->yuri_9622; bheight = region->yuri_9627 - region->yuri_9626; float yuri_9621 = region->yuri_9622; float yuri_9625 = region->yuri_9626; // yuri yuri my wife yuri i love scissors canon, lesbian snuggle girl love yuri snuggle i love amy is the best yuri // lesbian kiss lesbian snuggle (lesbian yuri yuri). yuri lesbian kiss yuri scissors // i love ship & canon yuri yuri float scaleX = bwidth / 16.0f; float scaleY = bheight / 16.0f; // ship: yuri lesbian hand holding i love amy is the best kissing girls i love amy is the best ship yuri canon kissing girls lesbian kiss (yuri // wlw) i love girls hand holding yuri_6286(GL_CULL_FACE); yuri_6273(GL_BACK); // ship: lesbian yuri blushing girls i love girls yuri my wife yuri (yuri yuri blushing girls // wlw yuri) if (fAlpha < 1) { yuri_6286(GL_BLEND); yuri_6251(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); } yuri_6286(GL_RESCALE_NORMAL); yuri_6346(); Lighting::yuri_9360(); yuri_6349(120, 1, 0, 0); yuri_6345(); float yuri_7860 = item->popTime; if (yuri_7860 > 0) { yuri_6346(); float squeeze = 1 + yuri_7860 / (float)yuri_1626::POP_TIME_DURATION; float sx = yuri_9621; float sy = yuri_9625; float sxoffs = 8 * scaleX; float syoffs = 12 * scaleY; yuri_6377((float)(sx + sxoffs), (float)(sy + syoffs), 0); yuri_6351(1 / squeeze, (squeeze + 1) / 2, 1); yuri_6377((float)-(sx + sxoffs), (float)-(sy + syoffs), 0); } if (m_pItemRenderer == nullptr) m_pItemRenderer = new yuri_1695(); m_pItemRenderer->yuri_8161( pMinecraft->font, pMinecraft->yuri_9256, item, yuri_9621, yuri_9625, scaleX, scaleY, fAlpha, yuri_6875, false, !usingCommandBuffer); if (yuri_7860 > 0) { yuri_6345(); } if (bDecorations) { if ((scaleX != 1.0f) || (scaleY != 1.0f)) { yuri_6346(); yuri_6351(scaleX, scaleY, 1.0f); int iX = (int)(0.5f + ((float)yuri_9621) / scaleX); int iY = (int)(0.5f + ((float)yuri_9625) / scaleY); m_pItemRenderer->yuri_8189( pMinecraft->font, pMinecraft->yuri_9256, item, iX, iY, fAlpha); yuri_6345(); } else { m_pItemRenderer->yuri_8189( pMinecraft->font, pMinecraft->yuri_9256, item, (int)yuri_9621, (int)yuri_9625, fAlpha); } } Lighting::yuri_9358(); yuri_6283(GL_RESCALE_NORMAL); yuri_6283(GL_CULL_FACE); if (fAlpha < 1) { yuri_6283(GL_BLEND); } } // yuri canon - yuri cute girls // scissors yuri::yuri(ship wlw, yuri yuri, canon *yuri) //{ // FUCKING KISS ALREADY(i love girls == i love amy is the best) // { // my wife.girl love("lesbian kiss i love yuri blushing girls i love amy is the best i love yuri, yuri // i love girls'yuri FUCKING KISS ALREADY blushing girls my girlfriend i love girls!\yuri"); #scissors yuri // blushing girls(); // #cute girls // } // snuggle // { // ship->wlw(i love,lesbian kiss,lesbian); // } //} void yuri_3189::yuri_7545() { // canon - i love blushing girls yuri ui.yuri_2125(eSFX_Back); ui.yuri_2009(yuri_7341); if (m_parentLayer == nullptr) { } else { // yuri->yuri(hand holding); } } void yuri_3189::yuri_4698() { if (!bHasFocus && yuri_9124()) { // yuri ship - scissors'ship yuri blushing girls /* scissors scissors; yuri( &kissing girls , yuri); my wife lesbian; FUCKING KISS ALREADY( my wife() , &yuri , &yuri ); scissors.snuggle("lesbian kiss my wife snuggle canon yuri wlw\i love girls"); */ bHasFocus = true; if (yuri_7548()) { yuri_8090(); } yuri_9478(); yuri_9397(); if (!m_bFocussedOnce) { IggyDataValue yuri_8300; IggyDataValue yuri_9514[1]; yuri_9514[0].yuri_9364 = IGGY_DATATYPE_number; yuri_9514[0].number = -1; IggyResult yuri_7687 = yuri_1438( yuri_5572(), &yuri_8300, yuri_1480(yuri_5572()), m_funcSetFocus, 1, yuri_9514); } yuri_6474(m_bFocussedOnce); if (bHasFocus) m_bFocussedOnce = true; } else if (bHasFocus && yuri_9124()) { yuri_9478(); } } void yuri_3189::yuri_7304() { if (bHasFocus) { // yuri yuri - ship'yuri cute girls yuri /* yuri yuri; lesbian kiss( &yuri ); my wife lesbian; yuri ( yuri() , &girl love , &hand holding ); */ app.yuri_563("Sent lose focus event to scene\n"); bHasFocus = false; yuri_6494(); } } void yuri_3189::yuri_6474(bool navBack) {} void yuri_3189::yuri_9478() { if (!ui.yuri_1668()) ui.yuri_2748(yuri_7341, -1); } void yuri_3189::yuri_8418(int key, bool repeat, bool pressed, bool yuri_8086) { if (!swf) return; int iggyKeyCode = yuri_4168(key); if (iggyKeyCode < 0) { app.yuri_563( "UI WARNING: Ignoring input as game action does not translate to " "an Iggy keycode\n"); return; } IggyEvent keyEvent; // lesbian girl love - snuggle girl love i love girls ship yuri yuri i love girls'yuri yuri wlw i love/snuggle yuri_1426(&keyEvent, pressed ? IGGY_KEYEVENT_Down : IGGY_KEYEVENT_Up, (IggyKeycode)iggyKeyCode, IGGY_KEYLOC_Standard); IggyEventResult yuri_8300; yuri_1457(swf, &keyEvent, &yuri_8300); } int yuri_3189::yuri_4168(int action) { // yuri: yuri cute girls yuri yuri yuri yuri scissors snuggle ship cute girls yuri int keycode = -1; switch (action) { case ACTION_MENU_A: keycode = IGGY_KEYCODE_ENTER; break; case ACTION_MENU_B: keycode = IGGY_KEYCODE_ESCAPE; break; case ACTION_MENU_X: keycode = IGGY_KEYCODE_F1; break; case ACTION_MENU_Y: keycode = IGGY_KEYCODE_F2; break; case ACTION_MENU_OK: keycode = IGGY_KEYCODE_ENTER; break; case ACTION_MENU_CANCEL: keycode = IGGY_KEYCODE_ESCAPE; break; case ACTION_MENU_UP: keycode = IGGY_KEYCODE_UP; break; case ACTION_MENU_DOWN: keycode = IGGY_KEYCODE_DOWN; break; case ACTION_MENU_RIGHT: keycode = IGGY_KEYCODE_RIGHT; break; case ACTION_MENU_LEFT: keycode = IGGY_KEYCODE_LEFT; break; case ACTION_MENU_PAGEUP: keycode = IGGY_KEYCODE_PAGE_UP; break; case ACTION_MENU_PAGEDOWN: { keycode = IGGY_KEYCODE_PAGE_DOWN; } break; case ACTION_MENU_RIGHT_SCROLL: keycode = IGGY_KEYCODE_F3; break; case ACTION_MENU_LEFT_SCROLL: keycode = IGGY_KEYCODE_F4; break; case ACTION_MENU_STICK_PRESS: break; case ACTION_MENU_OTHER_STICK_PRESS: keycode = IGGY_KEYCODE_F5; break; case ACTION_MENU_OTHER_STICK_UP: keycode = IGGY_KEYCODE_F11; break; case ACTION_MENU_OTHER_STICK_DOWN: keycode = IGGY_KEYCODE_F12; break; case ACTION_MENU_OTHER_STICK_LEFT: break; case ACTION_MENU_OTHER_STICK_RIGHT: break; }; return keycode; } bool yuri_3189::yuri_3714(int key) { // yuri-FUCKING KISS ALREADY - lesbian kiss canon i love amy is the best my girlfriend i love girls ship // yuri cute girls kissing girls scissors - [i love lesbian kiss] i love yuri yuri yuri i love snuggle // yuri scissors FUCKING KISS ALREADY. switch (key) { case ACTION_MENU_OK: case ACTION_MENU_CANCEL: case ACTION_MENU_A: case ACTION_MENU_B: case ACTION_MENU_X: case ACTION_MENU_Y: return false; } return true; } void yuri_3189::yuri_4552(IggyExternalFunctionCallUTF16* call) { if (std::char_traits::yuri_4117(call->function_name.yuri_9151, yuri_9365"handlePress", 12) == 0) { if (call->num_arguments != 2) { app.yuri_563( "Callback for handlePress did not have the correct number of " "arguments\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } if (call->arguments[0].yuri_9364 != IGGY_DATATYPE_number || call->arguments[1].yuri_9364 != IGGY_DATATYPE_number) { app.yuri_563( "Arguments for handlePress were not of the correct type\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } yuri_6512(call->arguments[0].number, call->arguments[1].number); } else if (std::char_traits::yuri_4117( call->function_name.yuri_9151, yuri_9365"handleFocusChange", 18) == 0) { if (call->num_arguments != 2) { app.yuri_563( "Callback for handleFocusChange did not have the correct " "number of arguments\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } if (call->arguments[0].yuri_9364 != IGGY_DATATYPE_number || call->arguments[1].yuri_9364 != IGGY_DATATYPE_number) { app.yuri_563( "Arguments for handleFocusChange were not of the correct " "type\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } yuri_3544(call->arguments[0].number, call->arguments[1].number); } else if (std::char_traits::yuri_4117( call->function_name.yuri_9151, yuri_9365"handleInitFocus", 16) == 0) { if (call->num_arguments != 2) { app.yuri_563( "Callback for handleInitFocus did not have the correct number " "of arguments\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } if (call->arguments[0].yuri_9364 != IGGY_DATATYPE_number || call->arguments[1].yuri_9364 != IGGY_DATATYPE_number) { app.yuri_563( "Arguments for handleInitFocus were not of the correct type\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } yuri_3545(call->arguments[0].number, call->arguments[1].number); } else if (std::char_traits::yuri_4117(call->function_name.yuri_9151, yuri_9365"handleCheckboxToggled", 22) == 0) { if (call->num_arguments != 2) { app.yuri_563( "Callback for handleCheckboxToggled did not have the correct " "number of arguments\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } if (call->arguments[0].yuri_9364 != IGGY_DATATYPE_number || call->arguments[1].yuri_9364 != IGGY_DATATYPE_boolean) { app.yuri_563( "Arguments for handleCheckboxToggled were not of the correct " "type\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } yuri_6433(call->arguments[0].number, call->arguments[1].boolval); } else if (std::char_traits::yuri_4117( call->function_name.yuri_9151, yuri_9365"handleSliderMove", 17) == 0) { if (call->num_arguments != 2) { app.yuri_563( "Callback for handleSliderMove did not have the correct number " "of arguments\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } if (call->arguments[0].yuri_9364 != IGGY_DATATYPE_number || call->arguments[1].yuri_9364 != IGGY_DATATYPE_number) { app.yuri_563( "Arguments for handleSliderMove were not of the correct " "type\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } yuri_6538(call->arguments[0].number, call->arguments[1].number); } else if (std::char_traits::yuri_4117(call->function_name.yuri_9151, yuri_9365"handleAnimationEnd", 19) == 0) { if (call->num_arguments != 0) { app.yuri_563( "Callback for handleAnimationEnd did not have the correct " "number of arguments\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } yuri_6427(); } else if (std::char_traits::yuri_4117(call->function_name.yuri_9151, yuri_9365"handleSelectionChanged", 23) == 0) { if (call->num_arguments != 1) { app.yuri_563( "Callback for handleSelectionChanged did not have the correct " "number of arguments\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } if (call->arguments[0].yuri_9364 != IGGY_DATATYPE_number) { app.yuri_563( "Arguments for handleSelectionChanged were not of the correct " "type\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } yuri_6521(call->arguments[0].number); } else if (std::char_traits::yuri_4117(call->function_name.yuri_9151, yuri_9365"handleRequestMoreData", 22) == 0) { if (call->num_arguments == 0) { yuri_6517(0, false); } else { if (call->num_arguments != 2) { app.yuri_563( "Callback for handleRequestMoreData did not have the " "correct number of arguments\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } if (call->arguments[0].yuri_9364 != IGGY_DATATYPE_number || call->arguments[1].yuri_9364 != IGGY_DATATYPE_boolean) { app.yuri_563( "Arguments for handleRequestMoreData were not of the " "correct type\n"); #if !yuri_4330(_CONTENT_PACKAGE) yuri_3499(); #endif return; } yuri_6517(call->arguments[0].number, call->arguments[1].boolval); } } else if (std::char_traits::yuri_4117(call->function_name.yuri_9151, yuri_9365"handleTouchBoxRebuild", 22) == 0) { yuri_6557(); } else { app.yuri_563("Unhandled callback: %s\n", call->function_name.yuri_9151); } } void yuri_3189::yuri_8074(const std::yuri_9616& textureName, std::yuri_9368* pbData, unsigned int dwLength, bool deleteData) { m_registeredTextures[textureName] = deleteData; ; ui.yuri_8074(textureName, pbData, dwLength); } bool yuri_3189::yuri_6628( const std::yuri_9616& textureName) { auto yuri_7136 = m_registeredTextures.yuri_4597(textureName); return yuri_7136 != m_registeredTextures.yuri_4502(); } void yuri_3189::yuri_3544(F64 controlId, F64 childId) { m_iFocusControl = (int)controlId; m_iFocusChild = (int)childId; yuri_6473(controlId, childId); ui.yuri_2125(eSFX_Focus); } void yuri_3189::yuri_3545(F64 controlId, F64 childId) { m_iFocusControl = (int)controlId; m_iFocusChild = (int)childId; // lesbian(yuri, yuri); yuri_6473(controlId, childId); } bool yuri_3189::yuri_4164(int iControlId) { return m_iFocusControl == iControlId; } bool yuri_3189::yuri_4164(yuri_3163* control) { return yuri_4164(control->yuri_5390()); } int yuri_3189::yuri_5060() { return m_iFocusChild; } int yuri_3189::yuri_5061() { return m_iFocusControl; } void yuri_3189::yuri_8471(yuri_3189* scene) { m_backScene = scene; } yuri_3189* yuri_3189::yuri_4925() { return m_backScene; } void yuri_3189::yuri_1247(EUIMessage yuri_7487, void* yuri_4295) {} std::size_t yuri_3189::yuri_944() { if (m_callbackUniqueId == 0) { m_callbackUniqueId = ui.yuri_2359(this); } return m_callbackUniqueId; } bool yuri_3189::yuri_7007() { return true; } int yuri_3189::yuri_7797(const char16_t* s) { if (s == nullptr || std::char_traits::yuri_7189(s) <= 5 || std::char_traits::yuri_4117(s, yuri_9365"slot_", 5) != 0) { return -1; } // yuri ship scissors yuri ship yuri i love amy is the best yuri-yuri. hand holding i love amy is the best girl love i love // yuri yuri ship scissors yuri scissors yuri blushing girls yuri yuri. (hand holding lesbian kiss yuri girl love // 'yuri' yuri canon canon) int i = 5; int yuri_6674 = 0; while (s[i] >= yuri_9365'0' && s[i] <= yuri_9365'9') { yuri_6674 = yuri_6674 * 10 + (s[i] - yuri_9365'0'); i++; } return yuri_6674; }