From d35f1ed4bab23c6a6bdba3cc8fee5a2592c2a8ce Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 06:29:03 +0000 Subject: [PATCH] Decompile fn_19045 (CEZ2STRScreenEffect::Slot04) Batch #14240 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_19045 CEZ2STRScreenEffect::Slot04: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Effects/EZ2STREffect.cpp | 5 +---- Source/Render/ScreenRectangle.h | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Source/Contents/Effects/EZ2STREffect.cpp b/Source/Contents/Effects/EZ2STREffect.cpp index bd3555344..17e7dcbbd 100644 --- a/Source/Contents/Effects/EZ2STREffect.cpp +++ b/Source/Contents/Effects/EZ2STREffect.cpp @@ -5279,10 +5279,7 @@ void CEZ2STRScreenEffect::Slot04() { this->overlayColor = 0xAA000000u; } - DrawBlendedRectangle( - g_renderer->primitives, g_renderer->queues, 0, 0, g_renderer->viewport.width, g_renderer->viewport.height, this->overlayColor, - g_renderer->fog.supported != 0, g_depthStart, g_depthEnd - ); + DrawBlendedRectangle(0, 0, g_renderer->viewport.width, g_renderer->viewport.height, this->overlayColor); draw: particle->DrawScreen(static_cast(g_modeMgr.GetGameMode())->camera->frame.view); diff --git a/Source/Render/ScreenRectangle.h b/Source/Render/ScreenRectangle.h index 2798f6719..02247ba8a 100644 --- a/Source/Render/ScreenRectangle.h +++ b/Source/Render/ScreenRectangle.h @@ -8,10 +8,7 @@ class RenderPrimitivePool; class TextureCache; struct RenderQueues; -void DrawBlendedRectangle( - RenderPrimitivePool& primitives, RenderQueues& queues, int x, int y, int width, int height, std::uint32_t color, bool depthAlpha, - float depthStart, float depthEnd -); +void DrawBlendedRectangle(int x, int y, int width, int height, std::uint32_t color); void DrawTexturedRectangle(int x, int y, int width, int height, std::uint32_t color, CTexture* texture); void DrawTextureRegion( RenderPrimitivePool& primitives, RenderQueues& queues, float x, float y, float width, float height, std::uint32_t color,