Decompile fn_01842 (CDCBitmap::ApplyPixelFilter)

Batch #10783 by kyoshi: 0 byte-identical, 1 confirmed by peer review.

- fn_01842 CDCBitmap::ApplyPixelFilter: logic confirmed by peer review

Peer-reviewed-by: Tanke, cremane, StrawberrysherbetIX
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-04 17:20:51 +00:00
commit 457f9670ac
4 changed files with 138 additions and 61 deletions

View file

@ -99,13 +99,6 @@ void CDCBitmap::DrawRleSprite(
this->m_bitmap.DrawRleSprite(x, y, cells, images, palette, cellCount);
}
// OFFSET: 0x005460B0
void CDCBitmap::DrawSurface(
int x, int y, CSurface* source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, bool mirrored, int scaleX, int scaleY, int filter, int format
) {
this->m_bitmap.DrawSurface(x, y, source, sourceX, sourceY, sourceWidth, sourceHeight, mirrored, scaleX, scaleY, filter, format);
}
// OFFSET: 0x00547460
void CDCBitmap::Fill(const RECT* rectangle, std::uint32_t color) {
this->m_bitmap.Fill(rectangle, color);