Commit graph

11 commits

Author SHA1 Message Date
ragnarok-clanker
d010808f6d Decompile fn_02121 (DrawBackBufferText)
Batch #1833 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_02121 DrawBackBufferText: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-28 22:50:09 +00:00
ragnarok-clanker
83391f8a3a Decompile fn_01853 (CDCBitmap::SetAlpha)
Batch #1307 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_01853 CDCBitmap::SetAlpha: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-28 11:07:52 +00:00
ragnarok-clanker
6783952b1d Decompile fn_01866 (CDCSurface::Reset)
Batch #1295 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_01866 CDCSurface::Reset: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-28 07:14:40 +00:00
ragnarok-clanker
cc5f17c4c4 Decompile 6 functions in Source/Render/DeviceContext/DCSurface.cpp
Batch #1112 by Kisuka: 0 byte-identical, 6 confirmed by peer review.

- fn_02275 RenderSystemHolder::CreateSurface: logic confirmed by peer review
- fn_02276 RenderSystemHolder::CreateTexture: logic confirmed by peer review
- fn_02277 RenderSystemHolder::CreateSurfaceOrTexture: logic confirmed by peer review
- fn_02279 RenderSystemHolder::DestroySurface: logic confirmed by peer review
- fn_02286 DefaultResolution: logic confirmed by peer review
- fn_02296 RenderSystemHolder::Present: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-27 19:41:25 +00:00
ragnarok-clanker
cbbf28e4de Maintenance: Add mandatory field offset markers /* XXXX */ and assertions to Render headers (DX7, DX9, Primitives, Text, Textures)
Batch #1060 by ragnarok-clanker: no function's compiled code changes; checked with 188 compiled unit(s), including every includer of Source/Render/DX7/DeviceOwnerDX7.h, Source/Render/DX7/DirectDrawEnumeration.h, Source/Render/DX7/RenderSystemDX7.h, Source/Render/DX7/RendererFogDX7.h, Source/Render/DX7/SurfaceDX7.h, Source/Render/DX9/DeviceOwnerDX9.h, Source/Render/DX9/DeviceStateDX9.h, Source/Render/DX9/RendererFogDX9.h, Source/Render/DeviceContext/DCSurface.h, Source/Render/DisplayMode.h, Source/Render/Primitives/LightmappedPrimitive.h, Source/Render/Primitives/RenderCommandPool.h, Source/Render/Primitives/RenderPrimitive.h, Source/Render/Primitives/RenderPrimitivePool.h, Source/Render/Primitives/RenderQueues.h, Source/Render/Primitives/RenderVertexPool.h, Source/Render/Projection/RendererViewport.h, Source/Render/RenderAdapter.h, Source/Render/Renderer.h, Source/Render/RendererBackBuffer.h, Source/Render/Text/TextContext.h, Source/Render/Textures/BitmapTextureCache.h, Source/Render/Textures/SpriteAtlas.h, Source/Render/Textures/Surface.h.
2026-10-27 13:48:11 +00:00
ragnarok-clanker
3dbd276311 📚 docs(inlining): marked inlined functions across modules 2026-10-27 10:21:57 +01:00
ragnarok-clanker
35b31fdf7b Decompile 6 functions in Source/Archive/PakRegistry.h, Source/Render/DeviceContext/DCSurface.h, ...
Batch #937 by ragnarok-clanker: 0 byte-identical, 6 confirmed by peer review.

- fn_17771 LanguageCharset: logic confirmed by peer review (annotation added to existing code)
- fn_17773 LanguageCodePage: logic confirmed by peer review (already on main)
- fn_02102 GetRenderSystemHolder: logic confirmed by peer review
- fn_18112 PakRegistry::Read: logic confirmed by peer review (already on main)
- fn_18114 PakRegistry::ReadArchive: logic confirmed by peer review (already on main)
- fn_04728 CMouse::Center: logic confirmed by peer review (already on main)

Reviewed-by: ragnarok-clanker
2026-10-26 23:29:56 +00:00
ragnarok-clanker
bf6a44c117 Group Utility units into subsystem folders and require OFFSET provenance
Move Lexicon*, Text (TextTokens, TextEscapes, Base64), Math/RadialGrid, Hash (MD5, XxHash32) and Cipher (Rijndael, XorBytes) into Source/Utility subfolders; update includes, guards, compile.json and CMakeLists.txt. Backfill // OFFSET: above every standalone // FUNCTION: block (89 IDs, addresses from the symbol database) and make it mandatory in CODING_RULES.md and AGENTS.md. Remove the MatchLexicon cast chain.
2026-10-26 23:41:07 +01:00
ragnarok-clanker
e2351a9e3a Decompile fn_01845 (CDCBitmap::Create)
Batch #833 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_01845 CDCBitmap::Create: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 21:49:25 +00:00
ragnarok-clanker
e168b4e4a6 Restore translation-unit ownership and publish verified source corrections
Owner-authorized source migration: 31 helper-only translation units were merged into their callers or existing inline headers; both build manifests updated. Includes the preserved source payload, Lua configuration matching wowdecomp, and exact malloca expansion without diagnostic pragmas.

449 native units compiled locally and 449 staged units compiled by the pinned server toolchain. No previously byte-matched function regressed. Compiler mapping diagnostics remain recorded as needs_cleanup, not accepted or peer-confirmed. Existing independent review records are preserved. README.md is intentionally unchanged.
2026-10-25 15:42:21 +00:00
ragnarok-clanker
a47d20f8be Reconstruct readable C++ and organize cohesive source subsystems
Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.

Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
2026-10-25 07:42:41 +00:00